ssh_sftp_upload
Upload a local file to a remote board over SFTP by reusing an existing SSH session. Provide the session ID, local source path, and remote destination path to transfer the file.
Instructions
Upload a local file to the remote board over SFTP, reusing an existing SSH session.
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": "ssh_sftp_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | Yes | Local source file path | |
| session_id | Yes | The session ID returned by ssh_shell_open / ssh_shell_login | |
| remote_path | Yes | Remote destination file path |