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