call_hierarchy
Analyze code flow by displaying callers and callees for a symbol. Choose incoming, outgoing, or both directions to trace function relationships.
Instructions
Show call hierarchy for a symbol at a position. Returns callers (incoming), callees (outgoing), or both depending on the direction parameter. Direction defaults to "both". Use this to understand code flow -- which functions call this function and which functions it calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| language_id | No | ||
| line | Yes | ||
| column | Yes | ||
| direction | No |