delete_directory
Delete a directory at the given path. Optionally recursively delete all contents for complete removal.
Instructions
Delete a directory and optionally all of its contents.
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_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the directory to delete | |
| recursive | No | Delete directory recursively (default: true) |