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.
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": {
"name": "<name>",
"confirm": "<confirm>"
},
"name": "delete_note"
}
}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. |