fs_delete_directory
Remove directories and optionally delete all contents recursively to manage file system structure during development.
Instructions
Delete a directory. Can recursively delete all contents. WARNING: Use with caution as this is irreversible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the directory to delete | |
| recursive | No | Delete directory and all contents recursively |
Input Schema (JSON Schema)
{
"properties": {
"path": {
"description": "Absolute or relative path to the directory to delete",
"type": "string"
},
"recursive": {
"default": false,
"description": "Delete directory and all contents recursively",
"type": "boolean"
}
},
"required": [
"path"
],
"type": "object"
}