terminal.wait_stable
Wait until terminal output stops changing, then return the current snapshot. On timeout, still return the snapshot with a timedOut flag.
Instructions
Wait until terminal screen is stable. Returns current snapshot even on timeout (with timedOut=true).
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": {
"sessionId": "<sessionId>"
},
"name": "terminal.wait_stable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID from terminal.start — use exact value | |
| idleMs | No | Stable idle window in milliseconds, default 500 | |
| timeoutMs | No | Timeout in milliseconds, default 5000 | |
| snapshotOnTimeout | No | Return current snapshot with timedOut=true on timeout, default true |