anon_generate_rules
Generate anonymization rules for PII fields using masking, hashing, synthetic data, redaction, or mixed strategies. Optionally enable reversible tokenization to balance privacy with data utility.
Instructions
Generate anonymization rules with masking, hashing, and synthetic data replacement
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | PII fields to anonymize (e.g. 'email', 'phone', 'ssn', 'name') | |
| api_key | No | API key for authentication | |
| strategy | No | Anonymization strategy | mixed |
| reversible | No | Whether anonymization should be reversible (tokenization) |