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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "atr_read_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). |