Delete Directory
fc_delete_directoryDelete a directory safely or recursively with all contents, using path and optional recursive flag. Irreversible when recursive is true.
Instructions
Deletes a directory.
Args:
path (string): Path to the directory
recursive (boolean): Delete non-empty directories too
Warning: With recursive=true ALL contents are irreversibly deleted!
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the directory | |
| recursive | No | Delete recursively |