delete_directory
Remove directories from your project to clean up file systems and manage workspace organization. This tool deletes specified folders, helping developers maintain efficient codebases.
Instructions
Deletes a directory at the specified path within the project.
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": {
"dirpath": "<dirpath>"
},
"name": "delete_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dirpath | Yes | The path to the directory to delete (can be absolute or relative to project root). |