Upload File
file_uploadUpload a local file to a remote host over SFTP. Provide session ID, local path, and remote path.
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 |
|---|---|---|---|
| localPath | Yes | Local file path | |
| sessionId | Yes | SSH session ID | |
| remotePath | Yes | Remote file path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | ||
| sha256 | Yes | ||
| success | Yes | ||
| filename | Yes | ||
| verified | Yes | ||
| durationMs | Yes | ||
| averageSpeed | Yes |