sftp_read_file
Read a remote file over SFTP with line range slicing and SHA-256 checksum verification to confirm content integrity.
Instructions
Safely read remote file with line range slicing (startLine/endLine) and SHA-256 integrity checksum.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional SSH connection target. If omitted, uses default profile (homelab). | |
| endLine | No | 1-indexed ending line. | |
| filePath | Yes | Absolute remote file path. | |
| maxBytes | No | Max bytes to read. | |
| startLine | No | 1-indexed starting line. |