Gtm list variables
gtm.list_variablesLists user-defined Google Tag Manager variables under a specified workspace path, helping you inspect available variables before editing tags or triggers.
Instructions
List user-defined variables under a workspace path.
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": {
"workspace_path": "<workspace_path>"
},
"name": "gtm.list_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||