search
Synthesize comprehensive answers from web searches, including source URLs for verification—ideal for current events, documentation, and technical comparisons.
Instructions
Google Search grounded research. Gemini searches the web using google_web_search and synthesizes a comprehensive answer with source URLs and citations.
Use for: current events, documentation lookups, API references, comparing technologies, verifying facts, finding recent releases or changelogs.
The query can be a natural language question or a search-style keyword string. Gemini may issue multiple searches to build a complete answer. Results include source URLs for verification.
Output is a synthesized summary (500-1500 words by default), not raw search results. Use maxResponseLength to adjust.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Gemini model override. Omit to let CLI auto-route. | |
| query | Yes | Search query or research question. Natural language works best (e.g. 'What changed in Node.js 22?' or 'MCP protocol specification transport options'). | |
| timeout | No | Timeout in ms (default: 120000, max: 1800000). Complex multi-search queries may need more time. | |
| workingDirectory | No | Working directory for the CLI process. | |
| maxResponseLength | No | Soft limit on synthesis length in words. Default aims for 500-1500 words. |