Web Search Tool
The built-in web search, executed on the API's side.
The model decides when to search, the server runs the query and continues generating — up to ten rounds — and each search surfaces as a WebSearchCallItem in the output. search_context_size and user_location are accepted by the API but ignored.
val params = responseParams { tools = listOf(WebSearchTool.webSearch) }Content copied to clipboard