delete_note
Permanently delete a note and its index entries. Requires explicit confirmation to prevent accidental loss. After deletion, suggests checking for orphaned notes.
Instructions
Permanently delete a note. Removes the file from disk AND its index rows (edges, embedding, node). Requires confirm: true to guard against accidents. When the delete removes inbound edges, the response is wrapped in a next_actions envelope suggesting a follow-up rank_notes(method=pagerank, minIncomingLinks=0) to spot newly orphaned notes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Path or fuzzy match of the note to delete. | |
| confirm | Yes | Must literally be `true` to execute. Guards against accidental deletion. | |
| dryRun | No | If true, report what would be deleted without removing any files. |