Rename Remote Path
fs_renameRenames or moves a file or directory within an active SSH session. Provide source and destination paths to relocate or rename items.
Instructions
Renames or moves a file/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": {
"sessionId": "<sessionId>",
"from": "<from>",
"to": "<to>"
},
"name": "fs_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination path | |
| from | Yes | Source path | |
| sessionId | Yes | SSH session ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |