import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const OutputCustomToolCallItemStatus: { readonly InProgress: "in_progress"; readonly Completed: "completed"; readonly Incomplete: "incomplete"; }; export type OutputCustomToolCallItemStatus = OpenEnum; /** * A call to a custom (freeform-grammar) tool created by the model — distinct from `function_call`. Used for tools like Codex CLI's `apply_patch` whose payload is opaque text rather than JSON arguments. */ export type OutputCustomToolCallItem = { /** * True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`. */ async?: boolean | undefined; callId: string; id?: string | undefined; input: string; name: string; /** * Namespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server) */ namespace?: string | undefined; status?: OutputCustomToolCallItemStatus | undefined; type: "custom_tool_call"; }; /** @internal */ export declare const OutputCustomToolCallItemStatus$inboundSchema: z.ZodType; /** @internal */ export declare const OutputCustomToolCallItem$inboundSchema: z.ZodType; export declare function outputCustomToolCallItemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=outputcustomtoolcallitem.d.ts.map