List environments
gtm_list_environmentsLists Google Tag Manager environments—Live, Latest, and custom—with the version each serves, using a container ID or API path to audit published configurations.
Instructions
Environments (Live, Latest, custom) with the version each one serves. Preview auth codes are never returned. Container as public id (GTM-XXXXXXX, or a linked G-/AW- destination id) or API path accounts//containers/.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"container": "<container>"
},
"name": "gtm_list_environments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||