wait_for_agents
Blocks until specified agents finish their current turn or the timeout expires, reporting which ones completed. Returns immediately when no agents are busy; call again after a timeout.
Instructions
Block until one of the agents finishes its turn (idle / exited / closed), or timeout.
names: agents to report on (default: all). Those that are starting or working when the call
begins are waited for; finished lists the ones whose turn ended during the call.
Returns immediately if none is busy. Call again after a timeout.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait_for_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | No | ||
| timeout_s | No |