delete_directory
Remove a directory by path. Enable recursive mode to delete non-empty directories and their contents.
Instructions
Delete directory. Set recursive=true for non-empty.
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 | Directory path. | |
| recursive | No | Delete non-empty. Default: false. |