ssh_download_file
Download and read a file from a remote host via SFTP. Retrieve text content of a remote file by specifying its path.
Instructions
Download and read a file from the remote host via SFTP.
Retrieve the text content of a file from the connected remote server.
Args: remote_path: Path to the file on the remote host.
Returns: The text content of the remote file.
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": {
"remote_path": "<remote_path>"
},
"name": "ssh_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |