sftp_upload
Upload a local file to a remote server via SFTP. Provide session ID, local path, and remote destination path.
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 |
|---|---|---|---|
| localPath | Yes | Path to the local file to upload | |
| sessionId | Yes | Session ID from ssh_connect | |
| remotePath | Yes | Destination path on the remote server |