Answer a question
answerGrade a learner's reply in a Greek-root lesson session, returning feedback and the next question or session summary with XP, streak, and missed questions.
Instructions
Grade the learner's reply to the current question in a session and get feedback plus the next question (or the session summary with XP and streak). Pass the learner's reply as given: an option number, the option text, 1/2 for Greek or not, pieces in order for build questions ("2 1" or "tele phone"), or pairs like "1b 2a 3d" for matching. Missed questions come back at the end.
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": {
"session_id": "<session_id>",
"response": "<response>"
},
"name": "answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes | The learner's reply. | |
| session_id | Yes | Session id from start_lesson or review. |