Delete
deleteDelete a single file or symlink and evict its cache entries, reporting not_found for missing paths. Use for explicit path removal without shell commands.
Instructions
Delete one file or symlink and evict its cache entries.
Use this for explicit single-path removal instead of shelling out. A
missing path is reported as status not_found, not an error.
Statuses: deleted (removed), would_delete (dry-run preview only, and
dry_run: true comes back with it), not_found (nothing was there).
Constraints: one path only — no globs, no recursion, no real-directory
deletes. A symlink path deletes the link itself, never its target.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or symlink path (absolute, or relative to the project root). | |
| dry_run | No | Preview the outcome without deleting or evicting the cache. |