import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Status } from "./status.js"; /** * Function call item: A call to a function tool, including function name and JSON-string arguments. */ export type FunctionToolCallWithId = { type: "function_call"; arguments: string; callId: string; name: string; /** * The unique ID of the message. */ id: string; /** * The processing status of an individual item. 'in_progress' means currently processing, 'completed' means finished successfully, 'incomplete' means processing stopped before completion. */ status?: Status | 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 FunctionToolCallWithId$inboundSchema: z.ZodType; /** @internal */ export type FunctionToolCallWithId$Outbound = { type: "function_call"; arguments: string; call_id: string; name: string; id: string; status?: string | undefined; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const FunctionToolCallWithId$outboundSchema: z.ZodType; export declare function functionToolCallWithIdToJSON(functionToolCallWithId: FunctionToolCallWithId): string; export declare function functionToolCallWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=functiontoolcallwithid.d.ts.map