gtm_revert_variable
Revert workspace changes to a Google Tag Manager variable with fingerprint protection, restoring a user-defined variable to its previous state.
Instructions
Revert workspace changes to a user-defined variable with fingerprint protection.
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": {
"account": "<account>",
"container": "<container>",
"workspace": "<workspace>",
"variableId": "<variableId>"
},
"name": "gtm_revert_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Name or ID of the GTM account (e.g. 'My Company' or '1234567'). | |
| container | Yes | Name, GTM container ID (publicId, e.g. GTM-XXXX), or internal container ID. | |
| workspace | Yes | Workspace name or ID. Required for every mutating operation. | |
| variableId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |