list_gtm_variables
List GTM custom and built-in variables from a live container and workspace to verify that triggers reference enabled variables, preventing trigger mismatches.
Instructions
List GTM variables — both custom and enabled built-in.
Custom variables come from the live container. Built-in variables (Page URL, Click Element, Form ID, etc.) come from the workspace's enabled-built-ins list. Variables matter because triggers reference them — if a trigger uses {{Form ID}} but Form ID isn't enabled, the trigger never matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gtm_account_id | No | ||
| gtm_container_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||