mimir_correct
Captures user corrections to improve agent behavior by recording what went wrong, the correct approach, and the lesson learned for cross-session feedback.
Instructions
Capture a user correction to the agent. Stores what went wrong, what the user said, and the lesson learned — as both a 'correction' entity and a journal entry. Use this every time the user corrects your approach. Enables the self-improving feedback loop: the agent learns from mistakes across sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags for categorization | |
| category | No | Entity category (default: 'correction') | correction |
| session_id | No | Session identifier for traceability | |
| visibility | No | Visibility: 'private', 'workspace', or 'public' | workspace |
| task_context | Yes | What task was being attempted when the correction occurred | |
| wrong_approach | Yes | What the agent did that was wrong (the mistaken approach) | |
| user_correction | Yes | What the user said to correct the agent (the right way) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| category | No | ||
| entity_id | No | Created correction entity ID | |
| journal_id | No | Created journal entry ID | |
| created_at_unix_ms | No |