serial_write
Send text or HEX data to a serial port for UART debugging and protocol testing. Choose text or hex input and optional line ending.
Instructions
Write text or HEX into an open capture session's port.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "serial_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | No | HEX bytes to send (exactly one of text/hex) | |
| port | No | Serial port name, e.g. COM5 or /dev/ttyUSB0 | |
| text | No | Text to send (exactly one of text/hex) | |
| line_ending | No | Line ending appended to writes: crlf/cr/lf/none |