analyze_file
Summarize a Python file by listing its classes, functions, methods, and assignments with line numbers, giving a structural overview for exploring unfamiliar code.
Instructions
High-level summary of every symbol in a Python file.
Lists classes (with dataclass/enum/Protocol/TypedDict classification), functions, async functions, methods and module-level assignments with line numbers. Start here when exploring an unfamiliar module.
Args: path: Path to a .py file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |