dispatch_gemini_cli
Dispatch prompts asynchronously to the local Gemini CLI, bypassing Windows cmd.exe quoting issues and automatically injecting the API key and system proxy.
Instructions
Dispatch a task asynchronously to local official Gemini CLI (directly invokes bundle/gemini.js without shell when available to avoid Windows cmd.exe quoting issues, auto-injects GEMINI_API_KEY and system proxy).
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": {
"prompt": "<prompt>"
},
"name": "dispatch_gemini_cli"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional Gemini model override (e.g. gemini-3.5-flash-lite) | |
| prompt | Yes | Prompt for Gemini CLI | |
| workspaceDir | No | /root |