templates_list
List all GTM templates in a specified workspace with automatic pagination handling. Retrieve templates by providing account, container, and workspace IDs.
Instructions
List all GTM templates in a workspace. 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. | |
| workspaceId | Yes | The GTM workspace ID. |