wait_for_task
Poll a task for updates up to 30 seconds, continuing automatically when required, and retrieve the final acceptance evidence.
Instructions
Long-poll a task for up to 30 seconds. If continuation_required=true, call wait_for_task again immediately and do not finish the assistant turn. Terminal responses include get_task_summary acceptance evidence.
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": "wait_for_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task ID from create_task | |
| wait_seconds | No | ||
| timeout_seconds | No | Preferred alias for wait_seconds. Maximum 30 seconds to stay within connector request limits. |