sftp_download
Download a file from a remote SSH host to a specified local path using an existing connection. Specify remotePath and localPath to transfer files securely over SFTP.
Instructions
将远程主机上的文件快速下载到宿主机本地指定路径
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": {
"remotePath": "<remotePath>",
"localPath": "<localPath>"
},
"name": "sftp_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | 保存到宿主机本地的绝对路径 | |
| remotePath | Yes | 待下载的远程主机文件绝对路径 | |
| connectionId | No | 目标连接标识符,缺省时使用当前默认连接 |