Wait for a delivery
wait_for_deliveryPoll an agent delivery until it finishes, needs a person for a question/approval/browser takeover, or times out; use after sending a task with waiting disabled or to resume a wait.
Instructions
Poll a delivery until the agent finishes, needs a person (question/approval/browser takeover — returned so you can answer), or the timeout passes. Use after send_message/run_routine with wait=false, or to resume a wait.
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": {
"agent": "<agent>",
"deliveryId": "<deliveryId>"
},
"name": "wait_for_delivery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent ID or agent name (case-insensitive), as list_agents shows it. | |
| deliveryId | Yes | ||
| timeoutSeconds | No | How long to wait. Timing out stops only the wait; the agent keeps working. |