AiDD MCP Server

delete_file

Delete a file or empty directory from the file system. Use with caution as this operation cannot be undone. For safety, this tool will not delete non-empty directories. Only works within the allowed directory. Example: path='old_file.txt' removes the specified file.

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the file or empty directory to delete

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "Path to the file or empty directory to delete", "type": "string" } }, "required": [ "path" ], "type": "object" }