approval-rules: set_rules
approve_set_rules[approval-rules] Save the user's rules (needs an API key so they stay yours). Each rule: {name, when:{type:[...], max_usd, min_usd, reversible, target_ends_with:[...]}, verdict:"auto"|"ask"|"deny"}. First matching rule wins; anything unmatched needs approval. Call once without confirm to preview, then with confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | ||
| confirm | No |