wait_for_agents
Blocks until specified agents finish current work (all or any mode), returning each agent's status and latest output so you can poll and continue coordinating multi-agent workflows.
Instructions
Wait (max ~55s) until the agents finish their current work. mode 'all' or 'any'. Returns each agent's status and latest output; call again if done is false.
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_ids": "<agent_ids>"
},
"name": "wait_for_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | all | |
| agent_ids | Yes | ||
| timeout_seconds | No |