wait_for_idle
Blocks until a subagent session becomes idle, finishes, or errors, or until the optional timeout expires, so callers can wait for delegated work to complete.
Instructions
Legacy helper: block until the session is idle/done/error or times out.
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": {
"session_id": "<session_id>"
},
"name": "wait_for_idle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| timeout_seconds | No |