agents_wait
Wait for an agent task to finish within a specified time limit. Poll until the task reaches a terminal state or timeout expires.
Instructions
Wait for an agent task to reach a terminal state, bounded by wait_seconds.
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": "agents_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| wait_seconds | No |