List GTM Variables
gtm_list_variablesList all Google Tag Manager variables in a workspace, returning their IDs, names, and types. Provide account, container, and workspace IDs to retrieve the variable list.
Instructions
List all variables in a workspace, with their IDs, names, and types.
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_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 |