Delete Directory
delete-directoryRemove an unwanted directory from your FTP server by specifying its remote path. Use this to clean up old folders and free space on the server.
Instructions
Delete a directory from the FTP server
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": {
"remotePath": "<remotePath>"
},
"name": "delete-directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remotePath | Yes | Path of the directory to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | ||
| remotePath | Yes |