mqtt_subscribe
Subscribe to an MQTT topic and receive incoming messages. Supports wildcards for single and multi-level topics.
Instructions
Subscribe to an MQTT topic to receive messages
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": {
"topic": "<topic>"
},
"name": "mqtt_subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | The MQTT topic to subscribe to (supports wildcards: + for single level, # for multi-level) | |
| qos | No | Quality of Service level (0, 1, or 2). Default is 0 |