Create Environment
create_environmentCreate an environment in a Google Tag Manager container to isolate staging or production configurations for controlled testing and deployment.
Instructions
Create an environment in a container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Numeric Tag Manager account ID. | |
| environment | Yes | Environment resource. Requires name, e.g. {"name": "Staging", "description": "Pre-release checks", "url": "https://staging.example.com", "enableDebug": true}. | |
| container_id | Yes | Numeric container ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||