取消订阅 MQTT 主题
mqtt_unsubscribeUnsubscribes from one or more MQTT topics on a named broker connection, letting you stop receiving messages from those topics.
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": "<connection>",
"topics": "<topics>"
},
"name": "mqtt_unsubscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topics | Yes | 要取消订阅的主题列表 | |
| connection | Yes | 连接名称 |