connect_to_port
Open a serial connection to a CNC controller for remote control and monitoring of GRBL-based CNC machines. Specify port, baud rate, and controller type to establish communication.
Instructions
Open a serial connection to a CNC controller
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_to_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Serial port path (e.g., /dev/cu.usbmodem14201) | |
| baudrate | No | Baud rate (default 115200) | |
| controllerType | No | Controller type (default Grbl) | Grbl |