sftp_rename
Rename or move a file or directory on a remote server over SFTP by providing its current and new paths.
Instructions
Rename or move a file/directory on 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": {
"old_path": "<old_path>",
"new_path": "<new_path>"
},
"name": "sftp_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Abort this SFTP operation if it makes no progress for this many milliseconds | |
| new_path | Yes | New path for the file/directory | |
| old_path | Yes | Current path of the file/directory | |
| session_id | No | Session ID (optional if using pre-configured server) |