workspaces_list
Retrieve all workspaces in a GTM container with automatic pagination handling. Returns a complete list without manual paging.
Instructions
List all workspaces within a GTM container. Automatically follows pagination to return all workspaces.
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. |