serial_disconnect
Closes an open serial connection and releases its port from the connection pool; use the connection ID returned by serial_connect.
Instructions
Close a serial connection.
Closes the serial port and removes it from the connection pool.
Args: connection_id: Connection ID from serial_connect.
Returns: Confirmation message.
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": {
"connection_id": "<connection_id>"
},
"name": "serial_disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |