run_task
Starts the automatic inner loop for a Gemini task with command checks and retries, waits up to wait_seconds, then returns a compact report or running status for later polling.
Instructions
Start the automatic inner loop (Gemini works → command checks → retry) and wait up to wait_seconds. Returns the compact report, or 'running' (then call wait_task).
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": {
"task_id": "<task_id>"
},
"name": "run_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| wait_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |