upload_file
Upload a local file to a remote server using local and remote paths. Supports MD5 dedup to skip identical files and async mode for large transfers.
Instructions
Upload local file to remote server (path-based, zero token cost. Use async mode for large files)
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_id": "<server_id>",
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | Server ID (configured server_id or host:port from quick_connect) | |
| skip_same | No | MD5 dedup: skip upload if remote file has same MD5, saving bandwidth and time | |
| local_path | Yes | Local file absolute path | |
| remote_path | Yes | Remote destination path | |
| async_transfer | No | Recommended for large files. Runs in background and returns task ID. Use transfer_status to check progress |