ssh_download_file
Download a remote file over SFTP to an exact local path, with overwrite disabled by default.
Instructions
Stream one remote file to an exact local path via SFTP. Local paths are relative to the MCP server startup directory. Transfers directly without a confirmation dialog. overwrite defaults to false.
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": {
"hostId": "<hostId>",
"remotePath": "<remotePath>",
"localPath": "<localPath>"
},
"name": "ssh_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostId | Yes | Required stable host ID returned by ssh_list_hosts. Names are not accepted. | |
| localPath | Yes | ||
| overwrite | No | ||
| remotePath | Yes |