> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Container

> Creates a container in a Google Tag Manager account for web, server, AMP, or mobile app tagging

Creates a container in a Google Tag Manager account for web, server, AMP, or mobile app tagging. GTM creates the container's Default Workspace automatically.

| | |
| - | - |
| **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) |

## Inputs

| 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. |

## Output

**Type**: `Dict`

Returns the created container as provided by the Tag Manager API, including its containerId and publicId (GTM-XXXXXX).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.