delete_path
Delete files and directories with support for recursive removal of non-empty folders.
Instructions
Delete a file or directory.
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_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or directory path to delete | |
| recursive | No | Required true to delete non-empty directories | |
| workspace_root | No | Workspace root directory (optional) |