Revert Tag
revert_tagUndo a tag's uncommitted changes in a workspace, restoring it to the original container version without affecting other modifications.
Instructions
Undo a workspace's changes to one tag.
Restores the tag 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>",
"tag_id": "<tag_id>"
},
"name": "revert_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag_id | Yes | Numeric tag ID. | |
| account_id | Yes | Numeric Tag Manager account ID. | |
| fingerprint | No | Fingerprint from a previous read. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||