vault_delete
Delete an Obsidian note safely: commits the change, updates its MOC, refuses uncommitted/structural/archived notes, lists notes that would break, and provides an undo command.
Instructions
Deletes a note and commits, removing its line from the domain MOC. Refuses, without deleting, if the note has no committed version in HEAD (there would be no way to undo), if it is structural (MOC, daily note, index) or if it lives under 99-archive/. Notes pointed at by others require confirm, and the refusal lists who points at them — their links will break. The answer carries the exact command that undoes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Vault-relative path, with `.md`. | |
| confirm | No | Confirms deleting even with other notes pointing at this one; their links will break. |