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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encoding | No | How to encode returned bytes | utf8 |
| maxBytes | No | Max bytes to return |