Rename / Move
rename-fileChange the name or location of a file or directory on an FTP server by specifying the current path and the new path.
Instructions
Rename or move a file or directory on the FTP 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": {
"fromPath": "<fromPath>",
"toPath": "<toPath>"
},
"name": "rename-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toPath | Yes | New path for the file or directory | |
| fromPath | Yes | Current path of the file or directory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toPath | Yes | ||
| renamed | Yes | ||
| fromPath | Yes |