serial_read
Retrieve buffered bytes from an open serial port, choosing UTF-8, hex, or base64 output. Limit bytes via maxBytes to prevent context overflow.
Instructions
Read buffered bytes from the open serial port. Buffer is capped (~64KB) to protect agent context.
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": "serial_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encoding | No | How to encode returned bytes | utf8 |
| maxBytes | No | Max bytes to return |