find_node_at_position
Identify the AST node at a given line and column in a Python file, along with its enclosing scope chain.
Instructions
Identify the AST node at a cursor position with its enclosing scope chain.
Args: path: Path to a .py file. line: 1-based line number. column: 0-based column offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| path | Yes | ||
| column | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |