serial_open
Open a serial port connection to a device or TCP endpoint and start an interactive shell session, returning the initial banner output.
Instructions
Open a serial port connection and start an interactive shell session. Returns the initial banner output.
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_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Serial port path (e.g. COM3, /dev/ttyUSB0) or TCP serial endpoint (tcp://host:port, e.g. QEMU with '-serial tcp:...'). Overrides device config if provided. | |
| device | No | Device name (optional, defaults to the active device) | |
| parity | No | Parity: none, even, or odd (default: none) | |
| baudRate | No | Baud rate (default: 115200) | |
| dataBits | No | Data bits: 5, 6, 7, or 8 (default: 8) | |
| stopBits | No | Stop bits: 1, 1.5, or 2 (default: 1) |