file.delete
Delete files with optional trash recovery or permanent removal using content hash verification.
Instructions
Delete a file. Default trash=true → moved to /.obsidian/trash. Hard delete (trash=false) requires expected_content_hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| trash | No | ||
| vault | No | ||
| dry_run | No | ||
| expected_content_hash | No |