delete_file
Delete a file from an Obsidian vault by providing its path relative to the vault root. Permanently removes the note, simplifying vault cleanup.
Instructions
Delete a file from the vault
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": {
"filename": "<filename>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Path to the file relative to vault root |