serial_execute
Send a single text command over a serial port, optionally wait for an expected response, and automatically close the connection after execution.
Instructions
Open 8N1, run one text command, and always close.
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_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| port | No | ||
| expect | No | ||
| timeout | No | ||
| encoding | No | utf-8 | |
| baud_rate | No | ||
| append_newline | No | ||
| max_output_bytes | No |