sftp_upload
Upload a file from a local path to a remote path via SFTP using the provided session ID, enabling secure file transfer during SSH operations.
Instructions
Upload a file to remote system 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 |
|---|---|---|---|
| localPath | Yes | Local file path | |
| sessionId | Yes | Session ID | |
| remotePath | Yes | Remote file path |