Download File
file_downloadDownloads a file from a remote server to your local machine over SFTP using an active SSH session.
Instructions
Downloads a remote file to the local machine over SFTP
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": {
"sessionId": "<sessionId>",
"remotePath": "<remotePath>",
"localPath": "<localPath>"
},
"name": "file_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | Local file path | |
| sessionId | Yes | SSH session ID | |
| remotePath | Yes | Remote file path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | ||
| sha256 | Yes | ||
| success | Yes | ||
| filename | Yes | ||
| verified | Yes | ||
| durationMs | Yes | ||
| averageSpeed | Yes |