Tag Manager version details
get_gtm_versionGet metadata + entity counts for a single GTM container version.
Returns name, description (the version notes), fingerprint, and lists of tag/trigger/variable names at that point in time. The API returns no timestamps or author for a version.
Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2
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": {
"container_version_id": "<container_version_id>"
},
"name": "get_gtm_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gtm_account_id | No | Numeric GTM account ID (see list_gtm_accounts). Empty uses gtm.account_id from the config. | |
| gtm_container_id | No | Numeric GTM container ID (see list_gtm_containers). Empty uses gtm.container_id from the config. | |
| container_version_id | Yes | Numeric container version ID from list_gtm_versions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||