audit_tag_sprawl
Produce a tag-hygiene report that lists tag usage, identifies duplicate clusters, flags unused set-only tags, and shows top usage distribution to initiate cleanup.
Instructions
Composite tag-hygiene report: full inventory (per-tag where-used, dupe suspects, set_only flag), clustered groups of suspected duplicates (vip / VIP / v_i_p collapse together), set_only tags written but never read, and a top-N usage distribution. The right starting point for tag-cleanup work, bundles list_tags_in_use with clustering. For "which rules touch tag X?" use find_triggers_by_tag instead. Tolerates per-kind upstream errors with notes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Cap on usage_distribution rows (default 25) | |
| refresh | No | Bypass cache and re-fetch every kind from Zendesk | |
| instance | No | Override the sticky instance for this call |