sftp_download
Downloads a file from a remote server to a local path via SFTP. Requires session ID, remote path, local path, and optional overwrite flag.
Instructions
Download a file from the remote server to local via 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": {
"sessionId": "<sessionId>",
"remotePath": "<remotePath>",
"localPath": "<localPath>"
},
"name": "sftp_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | SSH session ID | |
| remotePath | Yes | Remote file path to download | |
| localPath | Yes | Local destination path | |
| overwrite | No | Overwrite if exists |