ssh_download
Download a remote file over SFTP to a local destination using an atomic .part-then-rename process, preventing incomplete files.
Instructions
Download a remote file via SFTP (parallel fastGet to a .part file, then renamed over the target: no half files). Same local path policy as ssh_upload. Returns one line: path, bytes, ms.
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>",
"remote_path": "<remote_path>",
"local_path": "<local_path>"
},
"name": "ssh_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Server alias from config.json (case-insensitive). Known aliases: (none configured) | |
| local_path | Yes | Local destination (file path, or directory ending with / or \) | |
| remote_path | Yes | Remote file path to download |