Delete Note
vault_delete_notePermanently delete a markdown note from disk. The file is removed directly without undo; protected paths are blocked to prevent accidental loss of memory or daily notes.
Instructions
Permanently delete a markdown note. The note is removed from disk directly (not moved to a trash folder), and this server has no undo — recovery depends on your own backups or sync history. After deletion it no longer appears in search results or backlinks, and links to it from other notes become broken (detectable via vault_get_outgoing_links). Protected paths (About Me/, Daily Notes/) are refused to prevent accidental loss of memory or daily notes.
Example: vault_delete_note({ path: "Scratch/temp.md" })
When to use: Removing a note you no longer need. Prefer vault_delete_memory for removing individual dated entries from About Me/ memory files.
Errors:
"cannot delete protected path …" — the path sits under a protected folder; use vault_delete_memory for memory entries
"path traversal blocked" — path escapes the vault root; use a vault-relative path
note does not exist — verify the path with vault_list_notes before deleting
Returns: Confirmation message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Vault-relative path of the note to delete |