read_file_section
Extract and display a specified range of lines from a file using file path and line numbers. Optionally includes line numbers for clarity, enabling precise file section retrieval.
Instructions
读取文件的指定行范围
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endLine | Yes | 结束行号(包含) | |
filePath | Yes | 带前缀的完整文件路径, e.g., '[backend/src]/main.ts' | |
showLineNumbers | No | 是否显示行号 | |
startLine | Yes | 起始行号(从1开始) |