gtm_publish_version
Publish a prepared Google Tag Manager version to your live environment after explicit user approval, making container changes active.
Instructions
Publish a prepared GTM version to live. PRIVILEGED: only call after explicit user approval.
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 |
|---|---|---|---|
| account_id | Yes | ||
| version_id | Yes | ||
| container_id | Yes | ||
| connection_id | No | ||
| session_token | No |