import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { MCPTool, MCPTool$Outbound } from "./mcptool.js"; /** * MCP list tools item: Result of discovering available tools from an MCP server. */ export type MCPListToolsWithId = { type: "mcp_list_tools"; /** * The unique ID of the message. */ id: string; serverLabel: string; tools: Array; error?: string | undefined; /** * The ID of the response that created this item, if any. */ responseId?: string | null | undefined; /** * Metadata from the response that created this item, if any. */ metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const MCPListToolsWithId$inboundSchema: z.ZodType; /** @internal */ export type MCPListToolsWithId$Outbound = { type: "mcp_list_tools"; id: string; server_label: string; tools: Array; error?: string | undefined; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const MCPListToolsWithId$outboundSchema: z.ZodType; export declare function mcpListToolsWithIdToJSON(mcpListToolsWithId: MCPListToolsWithId): string; export declare function mcpListToolsWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=mcplisttoolswithid.d.ts.map