obsidian_delete
Delete a note by file name or exact path. Sends it to trash by default; set permanent to true for irreversible deletion.
Instructions
Delete a note, selecting it by file name or exact path.
Wraps the CLI's delete Verb. DESTRUCTIVE: by default the note is moved to the system trash (recoverable). Pass permanent: true to skip the trash and delete irrecoverably — there is no undo for a permanent delete.
Parameters: file (optional) — note name using wikilink resolution (e.g. 'My Note') path (optional) — exact vault-relative path (e.g. 'folder/My Note.md') permanent (optional) — true to skip trash and delete permanently (irreversible) One of file or path is required.
Examples: obsidian_delete({ file: "Old Draft" }) — moves to trash obsidian_delete({ path: "Inbox/spam.md", permanent: true }) — irreversible
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File name (wikilink resolution) | |
| path | No | Exact file path | |
| permanent | No | Skip trash and delete permanently (irreversible) |