Read snippet
read_snippetRead a specific line range from a file to retrieve additional context beyond an initial snippet, limited to 300 lines per call.
Instructions
Read an explicit line range from a single file inside root. Use this only after search_code narrows down a location and the returned snippet isn't enough context. Capped at 300 lines per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path, relative to root (or absolute, but must resolve inside root) | |
| root | Yes | Absolute path to the repository root | |
| endLine | Yes | 1-based end line, inclusive | |
| startLine | Yes | 1-based start line, inclusive |