versions_get
Retrieve the full contents of a specific GTM container version, or pass "live" as the version ID to inspect the currently live version.
Instructions
Get the full contents of a specific GTM container version. Pass "live" as containerVersionId to get the currently live version.
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": {
"accountId": "<accountId>",
"containerId": "<containerId>",
"containerVersionId": "<containerVersionId>"
},
"name": "versions_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | ||
| containerId | Yes | ||
| containerVersionId | Yes | The container version ID, or "live" for the current live version. |