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:
@@ -47,6 +47,7 @@ add_tool_handler(tools.GetFileContentsToolHandler())
|
||||
add_tool_handler(tools.SearchToolHandler())
|
||||
add_tool_handler(tools.PatchContentToolHandler())
|
||||
add_tool_handler(tools.AppendContentToolHandler())
|
||||
add_tool_handler(tools.DeleteFileToolHandler())
|
||||
add_tool_handler(tools.ComplexSearchToolHandler())
|
||||
add_tool_handler(tools.BatchGetFileContentsToolHandler())
|
||||
add_tool_handler(tools.PeriodicNotesToolHandler())
|
||||
|
Reference in New Issue
Block a user