Find Callers
localnest_find_callersFind all call sites of a function or method in indexed files. Returns file path, line number, and surrounding context for each call.
Instructions
Find every call site of a function or method across indexed files. Returns file path, line number, and surrounding context for each call. Requires the project to be indexed first via localnest_index_project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The function or method name to find callers of | |
| project_path | No | Scope search to a specific project | |
| language | No | Filter by language: typescript, javascript, python, go, rust | |
| max_results | No | ||
| response_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |