Grounded web search (Gemini + Google Search)
web_searchFind grounded answers to any query with cited sources. Use normal mode for a quick single-pass search or research mode for deeper multi-step investigation, controlling output length via verbosity.
Instructions
Grounded search with citations. mode='normal' for a single pass; mode='research' for a multi-step, deeper approach. Use verbosity to control output length.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | User query | |
| mode | No | Search mode: 'normal' (fast) or 'research' (deeper multi-step) | normal |
| model | No | Model to use. Options: gemini-3-flash-preview (default), gemini-3-pro-preview, gemini-2.5-flash, gemini-2.5-pro | gemini-3-flash-preview |
| timeout | No | Request timeout in milliseconds | |
| max_steps | No | Only used in research mode: number of sub-queries to run (1-6) | |
| verbosity | No | Output length: 'concise' (~4096 tokens), 'normal' (~16384 tokens), 'detailed' (~65535 tokens) | normal |
| max_tokens | No | Override verbosity with exact token limit | |
| include_sources | No | Include source citations and metadata in response | |
| research_concurrency | No | In research mode: run sub-queries in parallel or sequentially | parallel |