serial_write
Write data to the open serial port, with UTF-8, hex, or base64 encoding options for text and binary UART frames.
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 |