Delete path
project_delete_pathDelete a file or directory from the workspace; set recursive=true to remove a directory and its contents. Use only when the path is confirmed, because deletion cannot be undone.
Instructions
Delete a file or directory (directories require recursive=true). Use when: a file/directory must be deleted entirely; the path is confirmed. Avoid when: you only need to change the content (write/edit). This op is not undoable. Speed: fast; clears the read/list/search cache. Output: path_deleted: entries_deleted, bytes_deleted. Batch-safe: no
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recursive | No | ||
| relative_path | Yes | Path inside the workspace (relative, or absolute inside the workspace) |