UNPKG

agents

Version:

A home for your AI agents

22 lines (20 loc) • 619 B
import { CallToolRequest, CallToolRequestOptions, Client } from "@modelcontextprotocol/client"; //#region src/mcp/client/invoker.d.ts /** * A v1 result schema such as `CallToolResultSchema` or * `CompatibilityCallToolResultSchema` from `@modelcontextprotocol/sdk`. * * Typed structurally so the MCP client (reachable from the root `agents` * entry) does not depend on `@modelcontextprotocol/sdk`, which is an optional * peer. */ type LegacyCallToolResultSchema = { parse(data: unknown): unknown; }; //#endregion export { LegacyCallToolResultSchema as t }; //# sourceMappingURL=invoker-DoLFPJZV.d.ts.map