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