ssh_sftp_rename
Rename or move files and directories on a remote server using an active SSH connection.
Instructions
Rename or move a file or 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>",
"oldPath": "<oldPath>",
"newPath": "<newPath>"
},
"name": "ssh_sftp_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | Yes | The session ID returned by ssh_connect | |
| oldPath | Yes | Current remote path of the file or directory | |
| newPath | Yes | New remote path for the file or directory |