delete_path
Deletes a regular file with an undo snapshot or an empty folder, requiring approval and blocking recursive deletion.
Instructions
Delete a regular file (with undo snapshot) or an EMPTY folder. Requires approval; recursive deletion is disabled.
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": {
"file": "<file>"
},
"name": "delete_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File or empty folder to delete |