Serial Read
serial_readRead buffered bytes from an open serial session to monitor output or retrieve data. Specify session ID, optional encoding, max bytes, and offset.
Instructions
Read buffered bytes from an open serial session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encoding | No | Output encoding. Default: utf8. | |
| maxBytes | No | Maximum bytes to return. | |
| sessionId | Yes | ||
| fromOffset | No | Read offset cursor. Defaults to current buffer start. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| raw | No | ||
| data | No | ||
| note | No | ||
| error | No | ||
| stage | No | ||
| status | No | ||
| command | No | ||
| rawTail | No | ||
| errorCode | No | ||
| retryable | No | ||
| nextActions | No | ||
| reasonCodes | No |