obsidian_delete_file
Remove files or directories from an Obsidian vault by specifying the filepath and confirming the deletion. Part of the Advanced Obsidian MCP Server for vault management tasks.
Instructions
Delete a file or directory from the vault.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
confirm | Yes | Confirmation to delete the file (must be true) | |
filepath | Yes | Path to the file or directory to delete (relative to vault root) |
Input Schema (JSON Schema)
{
"properties": {
"confirm": {
"default": false,
"description": "Confirmation to delete the file (must be true)",
"type": "boolean"
},
"filepath": {
"description": "Path to the file or directory to delete (relative to vault root)",
"format": "path",
"type": "string"
}
},
"required": [
"filepath",
"confirm"
],
"type": "object"
}