gemini_code_search
Scans multiple repository files at once with a large-context model to answer architectural or code questions and returns the answer synchronously.
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 |
|---|---|---|---|
| query | Yes | Query or pattern to search for and explain across the provided files. | |
| context_files | Yes | Absolute paths of the files to scan. | |
| workspace_path | No | Exact IDE workspace directory; inferred only when unambiguous. |