serial_connect
Establish serial port connections to communicate with remote devices like Raspberry Pi, embedded systems, and IoT hardware. Configure port, baud rate, and timeout settings for data exchange.
Instructions
Connect to a serial port. Returns a connection ID.
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": "serial_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Serial port (e.g., '/dev/ttyUSB0' or 'COM3') | |
| baudrate | No | Baud rate (default: 115200) | |
| timeout | No | Read timeout in seconds (default: 1.0) |