nav_callHierarchy
Get incoming callers or outgoing callees for a symbol using live language server data. Falls back to static analysis when needed.
Instructions
Live call hierarchy (incoming callers or outgoing callees) from the language server. Position must be on the symbol name — use resolve(nodeId) to get one. Falls back to nav_references / static map call edges when the server lacks call-hierarchy support (response carries source:'fallback-*' and a warning).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | 1-based column (UTF-16 units) | |
| file | Yes | Repo-relative path, posix separators | |
| line | Yes | 1-based line | |
| depth | No | ||
| direction | Yes | ||
| tokenBudget | No | Max tokens for the response. Lists are truncated to fit, with a note saying what was dropped and how to get it back. |