Read File Lines
read_file_linesRead a specific range of lines from a file, useful for accessing large files without loading the entire content.
Instructions
Read a specific line range from a file. Useful for large files where reading the whole thing would exceed limits.
Args:
path (string): Path to the file.
start_line (number): 1-indexed starting line (inclusive).
end_line (number): 1-indexed ending line (inclusive).
Returns: the requested lines, each prefixed with its line number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file | |
| end_line | Yes | 1-indexed ending line, inclusive | |
| start_line | Yes | 1-indexed starting line, inclusive |