delete_path
Remove a file or directory from the local filesystem. Set recursive true to delete directories; undo changes with checkpoint_rewind.
Instructions
Delete a file, or a directory when recursive is true. Undoable with checkpoint_rewind.
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 | Path | |
| recursive | No | ||
| allowPartialUndo | No | Proceed even if the change is too large to snapshot completely (undo would be partial) |