sftp_download
Pull remote files or directories to local machine over SFTP for offline log, config, or artifact analysis. Requires host, remotePath, localPath; respects configured root restrictions.
Instructions
Download a remote file or directory to the local machine over SFTP. Use to pull logs, config or artifacts for offline analysis. remotePath and localPath are both plain paths; if the host sets downloadRoots/localRoots, each must sit inside its list.
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": {
"host": "<host>",
"remotePath": "<remotePath>",
"localPath": "<localPath>"
},
"name": "sftp_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| localPath | Yes | ||
| overwrite | No | ||
| remotePath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||