Save new words
add_vocabulary_itemsSaves new words to the user's NextLang vocabulary for one language pair, so they join the spaced-repetition schedule. Use when the user asks to save or add words, for example from a text you discussed. Put each word in 'term' in the language being learned and its meaning in 'translation'; add a short example sentence when it helps. Words the user already has are skipped, not duplicated. Returns how many were added, already saved, or invalid. This is NextLang's own review list, quizzed through list_due_words and record_review, not a flashcard deck: when the user wants a deck to study in Anki, Quizlet, Mochi or Brainscape, use save_deck instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| words | Yes | ||
| learningLanguage | Yes | Language the user is learning; every term is in this language | |
| translationLanguage | Yes | Language of the translations and of exampleTranslation |