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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | ||
| changes | Yes |