Read Large File by Line Range
read_local_file_chunkFetch a specific line range from a large file by specifying start and end lines, reducing memory and context usage.
Instructions
Reads a specific line range from a large file. Use startLine and endLine to fetch only the section you need, reducing memory usage and context size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endLine | Yes | Ending line number (1-indexed, inclusive) | |
| filePath | Yes | Relative file path to the file (e.g., src/index.ts) | |
| maxLines | No | Maximum lines to return per request. Defaults to 1000. | |
| repoPath | Yes | Github repository base path | |
| startLine | Yes | Starting line number (1-indexed) |