delete_file
Remove a specified file with optional backup (.deleted extension) using the Enhanced Directory Context MCP Server for efficient file management and cleanup tasks.
Instructions
Delete a file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
backup | No | Create backup before deleting (.deleted extension) | |
path | Yes | File path relative to working directory |
Input Schema (JSON Schema)
{
"properties": {
"backup": {
"default": true,
"description": "Create backup before deleting (.deleted extension)",
"type": "boolean"
},
"path": {
"description": "File path relative to working directory",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}