hallucination_diff
Flag answer sentences unsupported by the source text
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": {
"source": "<source>",
"answer": "<answer>"
},
"name": "hallucination_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | Model answer to check | |
| source | Yes | Source / ground-truth text |