ai_judge_pairwise
LLM-as-judge pairwise comparison — Compare two AI answers to the same question and pick the better one. Judged twice with the answers in both orders to cancel position bias; returns winner A / B / tie, confidence (high only when both orders agree), per-criterion 1-10 scores averaged over both runs, and reasons. Params: question=, a=, b=, optional reference= (ground-truth answer), optional criteria= (comma list, default correctness,helpfulness,completeness,clarity). 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": {
"question": "<question>",
"a": "<a>",
"b": "<b>"
},
"name": "ai_judge_pairwise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | e.g. The seasons are caused by the tilt of Earth's axis (about 23.4 degrees), which changes how directly sunlight hits each hemisphere during the year. | |
| b | Yes | e.g. Seasons happen because Earth is closer to the Sun in summer and farther away in winter. | |
| question | Yes | e.g. What causes the seasons on Earth? |