environments_create
Create a new Google Tag Manager environment with specified name, description, and preview URL. Requires account ID, container ID, and confirmation.
Instructions
[WRITE] Create a new GTM environment. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The GTM container ID. | |
| name | Yes | Environment name. | |
| description | No | Environment description. | |
| url | No | Default preview page URL for the environment. | |
| enableDebug | No | Whether to enable debug by default. | |
| confirm | Yes | Must be true to confirm this write operation. |