read_file
Read the contents of a file by specifying its path, with optional start and end lines to limit the output to a range.
Instructions
Read the contents of a file. Optionally specify a line range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path (absolute or relative to workspace root) | |
| start_line | No | First line to read (1-indexed, inclusive) | |
| end_line | No | Last line to read (1-indexed, inclusive) | |
| workspace_root | No | Workspace root directory (optional) |