update_rule
Update any aspect of an existing rule by providing its ID and optional new trigger, action, scope, type, or override flag. Returns the updated rule details.
Instructions
Update an existing rule's trigger, action, scope, or type. Use my_rules first to find the rule ID. Returns the updated rule details.
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_id": "<rule_id>"
},
"name": "update_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | New scope, optional | |
| action | No | New action (what to do), optional | |
| rule_id | Yes | The ID of the rule to update | |
| trigger | No | New trigger (topic/scene), optional | |
| override | No | New override flag, optional | |
| rule_type | No | New rule type, optional |