wait_for_pattern
Block until a regex pattern appears in new device output or times out. Use after flashing to confirm expected log lines appear.
Instructions
Block until PATTERN (regex) appears in NEW device output, or time out.
The behavioral-verification primitive: after flashing, assert the expected log line actually appears instead of assuming success. Max timeout 120s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| session | No | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||