environments_list
List all environments in a GTM container with automatic pagination to return full results.
Instructions
List all environments in a GTM container. Automatically follows pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The GTM container ID. | |
| pageToken | No | Continuation token to resume listing from a previous truncated result. | |
| maxPages | No | Maximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken. |