ssh_download_file
Download a file from a remote server to your local machine over SFTP. Specify host, credentials, and paths to initiate the transfer securely.
Instructions
Download a remote file to local host via SFTP channel.
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": {
"host": "<host>",
"username": "<username>",
"remotePath": "<remotePath>",
"localPath": "<localPath>"
},
"name": "ssh_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Target host IP or domain | |
| port | No | SSH port | |
| password | No | SSH password | |
| username | Yes | SSH username | |
| localPath | Yes | Local destination path | |
| remotePath | Yes | Remote file path to download | |
| privateKeyPath | No | Path to private key |