delete_file
Remove a specific file from the local filesystem using its path. Accepts relative or absolute paths to securely delete files via the Filesystem MCP Server.
Instructions
Removes a specific file. Accepts relative or absolute paths.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path | Yes | The path to the file to delete. Can be relative or absolute (resolved like readFile). |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"path": {
"description": "The path to the file to delete. Can be relative or absolute (resolved like readFile).",
"minLength": 1,
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}