Delete Note
deletePermanently remove a note or attachment from the Markdown vault by path; optionally delete only if the current version matches a supplied Etag.
Instructions
Permanently delete a note or attachment; only git history can bring it back.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the note or attachment. | |
| if_match | No | Etag from read; the file is then deleted only as that version. Omit to delete it as it is. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||