read_file_lines
Read a specified range of lines from a file, or find lines around a search pattern with configurable context.
Instructions
Read specific line ranges from a file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to file | |
| projectRoot | Yes | Project root for security boundary | |
| startLine | No | Starting line number (1-indexed) | |
| endLine | No | Ending line number (1-indexed) | |
| aroundPattern | No | Search pattern to find and return surrounding lines | |
| contextLines | No | Number of lines before/after pattern (default: 5) |