list_declarations
Retrieve module-level variable declarations with annotated or inferred types from a Python file's AST, enabling quick inspection of typed assignments.
Instructions
List module-level assignments with annotated or inferred types.
Args: path: Path to a .py file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |