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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>",
"chosenSkillId": "<chosenSkillId>"
},
"name": "record_feedback"
}
}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). |