Add Lingard Words To Collection
lingard_add_words_to_collectionAdds cards to an existing Lingard collection, deduplicating by normalized word title; commit=true writes them. Only collections with writable="full" accept new cards: curated Lingard collections are read-only and the unfiled bucket takes no new cards. Unless allowIncompleteCards is true, a new card needs title, translate, pos, pron/ipa, syns, and examples with translations; image is optional. A German or Romance noun title carries its dictionary article when one is used, e.g. der Hund, die Reise, das Haus. In example text and example translation the target word and the translated word are marked with {}. form is not part of speech: it holds the inflected-form category of the current word and stays empty for base forms. It only adds: a word already in the collection gets its empty fields filled (mergeMode "fill_missing", the default) or is left alone ("add_only"); a value that is already filled in is never changed or cleared.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cards | Yes | ||
| commit | No | ||
| mergeMode | No | What to do with a word that is already in the collection: "fill_missing" (default) fills its empty fields, "add_only" leaves it as it is. | |
| targetLang | Yes | ||
| collectionUuid | No | ||
| collectionTitle | No | ||
| allowIncompleteCards | No | Default false. True marks the cards as a sparse import that the user asked for; it lets them through without the complete-card fields (everything except image, the dictionary article on a German/Romance noun title, {} highlights in examples). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| changes | Yes | ||
| payload | Yes | ||
| summary | Yes | ||
| committed | No | ||
| mergeMode | No | ||
| collection | Yes | ||
| targetLang | Yes | ||
| upsertResult | No |