close_port
Close an active serial connection to release the port for other uses. Specify the port path (e.g., /dev/ttyUSB0 or COM3) to terminate the session.
Instructions
Close an open serial connection
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": "close_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Serial port identifier/path to close (e.g. /dev/ttyUSB0 or COM3) |