gemini_code_search
Scan multiple repository files at once to answer architectural or code questions across them.
Instructions
Use a large-context model to scan multiple repository files at once and answer architectural or code questions about them. Runs synchronously and returns the answer.
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>",
"context_files": "<context_files>"
},
"name": "gemini_code_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional live model label or ID for this search; defaults to Flash. | |
| query | Yes | Query or pattern to search for and explain across the provided files. | |
| context_files | Yes | Absolute paths of the files to scan. |