read_file
Reads file contents from local storage, with options to specify a line range (1-based) and encoding (utf8, base64, or hex). Useful for accessing specific portions of a file.
Instructions
Read file contents. Supports line range (1-based).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path. | |
| encoding | No | Encoding: utf8|base64|hex. Default: utf8. | |
| end_line | No | Last line (1-based, inclusive). | |
| start_line | No | First line (1-based). |