get_callers
Returns direct callers of a target function or method with confidence tiers and exact call-site locations, so you can trace who invokes a symbol before editing or refactoring.
Instructions
Return direct callers of a target function or method with confidence tiers and exact call-site locations.
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": "get_callers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional repo-relative file path to disambiguate common short names. | |
| limit | No | Maximum caller edges to return (default 50). | |
| symbol | Yes | Target symbol name, qualified_name (e.g. pkg::Type::Method), or 32-char UID hex. | |
| include_likely | No | Include Tier 7 LIKELY_CALLS candidates (default true). |