read_output
Read serial RX data without consuming other sessions' output, then reuse the returned cursor for incremental reads. Supports wait time, byte limits, and encodings.
Instructions
Read RX without consuming other sessions' data. Reuse returned cursor for increments.
No cursor replays retained buffer. base64 is lossless; text can split UTF-8 chunks. Old cursors are rejected after close/reopen. bytes_lost reports ring overflow.
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": {
"port": "<port>"
},
"name": "read_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| cursor | No | ||
| encoding | No | utf-8 | |
| max_bytes | No | ||
| wait_seconds | No |