gtm_find_references
Find all tags, triggers, and variables that reference a given variable or trigger by name or ID. Use before deleting or renaming to prevent silent runtime failures.
Instructions
Find everything that references a variable or trigger, by name or id.
Run this before deleting or renaming. The API has no referential integrity: deleting a trigger a tag still fires on, or renaming a variable another entity interpolates as {{Name}}, breaks silently at runtime.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | ||
| entity_name | Yes | ||
| container_id | No | ||
| workspace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |