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).
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 |