docs_search
Search official Gemini API documentation by language, scope, and API, then read matching chunks in full using their chunk IDs.
Instructions
Search the official Gemini API docs (guides, API reference, SDK sources).
language: python, javascript, go, java or dotnet (python saves tokens). scope: guide, sdk, api-reference, type-reference, migration or deprecated. api: interactions (new) or generate-content (classic). limit: 1-50. Read a hit in full with docs_read(chunk_id).
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": "docs_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | No | ||
| limit | No | ||
| query | Yes | ||
| scope | No | ||
| language | No |