List enabled built-in variables
gtm_list_built_in_variablesLists built-in variables enabled in a Google Tag Manager container workspace, returning each variable's type and display name to support audits and configuration checks.
Instructions
Built-in variables currently enabled in the workspace (type + display name, e.g. pageUrl → 'Page URL'). Container as public id (GTM-XXXXXXX, or a linked G-/AW- destination id) or API path accounts//containers/. Workspace id (numeric). Omit to use the 'Default Workspace' (looked up once and cached).
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": {
"container": "<container>"
},
"name": "gtm_list_built_in_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes | ||
| workspace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||