mark_result
Record whether a retrieved section answered a query to build an evaluation dataset. Call after judging results, including unhelpful ones, to improve retrieval quality.
Instructions
Record whether a recalled section answered a query. Accumulates real usage into an eval dataset. Call it once you know whether a result helped, including when it did not -- a wrong answer is the more useful judgement.
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>",
"kbid": "<kbid>",
"useful": "<useful>"
},
"name": "mark_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kbid | Yes | The result being judged | |
| query | Yes | The query that produced the result | |
| useful | Yes | Whether it answered the query |