Revert Variable
revert_variableUndo workspace changes to a single variable, restoring it to the state of the base container version while preserving all other workspace edits.
Instructions
Undo a workspace's changes to one variable.
Restores the variable to the state of the container version the workspace was branched from, leaving the workspace's other changes alone.
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_id": "<account_id>",
"container_id": "<container_id>",
"workspace_id": "<workspace_id>",
"variable_id": "<variable_id>"
},
"name": "revert_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Numeric Tag Manager account ID. | |
| fingerprint | No | Fingerprint from a previous read. | |
| variable_id | Yes | Numeric variable ID. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||