sftp_read
Read the contents of a remote file over an SSH/SFTP session by specifying the session ID and file path, with optional encoding.
Instructions
Read contents of a 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": {
"sessionId": "<sessionId>",
"path": "<path>"
},
"name": "sftp_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Remote file path | |
| encoding | No | File encoding | utf-8 |
| sessionId | Yes | SSH session ID |