sftp_read
Read a remote file's contents over SFTP. Provide session ID and file path to retrieve the data.
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 |
|---|---|---|---|
| sessionId | Yes | SSH session ID | |
| path | Yes | Remote file path | |
| encoding | No | File encoding | utf-8 |