serial_read
Retrieve recent serial output from an embedded board by providing its board ID. Optionally set a timeout to wait and collect logs or command responses for debugging.
Instructions
Wait and read recent serial output from the board.
Args: board_id: The identifier of the board (e.g. 'board_a') timeout_ms: Duration in milliseconds to wait and collect (default: 500)
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_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board_id | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |