get_type_definition
Jump to the type declaration of a symbol, landing on its type interface instead of the variable itself. Target by symbol name or file/line/column coordinates.
Instructions
Jump to the declaration of a symbol's TYPE rather than of the symbol itself. For const u = getUser() this lands on the User interface, where get_definition lands on the variable. Target it either by "symbol" name (preferred: no need to know coordinates) or by explicit file/line/column.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to the file (relative to project root) | |
| line | No | Line number (1-based) | |
| column | No | Column number (1-based) | |
| symbol | No | Name of the symbol to target, instead of line/column. Qualify as "Container.member" (e.g. "UserService.getUser") to disambiguate. Combine with "file" to restrict the search to one file. An ambiguous name returns an error listing the candidates. |