update_rule
Update specific fields of an existing rule, such as active status, priority, conditions, or actions, while keeping the rule type unchanged.
Instructions
Partially update a rule. The rule_type cannot be changed.
Args: rule_id: UUID of the rule to update. changes: Fields to update. All are optional: active (bool), priority (int), condition (object, simple rules), action (object, simple rules), conditions (array, transaction_rule), actions (array, transaction_rule), condition_operator ("AND" or "OR", transaction_rule).
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>",
"changes": "<changes>"
},
"name": "update_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | ||
| changes | Yes |