gtm_publish_version
Publish a Google Tag Manager container version to production. Confirm the action to make changes live, ensuring your site updates with the selected version.
Instructions
Publish a container version to live. Requires confirm=true because this affects the live site.
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>",
"version_id": "<version_id>"
},
"name": "gtm_publish_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| account_id | Yes | ||
| version_id | Yes | ||
| container_id | Yes |