Inputs
Output
Type:Dict
Returns the environment as provided by the Tag Manager API.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Fetches a single Google Tag Manager environment’s details, including its authorization code
| App | Google Tag Manager |
| Operation ID | gtm_get_environment |
| Type | Action |
| Connection | gtm (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the Google Tag Manager account. |
container | DynamicAccount | Yes | - | Select the container. |
environment | DynamicAccount | Yes | - | Select the environment, or provide an environment ID from gtm_list_environments. |
Dict
Returns the environment as provided by the Tag Manager API.