ssh_sftp_rmdir
Remove an empty directory on a remote server via SFTP. Provide the connection session ID and the remote path to delete.
Instructions
Remove an empty directory on the remote server using SFTP.
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": {
"connectionId": "<connectionId>",
"path": "<path>"
},
"name": "ssh_sftp_rmdir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | Yes | The session ID returned by ssh_connect | |
| path | Yes | Remote directory path to remove |