who_calls_this
Find which functions call a symbol or which symbols it calls using reference-graph data, returning file paths, signatures, and line numbers for each reference.
Instructions
Returns symbol-level references: callers (direction=to) or callees (direction=from). Based on the reference graph, not text matching. Each reference includes file path, signature, and line number.
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_id": "<symbol_id>"
},
"name": "who_calls_this"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | to=callers, from=callees | to |
| symbol_id | Yes | Symbol identifier (from search_symbols or get_file_outline results) |