import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { WebSearchAction, WebSearchAction$Outbound } from "./websearchaction.js"; /** * Web search call item: A web-search tool-call record containing the executed action and status. */ export type WebSearchToolCallWithId = { type: "web_search_call"; /** * The unique ID of the message. */ id: string; action: WebSearchAction; status: 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 WebSearchToolCallWithId$inboundSchema: z.ZodType; /** @internal */ export type WebSearchToolCallWithId$Outbound = { type: "web_search_call"; id: string; action: WebSearchAction$Outbound; status: string; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const WebSearchToolCallWithId$outboundSchema: z.ZodType; export declare function webSearchToolCallWithIdToJSON(webSearchToolCallWithId: WebSearchToolCallWithId): string; export declare function webSearchToolCallWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=websearchtoolcallwithid.d.ts.map