serial_write
Send data to an open serial port. Use hex or base64 to send binary UART frames, including Ratchet Phase 2.7 sequences.
Instructions
Write data to the open serial port. Use hex/base64 for binary UART frames (e.g. Ratchet Phase 2.7).
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": {
"data": "<data>"
},
"name": "serial_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Payload to send | |
| encoding | No | Encoding of data parameter | utf8 |