Download File
file_downloadDownloads a file from a remote server to your local machine via SFTP. Specify the SSH session, remote file path, and local destination path.
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 |
|---|---|---|---|
| sessionId | Yes | SSH session ID | |
| remotePath | Yes | Remote file path | |
| localPath | Yes | Local file path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||