Delete File
deletePermanently remove files, directories, or symlinks (up to 1000 paths per call). Use recursive mode for non-empty directories; this action cannot be undone.
Instructions
Permanently delete one or more files, directories, or symlinks (max 1000 per call). This action is irreversible. Pass paths: [...] — there is no single-path form. Non-empty directories require recursive=true and additionally prompt the user to confirm each one, so the call returns without deleting anything until that confirmation comes back; a client that cannot prompt gets an error naming the alternative. Workspace root directories cannot be deleted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Paths to delete (max 1000); accepts files, directories, or symlinks | |
| recursive | No | Delete directory contents recursively (required for non-empty directories) | |
| ignoreIfNotExists | No | Silently succeed if a path does not exist instead of returning an error |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Per-path results ordered to match the input paths | |
| summary | Yes |