delete_path
Deletes a specified file or directory tree from a repository. Requires recursive=true for folders and prevents accidental deletion of the workspace root.
Instructions
Delete a file, or a directory tree with recursive=true. Deleting the workspace root is refused. Prefer deleting specific files over directories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to delete. | |
| recursive | No | Required to delete a directory. Default false. | |
| workspace | No | Workspace alias. Defaults to the active workspace. |