read_lines
Read specific lines from a large text file by specifying start and end line numbers. Helps access file sections without loading the entire file.
Instructions
Read a slice of lines from a text file — useful for files too large for read_file to return whole.
Args: path: File path relative to the root. start: First line to read (1-based). end: Last line to read (inclusive). 0 means "to end of file".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| start | No | ||
| end | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |