Create GTM Version
gtm_create_versionCreate a new GTM container version from workspace changes, requiring a conflict-free workspace with pending edits.
Instructions
Create a new container version from a workspace's changes. The workspace must contain changes and be free of merge conflicts.
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": {
"account_id": "<account_id>",
"container_id": "<container_id>",
"workspace_id": "<workspace_id>",
"name": "<name>"
},
"name": "gtm_create_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the version | |
| notes | No | Notes about this version | |
| account_id | Yes | The GTM account ID | |
| container_id | Yes | The GTM container ID | |
| workspace_id | Yes | The GTM workspace ID |