uvcs_undo_prepare
Irreversibly undo pending changes for a specific file or directory path, excluding workspace root, and return a short-lived confirmation token for the required confirm step.
Instructions
Irreversibly undo pending changes for one path inside the selected workspace. Workspace-root undo is forbidden. Requires prepare/confirm. Returns a short-lived confirmation token.
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": {
"itemPath": "<itemPath>"
},
"name": "uvcs_undo_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemPath | Yes | Path relative to UVCS_WORKSPACE. Use a specific file or directory; the workspace root is forbidden. | |
| recursive | No | Undo pending changes recursively below itemPath. Default: false. |