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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path to the file to delete. Can be relative or absolute (resolved like readFile). |