sftp_read
Read a remote file's contents over SFTP using a connection ID and absolute path. Retrieves file data from a connected host for diagnostics or inspection.
Instructions
Read the contents of a file on a connected remote host via SFTP.
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": {
"connectionId": "<connectionId>",
"remotePath": "<remotePath>"
},
"name": "sftp_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remotePath | Yes | Absolute path to the remote file | |
| connectionId | Yes | The connection ID |