Record a practice answer
record_answerRecords whether the user answered a practice question about a word correctly. It counts like a review in the app: it moves the word's box, the day's numbers and the streak, and the result gives the word's next review date. A right answer to a word that is not due yet may be saved as practice, which keeps its next review (scheduleChanged false). Each answer carries its own client_id, so the same answer sent twice counts once.
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": {
"word_id": "<word_id>",
"correct": "<correct>",
"client_id": "<client_id>"
},
"name": "record_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| correct | Yes | Whether the user's answer was right. | |
| word_id | Yes | The id of the word the user was asked about. | |
| client_id | Yes | A unique id you make for this one answer, so sending it twice counts once. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | No | ||
| leech | No | ||
| status | Yes | ||
| streak | Yes | ||
| dueDate | No | ||
| mastered | No | ||
| scheduleChanged | No |