lsp_definition
Find the definition location of a symbol by providing a file path and a zero-based line/character position. Returns normalized locations with file path and range.
Instructions
Request textDocument/definition from the LSP server and return normalized locations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute or workspace-relative path to the file. | |
| position | Yes | Line/character position (zero-based) in the file. | |
| maxResults | No | Maximum number of results to return. |