Documentación

ctx_callgraph - Tool Reference

Unified call graph query. direction=callers|callees for a symbol. Returns file/symbol/line edges.

ctx_callgraph Analysis & Navigation

Unified call graph query. direction=callers|callees for a symbol. Returns file/symbol/line edges.

Parameters
3
Required
1
Token Impact
Focused call-chain output avoids broad graph reads and reduces context volume.

When to Use

Unified entry point for caller/callee analysis when tracing impact of code changes.

When Not to Use

When you need full architecture graphs (use ctx_graph or ctx_architecture).

Parameters

Parameter Type Required Description
direction string No callers|callees (default: callers)
file string No Optional: scope to a specific file
symbol string Yes Symbol name to inspect

Related Tools

Schema MD5: 98958fb65fc046df77d9874c8a705b5e ← Back to all tools