uvcs_undo_confirm
Confirms and executes a prepared irreversible undo of pending changes for one workspace path after explicit user approval; requires the prepare token and exact confirm phrase.
Instructions
Irreversibly undo pending changes for one path inside the selected workspace. Workspace-root undo is forbidden. Requires prepare/confirm. Confirms and executes a prepared operation. Call only after the user has reviewed the prepared payload and explicitly approved this exact operation.
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": {
"token": "<token>",
"confirmPhrase": "<confirmPhrase>"
},
"name": "uvcs_undo_confirm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token returned by uvcs_undo_prepare. | |
| confirmPhrase | Yes | Must be exactly: confirm uvcs undo |