workspaces_list
List all workspaces within a Google Tag Manager container. Automatically handles pagination to retrieve all workspaces.
Instructions
List all workspaces within a GTM container. Automatically follows pagination to return all workspaces.
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. |