transformations_revert
Revert a GTM transformation in a workspace back to its last container-version state, undoing unsaved changes. Requires write access enabled and explicit confirmation.
Instructions
[WRITE] Revert workspace changes to a GTM transformation back to its last container-version state. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.
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": {
"accountId": "<accountId>",
"containerId": "<containerId>",
"workspaceId": "<workspaceId>",
"transformationId": "<transformationId>",
"confirm": "<confirm>"
},
"name": "transformations_revert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to confirm this write operation. | |
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The GTM container ID. | |
| fingerprint | No | Current fingerprint (for optimistic locking). | |
| workspaceId | Yes | The GTM workspace ID. | |
| transformationId | Yes | The transformations ID to revert. |