transfer_file
Transfer files between local and remote servers via SFTP, supporting upload and download directions with specified file paths.
Instructions
Transfer a file between local machine and remote server via SFTP. Use direction=upload to send, direction=download to receive.
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": {
"server": "<server>",
"direction": "<direction>",
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "transfer_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Human-readable explanation of what is being transferred and why (for audit log) | |
| server | Yes | Server name | |
| direction | Yes | Transfer direction | |
| local_path | Yes | Local file path | |
| remote_path | Yes | Remote file path |