usages
Finds every file, line, and column where a function, class, type, or constant is used, including imports, re-exports, aliases, calls, types, and references, and flags unresolved method calls.
Instructions
Every place that uses one function, class, type or constant, through re-exports and aliases: by file, with line:column and the kind of use (import, re-export, call, type, extends, reference); method calls whose receiver type is not in sight are marked unresolved.
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": "<symbol>"
},
"name": "usages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | List everything instead of stopping at 200 items. | |
| symbol | Yes | Name, <file>::Name or <file>::Class.method (a file path or module ID). |