safe_delete
Safely delete files or directories by validating against critical and protected paths and move targets to a quarantine folder for recovery.
Instructions
Delete a file or directory, but only after checking it against system-critical paths, user-protected paths, and blast-radius limits. Deletes are recoverable: the target is moved to a quarantine folder (~/.guardian-mcp/trash) instead of being unlinked. If the target is large, call again with confirm:true after reviewing the size warning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to delete | |
| confirm | No |