Describe an IoT topic rule
describe_topic_ruleRetrieve a topic rule's SQL, version, and every action target plus error action. Flags rules missing an error action that drop messages silently when an action fails.
Instructions
Returns one topic rule in full: its SQL, its SQL version, every action with the target it writes to, and its error action. A rule without an error action loses messages silently when its action fails, which this tool calls out explicitly.
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": {
"rule_name": "<rule_name>"
},
"name": "describe_topic_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_name | Yes | Exact topic rule name. |