Create a container
create_containerCreate a container in a Google Tag Manager account by specifying its name and usage context (web, Android, iOS, server), and get back its assigned containerId and publicId.
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. |