atr_read_file
Read only the needed parts of a local file by line range or regex search; for large code files without filters, returns an outline instead of full text.
Instructions
Read part of a local file. Pass lines= (e.g. from a search hit) or search= to get only what you need; with just a path, big code files return an outline instead of the whole file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| fresh | No | Send the full text even if you read it before. | |
| lines | No | Line range, e.g. 120-180. | |
| budget | No | ||
| search | No | Regex: only matching lines, with line numbers. | |
| context | No | Lines around each search match (default 0). |