open_port
Opens a serial connection to a device for console access, setting path, baud rate, parity, data bits, and stop bits.
Instructions
Open a serial connection to a device
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": {
"path": "<path>"
},
"name": "open_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Serial port identifier/path (e.g. /dev/ttyUSB0, /dev/tty.usbserial-110, or COM3) | |
| parity | No | Parity (default: none) | none |
| baudRate | No | Baud rate (default: 9600) | |
| dataBits | No | Data bits (default: 8) | |
| stopBits | No | Stop bits (default: 1) |