Get Design Pattern
get_design_patternRetrieve a complete design pattern record by name or alias, including intent, tradeoffs, participants, and per-language implementations, to guide pattern selection and implementation.
Instructions
Get the full JSON of a single design pattern by its name or a resolved alias (e.g. 'singleton', 'borg'). Returns the complete record: intent, problem, context, benefits, tradeoffs, quality_attributes, participants, use cases, related patterns, principles, pitfalls, sources, and the joined per-language implementations with their variants. Raises ERR_013 when the pattern is unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _ctx | No | ||
| name | Yes | Pattern name or alias, e.g. 'singleton', 'borg' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||