send_serial_data
Sends a single text or HEX message to an already connected serial port, enabling device command input or log-triggering; connect the port first with connect_serial.
Instructions
Send one message to a serial port. The port must already be connected with connect_serial.
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": {
"port": "<port>",
"data": "<data>"
},
"name": "send_serial_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Text or HEX string to send | |
| port | Yes | Target port | |
| hex_mode | No | Send as hexadecimal bytes |