ssh_session_download_content
Download a remote file's content as base64 through an active SSH session. Provide session ID and remote path to retrieve file data for analysis or processing.
Instructions
Download file content from a remote host via SSH as base64.
Args: session_id: The SSH session ID remote_path: Path to the file on the remote host
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>"
},
"name": "ssh_session_download_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |