lsp_type_definition
Resolves the type definition of a symbol at a given position, jumping to its type, interface, or class definition.
Instructions
Find the definition of the type of a symbol. Maps to textDocument/typeDefinition. Resolves variable types to their type/interface/class definitions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute or workspace-relative path to the file. | |
| position | Yes | Line/character position (zero-based) of the symbol. | |
| maxResults | No | Maximum number of results. |