import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Custom tool call item: A call record for a custom tool with input payload and tool name. */ export type CustomToolCallWithId = { type: "custom_tool_call"; callId: string; input: string; name: string; /** * The unique ID of the message. */ id: string; /** * 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 CustomToolCallWithId$inboundSchema: z.ZodType; /** @internal */ export type CustomToolCallWithId$Outbound = { type: "custom_tool_call"; call_id: string; input: string; name: string; id: string; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const CustomToolCallWithId$outboundSchema: z.ZodType; export declare function customToolCallWithIdToJSON(customToolCallWithId: CustomToolCallWithId): string; export declare function customToolCallWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customtoolcallwithid.d.ts.map