gtm_get_container
Retrieves everything configured in a Google Tag Manager workspace—tags, triggers, variables, built-in variables and the live published version number—so you can review the setup before making any changes.
Instructions
Everything configured in a GTM workspace: tags (type, key settings, firing triggers), triggers (type, conditions), variables, enabled built-in variables, plus the live published version number. Use before changing anything.
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": "<workspace>"
},
"name": "gtm_get_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | Workspace path (accounts/…/containers/…/workspaces/…), or a container public ID like GTM-XXXX (uses its Default Workspace) |