ssh_scp_from
Download files or directories from a remote SSH host to your local machine via SCP, reusing multiplexed SSH connections when enabled.
Instructions
Download a remote file or directory to the local machine via scp (reuses the multiplexed SSH connection when mux is enabled).
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_scp_from"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | SSH target in the form user@host[:port]. Uses the local SSH config and keys. | |
| recursive | No | Required when remote_path is a directory. | |
| local_path | Yes | Absolute or relative path on the local machine. | |
| timeout_ms | No | ||
| remote_path | Yes | Absolute or relative path on the remote host. |