Ask a human which of two options is better
compare_with_humanShows two options (texts, images, videos, audio clips or web pages) side by side to a verified human and returns which one they prefer ("A", "B" or "tie") with a short reason. Use it when a choice depends on taste, clarity or feel and you want a real person to decide: two logo drafts, two headlines, two voice-overs, two page designs. A is the first option, B the second; the human sees them in random order. If you have a single item to assess, use rate_with_human instead. Returns { task_id, status, result: { choice, winner_index, comment } }. A person answers in minutes to hours: when status is "pending", keep working and call get_human_feedback with the task_id later. Costs a few cents of prepaid credit (see get_account); an unanswered task is refunded.
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": "compare_with_human"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Option A. Give "text" for writing, a public https "url" for media or web pages, or "data_base64" with "mime_type" for a local file. | |
| b | Yes | Option B. Give "text" for writing, a public https "url" for media or web pages, or "data_base64" with "mime_type" for a local file. | |
| context | No | Optional background the human needs: audience, goal, constraints. | |
| question | Yes | What the human should judge, in plain words. Example: "Which logo looks more trustworthy for a bank?" | |
| wait_seconds | No | Seconds to wait for the human before returning (0-55, default 30). If the answer is not in yet, the result has status "pending" and a task_id to check later with get_human_feedback. |