Inputs
Output
Type:Dict
Returns the container install snippet 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 the install code snippet for a Google Tag Manager web or AMP container, ready to paste into a site’s HTML
| App | Google Tag Manager |
| Operation ID | gtm_get_container_snippet |
| 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 whose install snippet should be fetched. Meaningful for web and AMP containers; server containers are installed differently. |
Dict
Returns the container install snippet as provided by the Tag Manager API.