get_ast_context
Retrieve the enclosing treesitter scope chain (functions, classes, blocks) at a specified line and file to understand code structure.
Instructions
Get the treesitter scope chain at a position (shows enclosing functions, classes, blocks)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute or relative file path | |
| line | Yes | Line number (1-indexed) |