serial_tail
Fetch recent log lines from a board's ring buffer for troubleshooting. Pass the board ID and choose how many lines to retrieve, with safe UTF-8 handling that avoids interfering with serial operations.
Instructions
Fetch the most recent log lines from the board's ring buffer history.
Safe across UTF-8 boundaries and non-intrusive (no TX write lock needed).
Args: board_id: The identifier of the board (e.g. 'board_a') lines: Number of recent lines to retrieve (default: 200)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| board_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |