delete_directory
Delete a directory on WD MyCloud. Optionally, enable recursive mode to remove all contents along with the directory.
Instructions
Delete a directory on WD MyCloud.
Args: path: Relative path to the directory. recursive: If True, delete directory and all contents.
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 | ||
| recursive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |