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)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"board_id": "<board_id>"
},
"name": "serial_tail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| board_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |