check_trivia_answer
Determine if a player's trivia answer matches the correct answer, returning a clear result for quiz scoring.
Instructions
Check a player's trivia answer against the correct answer. Fully stateless — Clara passes the correct answer token and the player's response.
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": {
"player_answer": "<player_answer>",
"correct_answer": "<correct_answer>"
},
"name": "check_trivia_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player_name | No | Player name for personalized response | |
| player_answer | Yes | The player's answer (letter or full text) | |
| correct_answer | Yes | The correct answer string (from start_trivia_game output) |