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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| localPath | Yes | ||
| overwrite | No | ||
| remotePath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||