read_lines
Retrieve captured serial output oldest-first with sequence numbers. Use after_seq to fetch only newer lines, grep to filter by regex, and wait_seconds to block for fresh output after a command.
Instructions
Return captured lines (oldest first, newest last) with sequence numbers.
Use after_seq to fetch only output newer than your last read, grep for a regex filter (e.g. "error|warn"), and wait_seconds to block briefly for fresh output after a command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep | No | ||
| port | Yes | ||
| after_seq | No | ||
| max_lines | No | ||
| wait_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||