import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * Usage for server-side tool execution (e.g., web search) */ export type ServerToolUseDetails = { /** * Number of OpenRouter server tool calls that executed and produced a result. */ toolCallsExecuted?: number | null | undefined; /** * Total number of OpenRouter server-orchestrated tool calls the model requested, across all tool types. Provider-native tools (e.g. native web search) are not counted here. */ toolCallsRequested?: number | null | undefined; /** * Number of web searches performed by server-side tools. For server-orchestrated tool calls a web search is also counted in tool_calls_requested; provider-native web search may report web_search_requests only. Do not sum the two. */ webSearchRequests?: number | null | undefined; }; /** @internal */ export declare const ServerToolUseDetails$inboundSchema: z.ZodType; export declare function serverToolUseDetailsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=servertoolusedetails.d.ts.map