Record feedback on a query
record_query_feedbackRecord whether a previously generated query was helpful. This feedback improves future query suggestions. Use the query_id from get_query_history or from the query tool's response.
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_id": "<query_id>",
"feedback": "<feedback>"
},
"name": "record_query_feedback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional comment explaining the feedback (e.g., 'Had to add a date filter') | |
| feedback | Yes | Feedback value: 'helpful' or 'not_helpful' | |
| query_id | Yes | UUID of the query history entry to provide feedback on |