gtm_list_versions
List published and draft version headers for a Google Tag Manager container by providing account and container IDs.
Instructions
List version headers (published + drafts) of a GTM container.
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>"
},
"name": "gtm_list_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| container_id | Yes | ||
| connection_id | No | ||
| session_token | No |