learn_pattern
Save validated working patterns to the RAG knowledge base when search results show low relevance. Only Opus/Fable write directly; others stage candidates for review.
Instructions
Save a validated working pattern to the RAG knowledge base.
Call this after a successful operation when search_sg_docs returned low relevance (< 60%), indicating the pattern was not well-documented. The pattern will be available in future sessions.
Model trust gates: only Opus/Fable can write directly. Other models stage candidates for review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |