Opus Growth

GTM Variables

Lists the user-defined VARIABLES in a workspace (name, variableId, type: 'c' = constant / 'v' = Data Layer / 'jsm' = Custom JS…).

Type
Reads only
Credits
1
Platform
Tag Manager
Approval
Not needed, nothing changes

What it does

Lists the user-defined VARIABLES in a workspace (name, variableId, type: 'c' = constant / 'v' = Data Layer / 'jsm' = Custom JS…). Also returns each variable's `params` flattened (a constant's value, a Data Layer variable's name), which reads back its config. workspace/container: as in list_gtm_tags. Every variable is retained: limit controls only this response page (0 = as many as fit), and page_token=next_page_token retrieves the cached remainder without another Google request or credit.

MCP: list_gtm_variables

How to use it

You don't call tools by name. Write what you want in ChatGPT, Claude or another assistant connected to Opus Growth, in your own words; it picks this tool when it fits.

Parameters

NameTypeRequiredDefault
workspacestringOptional·Exact workspace identifier or resource name returned by the relevant workspace-listing tool.
containerstringOptional·Exact container identifier or resource name returned by the relevant container-listing tool.
limitintegerOptional0Maximum number of rows returned in this response. When the result has_more flag is true, continue with next_page_token rather than assuming the list is complete.
page_tokenstringOptional·Continuation token returned as next_page_token by a previous call. Leave empty for the first page; pass it unchanged to retrieve the cached next page.