ssh_upload_file
Upload a local file to a remote Linux server over SFTP using an exact configured alias, with atomic replacement and automatic backup.
Instructions
Upload a local file to the selected remote server through SFTP. The local path must be absolute; replacement is atomic and backed up by default. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias.
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": "<server>",
"localPath": "<localPath>",
"remotePath": "<remotePath>"
},
"name": "ssh_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Exact configured server alias returned by ssh_list_servers. | |
| timeout | No | Transfer timeout in seconds (1–3600), default 300. | |
| localPath | Yes | ||
| remotePath | Yes | ||
| createBackup | No |