workspace_create_version_and_publish
Create a new container version from a workspace and publish it to production immediately. Requires explicit confirmation and the publish flag enabled.
Instructions
[PUBLISH] Create a new container version from a workspace and immediately publish it. Requires GTM_MCP_ENABLE_PUBLISH=true and confirm=true. ⚠️ This is the most powerful write operation — it goes live in production immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | ||
| containerId | Yes | ||
| workspaceId | Yes | ||
| name | No | Version name. | |
| notes | No | Version notes. | |
| confirm | Yes | Must be true to confirm this publish operation. |