ai_groundedness
RAG groundedness / hallucination check — Check whether an AI answer is backed by its source text (RAG faithfulness). Splits the answer into atomic claims and labels each SUPPORTED, CONTRADICTED or NOT_IN_CONTEXT using only the context, with an evidence quote that is verified offline against the context. Returns a faithfulness score and verdict GROUNDED / MOSTLY_GROUNDED / UNGROUNDED / UNFAITHFUL. Params: context= (source text, up to 24k chars) or url= (page to use as context), answer= (text to check), optional question=. Price: $0.012 USDC (Base, via x402).
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": {
"context": "<context>",
"answer": "<answer>"
},
"name": "ai_groundedness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | e.g. The Eiffel Tower was finished in 1889 and is about 330 m tall. It was designed by Gustave Eiffel. | |
| context | Yes | e.g. The Eiffel Tower is 330 metres tall. It was completed in 1889 as the entrance arch for the World's Fair in Paris. |