read_serial
Capture UART output from a connected board with configurable baudrate, port, and optional text matching or reset on open.
Instructions
Capture bounded UART output through the shared serial-resolution and UART services.
Defaults come from the connected board config only for baudrate and
serial-port selection heuristics. ``expected_text=None`` means no explicit
text expectation: any observed UART output counts as a match.
Set ``port`` to override serial resolution explicitly. Set ``reset_on_open``
to trigger a target reset immediately after the UART port opens so early
boot text is captured deterministically.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_serial"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| baudrate | No | ||
| read_seconds | No | ||
| expected_text | No | ||
| reset_on_open | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |