delete_note
Delete notes from a vault, sending them to a recoverable .trash/ folder or permanently removing them. An optional content-hash check prevents deleting notes that changed since your last read.
Instructions
Delete a note. By default it is moved to the vault .trash/ folder (recoverable by moving it back); pass permanent: true to remove it outright.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Vault-relative path of the note to delete. | |
| prevHash | No | Optional compare-and-swap guard: the contentHash from a prior read. Fails with hash_conflict if the note changed since — so you never delete content you have not seen. | |
| permanent | No | Permanently remove instead of moving to .trash/. Defaults to false. |