read_file_lines
Read specific sections of large files with line numbers using offset and limit parameters. Provides numbered output similar to 'cat -n' for easy navigation and reference.
Instructions
Read a file with line numbers, supporting offset and limit for navigating large files. Returns content formatted like 'cat -n'. Use this instead of read_file when you need line numbers or want to read a specific section. Requires allow_file_read in ~/.syscontrol/config.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or home-relative path to the file. | |
| limit | No | Maximum number of lines to return (1–2000, default 200). | |
| offset | No | 1-based line number to start reading from (default 1). |