exact_references
Find who calls or references a symbol, disambiguate same-named symbols in TS/JS, and get labeled calls/imports with per-file totals and warnings before applying limits.
Instructions
Find who calls or references a symbol. TS/JS compiler bindings exclude same-named unrelated symbols; results label calls/imports and give per-file call totals before limits. Check scope, ambiguity and warnings. Python is heuristic; imported SCIP freshness is unverified.
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": {
"symbol_name": "<symbol_name>"
},
"name": "exact_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Definition file; omit to infer. | |
| line | No | 1-based symbol line. Omit to infer a declaration; when several match, the response warns about the chosen candidate. Pass file and line to disambiguate. | |
| root | No | Absolute project root. Omit only where this session started; required elsewhere and on every subagent call. | |
| limit | No | Shown occurrences; default 100. | |
| format | No | Default text. | |
| symbol_name | Yes |