Create a container
create_containerCreate a new Google Tag Manager container under a specified account, providing a name and usage contexts such as 'web', 'androidSdk5', 'iosSdk5', or 'server'.
Instructions
Creates a new container in a GTM account. usage_context declares the platform, e.g. ["web"]; other values include androidSdk5, iosSdk5, server. Returns the created Container with its server-assigned containerId and publicId. Requires the tagmanager.edit.containers scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name of the new container. | |
| account_id | Yes | GTM account id (string). | |
| usage_context | Yes | Usage contexts, e.g. ["web"]. Other documented values: androidSdk5, iosSdk5, server. |