call_hierarchy
Identify which functions call a given symbol and which it calls, using file position and optional direction. Understand code flow by tracing incoming and outgoing calls.
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 |
|---|---|---|---|
| line | Yes | ||
| column | Yes | ||
| direction | No | ||
| file_path | Yes | ||
| language_id | No |