ssh_download
Copies a remote file or directory to a local path over SFTP; set recursive=true to transfer directories.
Instructions
Copy a remote file (or directory with recursive=true) from the remote host to a local path via 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": {
"target": "<target>",
"remote_path": "<remote_path>",
"local_path": "<local_path>"
},
"name": "ssh_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| recursive | No | ||
| local_path | Yes | ||
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |