Delete one project file with backup
delete_fileDeletes a regular file only after verifying its SHA-256 hash, with automatic backup retention for safety.
Instructions
Deletes one regular file after hash verification. A backup is retained under LocalDev MCP logs/backups.
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": {
"project": "<project>",
"path": "<path>",
"expectedSha256": "<expectedSha256>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| project | Yes | Project key from list_projects. | |
| expectedSha256 | Yes |