Implement 'Delete file/directory' functionality

The MCP server now supports safe deletion of files and directories from
the Obsidian vault. A required confirmation parameter prevents accidental
deletions.
This commit is contained in:
Nando Thomassen
2025-03-29 22:29:01 +01:00
parent a86a6de1f4
commit 3f22521b01
4 changed files with 63 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ The server implements multiple tools to interact with Obsidian:
- search: Search for documents matching a specified text query across all files in the vault
- patch_content: Insert content into an existing note relative to a heading, block reference, or frontmatter field.
- append_content: Append content to a new or existing file in the vault.
- delete_file: Delete a file or directory from your vault.
### Example prompts