transfer_file
Upload or download files between local and remote SSH servers with security policies, size limits, and required justifications for downloads.
Instructions
Upload or download a file to/from a remote host.
Enforces path policy, blocked extensions, and size limits. Downloads require a justification string. For uploads, provide local_path (the file to upload).
Pass session_id from ssh_connect to reuse a persistent connection.
Risk level: medium-high (requires user confirmation).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_id | Yes | ||
| direction | Yes | ||
| remote_path | Yes | ||
| local_path | No | ||
| justification | No | ||
| session_id | No |