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.
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. |