publish_message
Publish a message to a configured MQTT topic to trigger phone notifications via the NotifyMQTT Android app.
Instructions
Publish a message to the configured MQTT topic.
The broker URL, username, password, and topic are configured through the container environment: MQTT_URL, MQTT_USERNAME, MQTT_PASSWORD, MQTT_TOPIC.
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": {
"message": "<message>"
},
"name": "publish_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qos | No | ||
| retain | No | ||
| message | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||