find_field_usage
Check if it's safe to delete a custom ticket field by finding all references across triggers, automations, macros, views, and ticket forms. Returns references with match details and count.
Instructions
Find every reference to a custom ticket field across triggers, automations, macros, views, and ticket forms, returns references with why_matched breadcrumbs and reference_count. The right tool for "is it safe to delete this field?" Operates over the cached verbose corpus, no extra HTTP unless refresh: true. For a full field-hygiene report (unused / inactive-only / empty options / not on any active form), use audit_field_health instead, it bundles this analyzer.
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": {
"field_id": "<field_id>"
},
"name": "find_field_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Bypass cache and re-fetch the corpus from Zendesk | |
| field_id | Yes | Custom field ID (numeric, or the "custom_fields_<id>" key). The numeric portion is what gets matched. | |
| instance | No | Override the sticky instance for this call |