serial_read
Read data from a serial port connection to monitor or retrieve information from remote devices like Raspberry Pi and embedded systems.
Instructions
Read available data from a serial port.
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": {
"connection_id": "<connection_id>"
},
"name": "serial_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | Connection ID from serial_connect | |
| timeout | No | Read timeout in seconds (default: 2.0) | |
| bytes | No | Maximum bytes to read (default: 4096) |