read_file_range
Read a specific line range from a UTF-8 text file to extract only the needed content, avoiding the overhead of reading the entire file when the relevant location is already known.
Instructions
Read a specific one-indexed line range from a UTF-8 text file. Prefer this over reading a whole file when the relevant location is already known.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_line | Yes | ||
| workspace | Yes | ||
| start_line | Yes | ||
| relative_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| end_line | Yes | ||
| truncated | Yes | ||
| workspace | Yes | ||
| start_line | Yes | ||
| relative_path | Yes |