inspect_code_ast
Parse a Python source file into an abstract syntax tree and extract class, function, and import structures to enable diagnostic code analysis and root-cause identification.
Instructions
Parses a target Python source file into an AST tree to return class, function, and import structures for diagnostic analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to Python source file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |