find_references
Identify type-checked references and callers of a symbol. Unlike grep, this resolves homonyms via type information, so ambiguous names return candidate matches without a prior lookup.
Instructions
Who calls or references a symbol. Type-checked, not name-matched: grep cannot separate homonyms, and an empty answer means nobody calls it. A bare name suffices: an ambiguous one returns its candidates, so no lookup call first. view: "files" answers which files without a line each.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | No | ||
| repo | No | ||
| view | No | ||
| limit | No | ||
| cursor | No | ||
| language | No | ||
| direction | No | ||
| confidence | No | ||
| edge_kinds | No | ||
| repository | No | ||
| stable_key | No | ||
| qualified_name | No | ||
| include_derived | No | ||
| response_format | No |