templates_revert
Revert template changes in a GTM workspace to the last container version state. Use confirm=true to apply the restore.
Instructions
[WRITE] Revert workspace changes to a GTM template back to its last container-version state. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to confirm this write operation. | |
| accountId | Yes | The GTM account ID. | |
| templateId | Yes | The templates ID to revert. | |
| containerId | Yes | The GTM container ID. | |
| fingerprint | No | Current fingerprint (for optimistic locking). | |
| workspaceId | Yes | The GTM workspace ID. |