built_in_variables_revert
Revert a GTM workspace built-in variable to its original container version to undo workspace-level changes.
Instructions
[WRITE] Revert changes to a built-in variable in the workspace to the original container version. 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>",
"type": "<type>",
"confirm": "<confirm>"
},
"name": "built_in_variables_revert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The built-in variable type to revert. | |
| confirm | Yes | ||
| accountId | Yes | ||
| containerId | Yes | ||
| workspaceId | Yes |