Gtm publish version
gtm.publish_versionPublishes a Google Tag Manager container version with a confirmation guard, helping prevent accidental releases during controlled deployments.
Instructions
Publish a container version (guarded).
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": {
"version_path": "<version_path>"
},
"name": "gtm.publish_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| version_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||