ssh_upload
Upload a local file to a remote server via SFTP for secure file transfer, ideal for sending files from your machine to a target SSH server.
Instructions
Upload a local file to a remote server via SFTP. Use this tool (NOT scp via ssh_execute) to transfer files FROM the local machine TO a remote SSH server. For server-to-server transfers, download from source first, then upload to destination.
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": {
"server_name": "<server_name>",
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "ssh_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | Yes | Local file path to upload | |
| remote_path | Yes | Remote destination path | |
| server_name | Yes | Target server name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||