AiDD MCP Server

delete_file

Remove a file or empty directory from the file system, ensuring operations stay within allowed directories. Prevents deletion of non-empty directories for safety. Use with caution—this action is irreversible.

Instructions

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" }
ID: mpixtij6se