Get Task Status
tasks_getTool equivalent of the native MCP tasks/get, listed for clients without the Tasks capability. Returns the Task status document for a task_id (holding up to wait_ms while the task is working). next_action is sleep_and_poll (wait sleep_ms, then one tasks_get), consume_result (one tasks_result call), or stop_error. status=cancelled means the user stopped it. While queued, _meta carries queue_position, queue_depth, queue_lane, and estimated_start_ms, which is advisory and not a wait time. Polling never starts work.
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": "tasks_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | task_id from the submitting tool's result (same value as job_id). | |
| wait_ms | No | Optional milliseconds to hold on the server while the task is working so completed tasks return consume_result without an extra poll round-trip. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| _meta | No | ||
| phase | No | ||
| status | No | ||
| taskId | No | ||
| progress | No | ||
| sleep_ms | No | ||
| terminal | No | ||
| createdAt | No | ||
| poll_loop | No | ||
| next_action | No | ||
| do_this_next | No | ||
| next_poll_at | No | ||
| pollInterval | No | ||
| lastUpdatedAt | No | ||
| source_status | No | ||
| statusMessage | No | ||
| recommended_poll_delay_ms | No |