import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * MCP call item: A direct call record for an MCP tool, including request arguments and optional output/error. */ export type MCPToolCall = { type: "mcp_call"; id: string; approvalRequestId?: string | null | undefined; arguments: string; name: string; serverLabel: string; error?: string | undefined; output?: string | undefined; }; /** @internal */ export declare const MCPToolCall$inboundSchema: z.ZodType; /** @internal */ export type MCPToolCall$Outbound = { type: "mcp_call"; id: string; approval_request_id?: string | null | undefined; arguments: string; name: string; server_label: string; error?: string | undefined; output?: string | undefined; }; /** @internal */ export declare const MCPToolCall$outboundSchema: z.ZodType; export declare function mcpToolCallToJSON(mcpToolCall: MCPToolCall): string; export declare function mcpToolCallFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=mcptoolcall.d.ts.map