generate_strategy
Strategy pattern implementation for interchangeable algorithms. Use when: you specifically need the Strategy pattern with interchangeable algorithms. Related: apply_design_pattern
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": {
"context": "<context>",
"strategies": "<strategies>"
},
"name": "generate_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | ||
| interface | No | ||
| strategies | Yes |