delete_file
Delete a file while automatically creating a backup first to prevent accidental data loss.
Instructions
Delete a file. Creates backup before deletion by default.
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 | File path to delete | |
| create_backup | No | Create backup before deletion (default: true) |