getCallHierarchy
Retrieve the call hierarchy for a function or method to find callers, callees, or both, using file location and direction parameters.
Instructions
Get the call hierarchy for a function or method. Use direction="incoming" to find callers, "outgoing" to see everything it calls, or "both" (default).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Workspace or absolute path | |
| line | Yes | Line number (1-based) | |
| column | Yes | Column (1-based) | |
| direction | No | "incoming"=callers, "outgoing"=callees, "both"=all (default) | |
| maxResults | No | Max callers/callees per direction (default: 50, max: 200) | |
| cursor | No | Cursor from previous call's nextCursor. Omit on first call. |