Upload Files/Directory
uploadTransfer a file or directory to a remote machine using SSH. Detects conflicting files and requires a confirmation code before overwriting.
Instructions
Upload a file or directory to the remote machine. Refuses to overwrite unless confirm_code is provided after a conflict preview.
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": {
"machine": "<machine>",
"localPath": "<localPath>",
"remotePath": "<remotePath>"
},
"name": "upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| machine | Yes | ||
| localPath | Yes | ||
| remotePath | Yes | ||
| confirm_code | No |