Upload File
file_uploadUploads a local file to a remote server over SFTP. Provide the local path, remote path, and session ID to transfer files securely.
Instructions
Uploads a local file to the remote host over 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": "file_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | SSH session ID | |
| localPath | Yes | Local file path | |
| remotePath | Yes | Remote file path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||