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. The word is named by its id or, without one, by the word itself as saved; a word found in no notebook or in more than one is refused with what to send instead.
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 |
|---|---|---|---|
| next | No | Whether the result should also carry the next word due today in the same notebook, with its meanings. | |
| heard | No | What the user said, as you heard or transcribed it. It is kept with the answer and changes nothing about how it counts. | |
| correct | Yes | Whether the user's answer was right. | |
| word_id | Yes | The id of the word the user was asked about, or, without an id, the word itself as saved in the notebook. | |
| client_id | Yes | A unique id you make for this one answer, so sending it twice counts once. | |
| notebook_id | No | With the word itself instead of an id: a notebook id from list_notebooks, to look only there. Omit to look in every notebook. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | No | ||
| next | No | ||
| leech | No | ||
| status | Yes | ||
| streak | Yes | ||
| dueDate | No | ||
| mastered | No | ||
| scheduleChanged | No |