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