Skip to content

Interface: WebSearchProviderSpec

How a provider’s native web-search call is shaped.

api: "responses" | "chat"

Which serving REST surface to call. "responses" posts to /serving-endpoints/responses (OpenAI Responses API); "chat" posts to /serving-endpoints/chat/completions.


tool: Record<string, unknown>

The tool entry appended to the request’s tools array.