directory_delete
Delete a directory inside a registered workspace with dry-run preview, recursive confirmation for non-empty folders, and undo support.
Instructions
Delete one directory and return operation_id and undo_available. Destructive.
A non-empty directory requires recursive true and confirm_recursive true;
one without the other is refused before anything is touched. The scope is
exactly the named subtree inside the selected workspace root — this tool
cannot delete outside it, and Filekeeper's own .filekeeper/ state
directory is refused. dry_run lists what would be removed and deletes
nothing. Otherwise the whole tree is recorded as one operation and is
undoable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| dry_run | No | ||
| recursive | No | ||
| confirm_recursive | No |