ssh_download_file
Download files from a remote server to your local machine using SFTP. Provide the session ID and file paths to transfer files securely.
Instructions
Download a file from the remote host to the local machine via SFTP.
Args: session_id: The session ID returned by ssh_connect. remote_path: Path to the file on the remote host. local_path: Destination path on the local machine.
Returns: Confirmation message with file size.
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": {
"session_id": "<session_id>",
"remote_path": "<remote_path>",
"local_path": "<local_path>"
},
"name": "ssh_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| remote_path | Yes | ||
| local_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |