close_port
Close an open serial port connection by specifying the port name, releasing system resources for other uses.
Instructions
Close an open serial port 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": {
"port": "<port>"
},
"name": "close_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | The name of the port to close. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |