web_search
Search the web using Google AI Mode to get a synthesized answer with sources in real time.
Instructions
Search the web using Google AI Mode and get a synthesized answer with sources.
Uses Google Search's AI Mode (powered by Gemini) to search the web in real-time and return a comprehensive, grounded answer. Results include information from current web pages, news, and data.
This is equivalent to using Google Search's "AI Mode" tab — the AI reads multiple web sources and synthesizes an answer, similar to Perplexity or Grok's web search, but powered by Google's search index.
Args: query: Search query or question. Can be anything you'd type into Google. Examples: "latest news about AI regulation", "Bitcoin price today", "how does mRNA vaccine work", "Python asyncio best practices 2026"
Returns: A synthesized answer based on real-time web search results. The answer is grounded in actual web content found by Google.
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 |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |