Get next word
get_next_wordThe next word(s) due for practice under the spaced-repetition schedule, together with a generated task and the learner's AI prompt settings. This is the main drill loop: get_next_word → quiz the user → set_word_status.
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": {
"language_pair": "<language_pair>",
"language_level": "<language_level>",
"book_number": "<book_number>"
},
"name": "get_next_word"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many words to return, 1–100. Default 1. | |
| sort_by | No | 'chapter' (default), 'random' or 'word'. | |
| book_number | Yes | Book within the level. Defaults to the user's current book. | |
| language_pair | Yes | e.g. 'en_de'. Defaults to the user's current pair. | |
| chapter_number | No | Restrict to one chapter. Omit to draw from the whole book. | |
| language_level | Yes | CEFR level: A1, A2, B1, B2, C1, C2. Defaults to the user's current level. |