read_file
Read file contents as text or base64, with option to read only first N lines.
Instructions
Read the contents of a file. Can read as UTF-8 text or base64 encoded. Optionally read only the first N lines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to read | |
| encoding | No | Encoding to use when reading the file | utf8 |
| lines | No | Read only the first N lines |