Recommend grounded patterns with trade-offs and cited siblings
recommend_patternsC-03: ranked Pattern-Assist recommendations for a task. Each hit carries a corpus why, a when-not / FTO trade-off, and cited same-area cross-links. Use this when the learner wants alternatives, not just a lexical hit list.
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": {
"query": "<query>"
},
"name": "recommend_patterns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max recommendations (default 5). | |
| query | Yes | Task or problem to recommend against. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| query | Yes | ||
| contract | Yes | ||
| _citation | No | ||
| recommendations | Yes |