wait_for_agents
Wait for delegated child agents to complete or require approval, returning when any or all settle or the timeout expires without stopping them; use since to track only newly settled agents.
Instructions
Event-driven join; returns on any/all completion, approval, or timeout without stopping agents. Pass since to wait only for agents that settle after that timestamp; newly_settled identifies them. Results are capped at 4000 characters by default; set max_result_chars to override. Maximum 60 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": {
"agents": "<agents>"
},
"name": "wait_for_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| since | No | Only agents settled after this timestamp count toward readiness. | |
| agents | Yes | ||
| timeout_seconds | No | ||
| max_result_chars | No |