关闭串口
closeTerminates a previously opened serial port connection using its connection ID, releasing the port for reuse.
Instructions
关闭一个之前打开的串口连接。
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": "close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | 连接 ID(由 open 返回) |