who_calls
Find all symbols that call a specified function or component ID, using reverse lookup to trace incoming call edges in a TypeScript/React codebase.
Instructions
Reverse lookup: which symbols call the given function/component id (incoming calls edges)
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": {
"id": "<id>"
},
"name": "who_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Symbol node id (e.g. fn:src/util.ts#helper) | |
| root | No | Repo root (defaults to cwd) |