spec_nav_callers
Find call sites of a function or method across a repo before changing its signature or behavior. Narrow results by class, file, or service and separate confirmed from uncertain sites.
Instructions
Call sites of a function or method across the repo, before changing its signature or behaviour. Narrow with "Class.method", className or file. TS/JS (and Vue/Svelte/Astro) are resolved with the type checker, so same-named methods on other classes are excluded; other languages are bound by evidence and each site's reason says which. likely, ambiguous, unresolved and dynamic sites are listed apart and are not confirmed callers. exhaustive is true only when type-checked targets have nothing left open; names computed at runtime, HTTP/RPC/queue calls and code outside the repo are never counted. Paged: partial names what is not shown yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File declaring the function, relative to the root (narrows the target). | |
| limit | No | Sites per page (default 100). | |
| cursor | No | The nextCursor from the previous page. Repeat the other arguments unchanged. | |
| format | No | "text" (default, compact) or "json" (structured). | |
| symbol | Yes | Function or method name, e.g. "recordHistory" or "OrderService.recordHistory" | |
| service | No | Where the function is declared (narrows which declaration is meant). Call sites are searched repo-wide. | |
| className | No | Class (or object/namespace) declaring the method. | |
| searchServices | No | Services/directories relative to the root (e.g. "services/api"); "." is the root project's own files. Default: the whole repo. |