Example Usage
import { BatchObjectServerToolUse } from "@openrouter/sdk/models";
let value: BatchObjectServerToolUse = {};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
toolCallsExecuted | number | :heavy_minus_sign: | Number of OpenRouter server tool calls that executed and produced a result. |
toolCallsRequested | number | :heavy_minus_sign: | 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. |
webSearchRequests | number | :heavy_minus_sign: | 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. |