who_calls
Find every call site of a function or method across a project and return the calling function and line number; matches by name, so same-named methods are listed together.
Instructions
Every call site of a function/method across the project, with the calling function and the line. Matched by name, so same-named methods on different classes are listed together.
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": {
"name": "<name>"
},
"name": "who_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |