task_status
Check or update the status of an asynchronous task. Transitions tasks from pending to running, then to completed or failed, triggering a webhook event when finished.
Instructions
Get the current status of an async task, or update its status. Supports status transitions: pending->running, running->completed/failed. When a task reaches a terminal state, its configured webhook event is fired.
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": "task_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Task result data (set when completing or failing a task) | |
| task_id | Yes | The ID of the task to check | |
| update_status | No | Optionally update the task status |