environments_update
Update an existing Google Tag Manager environment by providing account, container, and environment IDs. Requires confirmation to apply changes.
Instructions
[WRITE] Update an existing GTM environment. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | New default preview page URL. | |
| name | No | New 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 | New description. | |
| enableDebug | No | Whether to enable debug by default. | |
| fingerprint | No | Current fingerprint (for optimistic locking). | |
| environmentId | Yes | The GTM environment ID to update. |