gemini_search
Searches the web with Google grounding and returns a synthesized answer with source citations, so you can verify current facts, releases, and documentation.
Instructions
Search the web using Gemini with Google Search grounding. USE THIS TOOL WHEN: (1) You need current, up-to-date information that may be beyond your training data. (2) You need to look up latest versions, release notes, or changelogs. (3) You need to research a topic with real-time web results. (4) You need to verify facts or find documentation URLs. Gemini will automatically search Google and synthesize results into a comprehensive answer with source citations. This is more powerful than a raw search engine — it reads, understands, and summarizes the search results.
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": "gemini_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Override the default Gemini model. If omitted, uses the server default. | |
| query | Yes | The search query or question. Be specific for better results. Examples: "Next.js 15 breaking changes", "CVE-2024-XXXX details and mitigation". | |
| context | No | Optional background context to help Gemini refine the search. For example: "I am migrating a Node.js 18 project to Node.js 22" helps Gemini focus on relevant migration-specific results. |