Read a remote file as text (SFTP)
read_remote_fileRead up to 10MB of a remote file as UTF-8 text, with automatic redaction of known secrets. Ideal for secure file inspection over SSH.
Instructions
Read up to maxBytes of a remote file as UTF-8 text. Content is redacted for known secret patterns before being returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxBytes | No | Maximum bytes to read (default 200000, hard cap 10000000). | |
| remotePath | Yes | ||
| connectionName | Yes |