agent_wait_idle
Wait for a tmux-hosted subagent to go idle by blocking until its screen output stays unchanged, then return control; works with any harness.
Instructions
Block until a tmux-hosted agent stops producing output. Movement-based, not marker-based, so it works for any harness. Returns as soon as the screen has been stable for a few 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": {
"session": "<session>"
},
"name": "agent_wait_idle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | ||
| stable_ms | No | How long the screen must be unchanged (default 3000) | |
| timeout_ms | No | Max wait (default 600000) |