Wait for task
task_waitWait for a task to reach a terminal status (completed, failed, etc.) or a specified timeout. Returns the final task details.
Instructions
Poll a task until it reaches a terminal or actionable status (PROPOSED, COMPLETED, FAILED, …) or the timeout. Returns the final task detail.
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": "task_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | the task id | |
| timeoutMs | No |