Delete Directory
fc_delete_directoryDelete a directory, optionally including all contents recursively, to remove empty or non-empty directories from the filesystem.
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!
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": "fc_delete_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the directory | |
| recursive | No | Delete recursively |