ssh_upload
Upload a local file to a remote server via SSH and verify that the transferred file matches the original.
Instructions
Залить локальный файл на сервер и проверить, что он долетел целым.
Для содержимого, которое вы сами составили, лучше ssh_file_write — он идемпотентен, умеет проверку конфига и делает резервную копию.
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>",
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "ssh_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| mkdir | No | ||
| server | Yes | ||
| local_path | Yes | ||
| remote_path | Yes |