ssh_upload
Copies local files or directories to a remote host via SFTP, enabling recursive transfer when needed.
Instructions
Copy a local file (or directory with recursive=true) to the remote host via SFTP.
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": {
"target": "<target>",
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "ssh_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| recursive | No | ||
| local_path | Yes | ||
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |