wait_visual_change
Wait for terminal TUI text, selection styling, or cursor position to change after arrow-key navigation. Use a baseline visual hash or the current screen to detect updates and avoid polling.
Instructions
Wait for text, selection styling, or cursor position to change.
Prefer this after arrow/navigation keys in full-screen TUIs. Pass a prior
visual_hash, or omit it to use the current rendered state as the baseline.
Timeout is not an error: the call returns ok=true with changed=false plus
the final screen snapshot, with exited true only on a
detect_child_exit session whose child died first.
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": {
"sid": "<sid>"
},
"name": "wait_visual_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | ||
| timeout_ms | No | ||
| baseline_hash | No |