Create version from workspace (🟡 write)
gtm_create_versionSnapshot a GTM workspace into an unpublished container version and replace it with a fresh default workspace. Use a dry run to check pending changes and merge conflicts before committing.
Instructions
Snapshot the workspace into a container version (NOT published yet). GTM deletes the workspace afterwards and creates a fresh default one. Merge conflicts block it — dry_run=true (default) shows the pending changes/conflicts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| notes | No | ||
| dry_run | No | ||
| container | Yes | ||
| workspace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||