memory_lesson_search
Find relevant procedural lessons by similarity to your task, then apply proven approaches and avoid known dead-ends. Call this at the start of a task to leverage past corrections.
Instructions
Search learned lessons (procedural memory) by similarity to the task
at hand. Call at the START of a task: what worked, what to avoid, what
the user corrected before. Heed polarity - entries — known dead-ends.
verbose=True for full provenance metadata (default entries are
compact).
Returns: {count, entries: [{task, aspect, lesson, about, polarity, outcome, confidence, score}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| verbose | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||