read_events
Retrieve timestamped lines from serial, log-file, or MQTT sources; optionally block until specific text appears or timeout.
Instructions
Read timestamped lines from an active event adapter (serial, log file, MQTT). Can block until specific text appears or until timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Max lines to return | |
| source | Yes | Adapter source name (e.g. 'serial:COM1', 'logfile') | |
| timeout_s | No | Timeout in seconds to wait for until_text | |
| until_text | No | Optional text to wait for | |
| last_seconds | No | Time window in seconds |