sftp_download
Downloads files from remote servers via SFTP. Provide the connection ID, remote path, and absolute local path to save the file.
Instructions
[SSH Operations] Download file from remote host via SFTP
Example usage:
{
"connectionId": "raspberry-pi",
"remotePath": "/home/pi/file.txt",
"localPath": "C:\\downloads\\file.txt"
}Security: Local path must be absolute. Creates parent directories if needed.
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": {
"connectionId": "<connectionId>",
"remotePath": "<remotePath>",
"localPath": "<localPath>"
},
"name": "sftp_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | Absolute path where file will be saved locally | |
| remotePath | Yes | Absolute path to remote file to download | |
| connectionId | Yes | ID of the SSH connection to use |