find_callers
Find every caller of a function or method by providing its name or ID, returning call sites to trace code dependencies.
Instructions
Find callers of a function/method. Accepts either a name (auto-resolves; returns callers across all matches with target_id set) or a full entity id.
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_or_id": "<name_or_id>"
},
"name": "find_callers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_id | No | ||
| name_or_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |