web_search
Search the web with a query to receive ranked results and a synthesized answer when your provider supports it. Uses your configured search provider and guides you if none is set up.
Instructions
Search the web for a query and return ranked results (and a synthesized answer when the provider offers one). Uses your configured web_search provider (gemini CLI on your Google plan — no API key — or Gemini/Brave/Tavily with your own key). If none is set up, it tells you how to enable one.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "web_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | max results to return (default 5) | |
| model | No | override the provider default model (gemini routes only) | |
| query | Yes | the search query | |
| provider | No | force a specific provider instead of auto-resolving |