Definition and Bound Span
definitionAndBoundSpanFind the definition of a symbol at a cursor position and also get its text span to know exactly which characters form the symbol.
Instructions
Like 'definition', but also returns the span of the symbol at the cursor. Useful for understanding exactly which characters constitute the symbol being queried. Returns both the definition locations and the textSpan of the queried symbol.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path (absolute or relative to cwd) | |
| line | Yes | 1-based line number | |
| offset | Yes | 1-based column offset |