analyze_design_patterns
Focused analysis of Gang of Four (GoF) design patterns in code. Detects Singleton, Factory, Observer, Strategy, and other classic patterns with confidence levels and implementation details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The source code to analyze | |
| filename | Yes | The filename (used to detect language) |