Answers the question "what does this function call?" by traversing the call graph downward. Shows direct callees and, with increased depth, their callees in turn.
Useful for understanding what a function depends on and what side effects it might trigger.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
uri | string | yes | — | File path of the function to look up |
line | number | yes | — | Line number where the function is defined |
depth | number | no | 3 | How many levels of transitive callees to follow (1 = direct callees only) |
Natural language:
What functions does
handleLoginin src/routes/auth.ts call?
MCP call:
{
"tool": "stellarion_get_callees",
"arguments": {
"uri": "src/routes/auth.ts",
"line": 23,
"depth": 1
}
}
Natural language:
Show me the complete call tree for
processOrderin src/orders/service.py, 4 levels deep
MCP call:
{
"tool": "stellarion_get_callees",
"arguments": {
"uri": "src/orders/service.py",
"line": 55,
"depth": 4
}
}
Natural language:
What does
syncUserscall? I want to see if it hits the database.
MCP call:
{
"tool": "stellarion_get_callees",
"arguments": {
"uri": "src/sync/users.rs",
"line": 12,
"depth": 2
}
}
Returns a tree of callee relationships:
depth: 1 for a quick overview, then increase depth to trace specific branches.stellarion_get_callers for a complete picture of a function's role in the codebase.stellarion_get_detailed_symbol instead.