find_unused
Find unused macros and views in Zendesk by analyzing 30-day usage statistics, returning definitive results only when data is available.
Instructions
Detect unused macros and views by reading Zendesk's usage_30d stats; returns confident verdicts only where data exists. kind: "triggers" and kind: "automations" always return indeterminate, firing data is not exposed by the Zendesk API on standard plans, so the tool refuses to guess. For trigger / automation cleanup, combine find_trigger_conflicts, audit_trigger_health, and find_field_usage / find_group_usage instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>"
},
"name": "find_unused"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Resource kind to scan | |
| refresh | No | Bypass cache and re-fetch from Zendesk | |
| instance | No | Override the sticky instance for this call |