delete_note
Remove notes from Obsidian vault using soft-delete (moves to .trash) or permanent deletion. Automatically drops from search and embeddings.
Instructions
Delete a note from the vault. Requires a readwrite API key.
By default this is a soft-delete: the file is moved to
.trash/<YYYYMMDD-HHMMSS>-<basename> inside the vault root. The indexer
skips dot-prefixed directories, so search and embeddings drop the note
automatically on the next reindex pass (≤ 5 minutes). Soft-deleted files
accumulate in .trash/ — emptying that directory is the user's
responsibility.
With permanent=True, the file is os.unlink-ed directly with no
recovery path inside this server. Existing backups are the rollback story.
Dangling backlinks left behind by a delete are surfaced via
get_backlinks and find_orphans. See get_vault_guide for context.
Args: path: Vault-relative path to the note. permanent: If True, unlink instead of soft-deleting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| permanent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |