ftp_rmdir
Remove a remote directory over FTP/FTPS/SFTP, optionally recursive. Specify connection and remote path to delete the directory and its contents.
Instructions
Remove a remote directory
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": {
"connection": "<connection>",
"path": "<path>"
},
"name": "ftp_rmdir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Remote directory path to remove | |
| recursive | No | Remove directory and all contents (default: false) | |
| connection | Yes | Connection name |