containers_combine
Merge a source Google Tag Manager container into a target container, combining all tags, triggers, and variables into the surviving 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 |
|---|---|---|---|
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The target container ID (the surviving container). | |
| containerIdToCombine | Yes | The container ID to merge into the target. | |
| settingSource | No | Which container's settings to keep. | |
| allowUserPermissionFeatureUpdate | No | Allow updating the user-permission feature during combine. | |
| confirm | Yes | Must be true to confirm this write operation. |