Get References
get_referencesFind all definition and usage references for symbols in TypeScript projects by specifying file location, enabling code navigation and analysis without IDE integration.
Instructions
Resolve project-aware definition and usage references for the symbol at a 1-based line and column in a file.
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": {
"file": "<file>",
"line": "<line>",
"column": "<column>"
},
"name": "get_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| workspaceRoot | No | ||
| projectTsconfigPath | No | ||
| line | Yes | ||
| column | Yes |