gtm_create_container
Create a Google Tag Manager web container in an existing account, returning the new GTM-XXXX ID. Prevents duplicate names and defaults to a dry run; confirmation is required before executing changes.
Instructions
⚠️ MUTATING — Create a web container in an existing GTM account. Returns the GTM-XXXX id. Refuses on duplicate name. Does NOT publish anything. Dry-run by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | No | Must be true to execute. Defaults to false (dry run). | |
| container_name | Yes | ||
| gtm_account_id | Yes | GTM account id (from gtm_list_containers). |