suggest_design_pattern
Get boilerplate templates and architectural explanations for modern Fortran design patterns, including factory, singleton, observer, and more.
Instructions
Provides boilerplate templates and architectural explanations for modern Fortran design patterns mapping to GoF / Refactoring.Guru.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pattern_name": "<pattern_name>"
},
"name": "suggest_design_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern_name | Yes | The pattern to retrieve. Supports standard patterns: Factory Method, Abstract Factory, Builder, Singleton, Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy, Chain of Responsibility, Command, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, Visitor, RAII. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |