zones_revert
Revert all uncommitted changes in a Google Tag Manager workspace zone to the last published container version. Requires confirmation to apply.
Instructions
[WRITE] Revert workspace changes to a GTM zone back to its last container-version state. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The GTM container ID. | |
| workspaceId | Yes | The GTM workspace ID. | |
| zoneId | Yes | The zones ID to revert. | |
| fingerprint | No | Current fingerprint (for optimistic locking). | |
| confirm | Yes | Must be true to confirm this write operation. |