retrieve_lessons
Retrieve relevant lessons for a given tool and action context to provide pre-action guidance based on past feedback.
Instructions
Retrieve the most relevant lessons for a given tool/action context. Use in PreToolUse hooks for per-action guidance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolName | Yes | The tool being called (e.g., Bash, Edit, Read) | |
| actionContext | No | Description of what the tool call is doing | |
| maxResults | No | Max lessons to return (default 5) |