amplify_suggest_pattern_key
Suggest existing pattern keys for a lesson to avoid duplicate keys and ensure frequency aggregation. Returns up to 3 ranked keys or a new key suggestion.
Instructions
v1.5.0 — Suggest an existing pattern_key (or propose a new one) for a lesson before recording it. Use this before amplify_learn when you suspect the lesson is a recurring pattern. Prevents the failure where two sessions invent two different keys for the same lesson and the frequency counter never aggregates. Returns up to 3 existing keys ranked by trigram similarity, or a new key suggestion if none clear the threshold.
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": {
"project": "<project>",
"title": "<title>",
"description": "<description>"
},
"name": "amplify_suggest_pattern_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project name. | |
| title | Yes | The lesson title you intend to record. | |
| description | Yes | The lesson description (helps disambiguate). |