Create Version
create_versionCreate a container version from a GTM workspace using account, container, and workspace IDs. Add optional name and notes; workspace is consumed, not published.
Instructions
Turn a workspace into a container version.
The workspace is consumed by this call -- the API deletes it and makes the new version the container's latest. Creating a version does not publish it; use publish_version for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Numeric Tag Manager account ID. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. | |
| version_options | No | Name and notes for the version, e.g. {"name": "Release 2026-09", "notes": "Adds consent mode"}. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||