connect_serial
Establish a serial connection to an OpenWrt router via UART/COM to access boot logs, perform recovery, and conduct low-level debugging.
Instructions
Connect to an OpenWrt router via serial port (UART/COM). Useful for boot logs, recovery, and low-level debugging.
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>"
},
"name": "connect_serial"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Serial port path (e.g., 'COM3' on Windows, '/dev/ttyUSB0' on Linux) | |
| prompt | No | Shell prompt suffix to detect command completion (default: '# ') | # |
| baudRate | No | Baud rate (default: 115200) |