get_task_status
Retrieve live status and output for async tasks, compact long logs locally while preserving key error lines, and append git status when a task finishes.
Instructions
Get live status and output of any async task (agy / shell / gemini_cli / build). Automatically compacts very long logs locally (0 API cost, preserves head + error lines + tail) unless raw=true, and appends concise git status when finished.
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": {
"taskId": "<taskId>"
},
"name": "get_task_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | If true, return uncompacted stdout/stderr tail | |
| taskId | Yes | Task ID returned by dispatch_* or run_shell(asyncMode=true) |