Inputs
Output
Type:Dict
Returns the created environment as provided by the Tag Manager API, including its environmentId and authorizationCode.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Creates a user environment (e.g
| App | Google Tag Manager |
| Operation ID | gtm_create_environment |
| 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. |
container | DynamicAccount | Yes | - | Select the container to create the environment in. |
name | string | Yes | - | Name for the new environment, e.g. Staging. |
description | string | No | - | Optional description of the environment. |
url | string | No | - | Default preview page URL for the environment. |
enable_debug | boolean | No | - | Whether debug mode is enabled by default for the environment. |
Dict
Returns the created environment as provided by the Tag Manager API, including its environmentId and authorizationCode.