folders_list
List all Google Tag Manager folders in a workspace. Handles pagination automatically to return the complete folder list.
Instructions
List all GTM folders in a workspace. Automatically follows pagination to return all folders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | ||
| containerId | Yes | ||
| workspaceId | Yes | ||
| 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. |