obsidian_delete_file
Deletes a file or folder from an Obsidian vault, moving it to the system trash by default; enable permanent deletion when needed.
Instructions
Delete a file or folder (moves to system trash by default).
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": "obsidian_delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file/folder to delete | |
| permanent | No | Permanently delete instead of moving to trash (default: false) |