Inputs
Output
Type:Dict
Returns the created container as provided by the Tag Manager API, including its containerId and publicId (GTM-XXXXXX).Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Creates a container in a Google Tag Manager account for web, server, AMP, or mobile app tagging
| App | Google Tag Manager |
| Operation ID | gtm_create_container |
| Type | Action |
| Connection | gtm (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Requires approval | Yes (write operation) |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the Google Tag Manager account to create the container in. |
name | string | Yes | - | Name for the new container. |
usage_context | enum (web, server, amp, androidSdk5, iosSdk5) | No | web | Where the container will be used: web (websites), server (server-side tagging), amp (AMP pages), androidSdk5 or iosSdk5 (mobile apps). |
notes | string | No | - | Optional notes describing the container. |
Dict
Returns the created container as provided by the Tag Manager API, including its containerId and publicId (GTM-XXXXXX).