read_file_section
Extracts specific line ranges from a file in local repositories, enabling targeted code analysis without manual uploads. Supports file path, start and end lines, and optional line number display.
Instructions
读取文件的指定行范围
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endLine | Yes | 结束行号(包含) | |
filePath | Yes | 带前缀的完整文件路径, e.g., '[backend/src]/main.ts' | |
showLineNumbers | No | 是否显示行号 | |
startLine | Yes | 起始行号(从1开始) |