templates_list
Lists all GTM templates in a workspace, automatically following pagination to retrieve the full set.
Instructions
List all GTM templates in a workspace. Automatically follows pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The GTM container ID. | |
| workspaceId | Yes | The GTM workspace 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. |