open_port
Opens or reuses a Windows COM port, starts RX capture, and returns an Xshell Telnet endpoint so multiple clients can share serial output without sending text.
Instructions
Open/reuse COMx, start RX capture, return Xshell Telnet endpoint. Never sends text.
Confirm serial parameters with user; driver/hardware may glitch DTR/RTS on open. Existing different settings are rejected, not silently replaced.
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": "open_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dtr | No | ||
| rts | No | ||
| port | Yes | ||
| parity | No | N | |
| baudrate | No | ||
| bytesize | No | ||
| stopbits | No | ||
| flow_control | No | none |