wait_ready
Wait for terminal output to match a regex or go quiet, then capture a snapshot and report the trigger reason, including timeout as a valid result.
Instructions
Wait for a regex marker OR for the screen to go quiet (stable), then
snapshot. Use marker="" to wait purely for stability.
Returns a snapshot plus reason: "MARKER" (the regex appeared), "STABLE"
(the screen went quiet), or "TIMEOUT". Timeout is not an error: the call
still returns ok=true with the final screen snapshot. Screen lines are
right-padded with spaces — end-anchored markers never match; use
unanchored markers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | ||
| marker | No | ||
| quiet_ms | No | ||
| max_wait_ms | No |