Delete Note
deletePermanently remove a document or attachment from the vault. For Markdown files, the search index is refreshed; attachments only need file removal. Confirm the path first because this action is irreversible.
Instructions
Permanently delete a document or attachment.
For .md documents: removes the file and queues an index refresh. For attachments: only the file is deleted (no index to update). IRREVERSIBLE unless git history exists. Confirm the path with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path to the document or attachment to delete. | |
| if_match | No | Optional etag obtained from a previous 'read' call. When provided, the deletion only proceeds if the file has not been modified since that read (optimistic concurrency). Omit to delete unconditionally. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||