GTM: Create version
gtm_create_versionCreate a Google Tag Manager container version from a workspace without publishing it; returns the version ID for publishing and flags compiler errors that block release.
Instructions
Creates a container version from the workspace (NOT live yet). Returns containerVersionId for gtm_publish_version; compilerError=true means: the workspace has errors, do not publish anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Version name | |
| notes | No | What was changed and why | |
| accountId | Yes | GTM accountId (from gtm_list_accounts) | |
| containerId | Yes | GTM containerId, numeric | |
| workspaceId | Yes | Workspace ID (from gtm_list_workspaces / gtm_create_workspace) |