gtm_version_header
Retrieve a paginated list of GTM container version headers or the latest one. Helps track and manage container version history.
Instructions
Performs all container version header operations: list, latest. The 'list' action returns up to 50 items per page.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"accountId": "<accountId>",
"containerId": "<containerId>"
},
"name": "gtm_version_header"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination (starts from 1). Each page contains up to itemsPerPage items. | |
| action | Yes | The container version header operation to perform. Must be one of: 'list', 'latest'. | |
| accountId | Yes | The unique ID of the GTM Account containing the container. | |
| containerId | Yes | The unique ID of the GTM Container. | |
| itemsPerPage | No | Number of items to return per page (1-50). Default: 50. Use lower values if experiencing response issues. | |
| includeDeleted | No | Whether to also retrieve deleted (archived) versions. Required for 'list' action. |