serial_read
Read buffered data from an open serial port, returning up to 64KB of bytes with optional encoding to keep agent context manageable.
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 |