sftp_upload
Upload a local file to a remote server via SFTP, specifying session, local path, remote path, and optional overwrite.
Instructions
Upload a local file to the remote server 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": {
"sessionId": "<sessionId>",
"localPath": "<localPath>",
"remotePath": "<remotePath>"
},
"name": "sftp_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | SSH session ID | |
| localPath | Yes | Local file path to upload | |
| remotePath | Yes | Remote destination path | |
| overwrite | No | Overwrite if exists |