oc_serial_read
Read pending bytes from a live serial session with a bounded timeout, returning text, hex, and buffer depth without losing data.
Instructions
Read pending bytes from a live serial session with a bounded timeout; returns text, hexadecimal, and buffer depth without losing bytes.
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": {
"engagement_id": "<engagement_id>",
"session_id": "<session_id>"
},
"name": "oc_serial_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| max_bytes | No | ||
| session_id | Yes | ||
| engagement_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||