serial_get_recent
Retrieves the most recent buffered serial-port lines without moving the read cursor, enabling quick inspection of recent UART output for debugging.
Instructions
Return the most recent N buffered lines regardless of read cursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Serial port name, e.g. COM5 or /dev/ttyUSB0 | |
| lines | No | Default 100 |