read_file
Read the contents of a remote file over SFTP, with an optional size limit to control output.
Instructions
Read a remote file's contents over SFTP (size-capped).
Args: host: Alias of a configured host. path: Absolute or relative remote path. max_bytes: Max bytes to read (defaults to policy max_output_bytes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| path | Yes | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||