disconnect
Close an open serial port connection to release it for other programs. Optionally close all connections at once.
Instructions
Close a serial port and free it for other programs.
Args: connection: Which connection to close (name from connect). Default: the current one. all_connections: Close every open port.
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": "disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | ||
| all_connections | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |