Check an answer
oncourse_check_answerCheck the learner's chosen option for one quiz question and return whether it is correct, the correct option and the explanation. Call only after the learner answers; never to preview answers.
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": {
"sessionId": "<sessionId>",
"questionId": "<questionId>",
"optionId": "<optionId>"
},
"name": "oncourse_check_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| optionId | Yes | ||
| sessionId | Yes | ||
| questionId | Yes |