atr_search_code
Locate definitions or usages with regex before opening files, returning matches grouped by path and line; add surrounding context to answer without reading whole files.
Instructions
Find where something is defined or used, before reading any file. Regex, grouped by file (path:line: text); context=3 shows the lines around each hit, often enough to answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Only these files, e.g. *.py or src/**/*.ts | |
| path | No | Folder (default: the project). | |
| budget | No | ||
| context | No | Lines to show around each match (default 0, try 3). | |
| pattern | Yes |