containers_combine
Combine two Google Tag Manager containers by merging a source container into a target, with options to keep settings from either container.
Instructions
[WRITE] Combine (merge) another container into this one. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true. ⚠️ This merges the source container identified by containerIdToCombine into the target container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to confirm this write operation. | |
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The target container ID (the surviving container). | |
| settingSource | No | Which container's settings to keep. | |
| containerIdToCombine | Yes | The container ID to merge into the target. | |
| allowUserPermissionFeatureUpdate | No | Allow updating the user-permission feature during combine. |