record_feedback
Log approved or corrected skill assignments to refine scoring weights and learn prompt-to-skill synonyms, improving future routing accuracy.
Instructions
Record user routing corrections to refine scoring weights and learn prompt-to-skill synonyms. Behavior: Local SQLite update in <5ms. Idempotent. Usage Guidelines: Use after route_skill when a user approves or corrects a skill route. Parameters: query is the routed prompt; chosenSkillId is the correct skill identifier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The original natural language prompt or task query that was routed by route_skill (required, non-empty string). | |
| chosenSkillId | Yes | The unique skill ID or skill name that correctly handles the query (required, non-empty string). |