find_usages
Locate every reference to a code symbol, including calls, subtypes, and word-based textual mentions, while excluding its definition. Use it to answer who uses X at one hop.
Instructions
Every use of a symbol: calls and subtypes (from the graph when on) plus textual references that contain the name as a word, with their lines; definition excluded. Answers 'who uses X' at one hop; impact walks the chain further and adds the tests.
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": "find_usages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results. | |
| source | No | Source name. Omit when only one source applies. | |
| symbol | Yes | Identifier to find the uses of. |