expect_text
Waits until a regex or text pattern appears in terminal UI output, or stops at timeout/EOF.
Instructions
Wait until a regex/text pattern appears in the output (or timeout/EOF).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| timeout | No | ||
| session_id | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | ||
| outcome | Yes | ||
| pattern | Yes | ||
| success | Yes | ||
| session_id | Yes |