ssh_upload_file
Upload a local file to a remote server via an active SSH connection. Specify the local file path and the remote destination directory.
Instructions
上传文件到远程服务器
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": {
"connection_id": "<connection_id>",
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "ssh_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | SSH连接ID | |
| local_path | Yes | 本地文件路径 | |
| remote_path | Yes | 远程文件路径 |