upload
Upload a local file to a remote SSH server with an active session. Provide session ID, local path, and remote path to securely transfer the file.
Instructions
Upload file to SSH server
Args:
session_id: Session ID
local_path: Local file path
remote_path: Remote file path
Returns:
Dictionary containing upload status information
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": {
"session_id": "<session_id>",
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | Yes | ||
| session_id | Yes | ||
| remote_path | Yes |