ssh_upload
Upload files or directories to a remote host via SFTP. Specify local and remote paths, and optionally set recursive upload, user, port, SSH key, and jump host.
Instructions
Upload a file or tree to a remote host via SFTP.
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>",
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "ssh_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| local_path | Yes | ||
| remote_path | Yes | ||
| recursive | No | ||
| user | No | ||
| port | No | ||
| key_path | No | ||
| known_hosts | No | ||
| jump | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |