List Enabled Built-In Variables
gtm_list_built_in_variablesRetrieve the list of built-in variables currently enabled in a specified Google Tag Manager workspace to verify which variables are available for use in tags and triggers.
Instructions
List the built-in variables currently enabled in a workspace (e.g. Page URL, Click Classes). Tags and triggers can only reference built-in variables that are enabled.
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": {
"account_id": "<account_id>",
"container_id": "<container_id>",
"workspace_id": "<workspace_id>"
},
"name": "gtm_list_built_in_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | The GTM account ID | |
| page_token | No | Continuation token from a previous call to fetch the next page of results | |
| container_id | Yes | The GTM container ID | |
| workspace_id | Yes | The GTM workspace ID |