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).
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_id": "<host_id>",
"direction": "<direction>",
"remote_path": "<remote_path>"
},
"name": "transfer_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_id | Yes | ||
| direction | Yes | ||
| remote_path | Yes | ||
| local_path | No | ||
| justification | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||