ftp_rmdir
Delete a remote directory from an FTP or SFTP server. Supports recursive removal of all files and subdirectories.
Instructions
Delete a directory from the remote 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": {
"path": "<path>"
},
"name": "ftp_rmdir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The remote directory path to remove. | |
| recursive | No | If true, deletes all files and subdirectories within the target directory. |