Gemini Research
gemini-researchRun a Gemini research query with quick, standard, or deep investigation modes and choose blocking answers or async job polling for long-running investigations.
Instructions
Run a research-oriented Gemini query. Supports quick, standard, and deep investigation modes. By default (wait: true), blocks and returns the full answer inline; with wait: false, returns a jobId for polling.
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-research"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Required when the prompt contains 2 or more @file references. A single @file ref is resolved by the CLI without cwd. If cwd is omitted with 2+ @file refs and the client supports elicitation, you will be prompted to provide it. | |
| wait | No | If true (default), block until done and return the response directly. | |
| depth | No | Research depth preset (default: standard) | |
| model | No | Gemini model to use (e.g. gemini-3-flash-preview, gemini-3-pro-preview). Defaults to CLI default. | |
| query | Yes | research question or investigation topic | |
| expandRefs | No | Set to false to disable @file reference expansion. Useful when prompts contain framework @ syntax (e.g. Vue @click). | |
| waitTimeoutMs | No | Timeout for wait mode in ms. Defaults to 90000 for quick/standard depth, 180000 for deep. Falls back to async on timeout. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | ||
| response | No | ||
| timedOut | No | ||
| pollIntervalMs | Yes | ||
| partialResponse | No |