find_references
Find all textual occurrences of a named symbol in the indexed corpus. Use word-boundary matching to ensure 'log' doesn't match 'logger', ideal for answering 'where is X used?' or 'who calls X?'.
Instructions
List every textual occurrence of a named symbol in the indexed corpus. Use INSTEAD of grep -n "X" when the user asks "who calls X?" or "where is X used?". Returns SymbolRef[] with path, line, snippet. Word-boundary matched, so 'log' won't return 'logger' or 'log_format'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact identifier to find references for. | |
| max | No |