Create rule
create_ruleCreate a rule on a feed. The definition is validated, the standard preview runs server-side, and the report comes back WITH the created rule: match/change/exclusion counts, per-field tallies, warnings, and audit deltas. Show the human this report; danger-level warnings mean the rule can empty required fields or exclude heavily. The rule lands enabled, appended after existing rules, and applies on the NEXT run (never to the live delivered feed mid-flight). Same definition format as preview_rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable rule name, 2 to 120 characters. | |
| feedId | Yes | Feed id from list_feeds. | |
| definition | Yes | The rule definition JSON (same format as preview_rule). |