Lingard Vocab

v0.5.10
app.lingard/vocab Checked 1 day ago Published 9 days ago

Build and enrich your Lingard vocabulary: topic collections, flashcards, translations, examples.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fetch Fetch Lingard Vocab Record

Fetches the full live Lingard JSON record for a search-result id (e.g. "learning-context:en") or a Lingard resource URI such as lingard://learning-context/en.

ParameterTypeDescription
idstringPreferred selector: a search-result id, e.g. "learning-context:en". Takes `id` OR `uri` (not both); if both are given, `id` wins.
targetLangstringFallback used only when neither `id` nor `uri` is provided: a language code (en, de, es, fr, it, pl, pt) whose learning context to fetch.
uristringAlternative selector, used only when `id` is omitted: a Lingard resource URI, e.g. "lingard://learning-context/en".

lingard_get_learning_context Get Lingard Learning Context

Returns the user's current Lingard learning context, read live from their account: English profile, vocabulary totals, saved collections and their titles, card counts, and missing-field stats. Earlier answers in the conversation may be out of date; this is the account as it stands now. The list covers every collection the account has, so the per-collection counts add up to the card total (totals.truncated marks a library too large to list in full). Every collection reports `source`: "user" (made by the user), "catalog" (a curated Lingard collection — read-only, its words come from the Lingar…

ParameterTypeDescription
targetLang *stringThe language the user is learning, as a Lingard language code, e.g. en, de, es, fr, it, pl, pt.

lingard_get_vocab_collection Get Lingard Vocabulary Collection

Returns live cards from one Lingard vocabulary collection by UUID or title, including curated Lingard collections and the "Words not in a collection" bucket of cards saved while reading. With includeExamples:true it also returns each card's example sentences and their translations, which editing examples starts from.

ParameterTypeDescription
targetLang *stringThe language the user is learning, as a Lingard language code, e.g. en, de, es, fr, it, pl, pt.
collectionTitlestringCollection selector (alternative to `collectionUuid`): the collection title.
collectionUuidstringCollection selector (preferred): its UUID. One of `collectionUuid` or `collectionTitle` is required.
includeExamplesbooleanDefault false. True returns the full example rows (`examples`: example text, translation line, enabled flag) for every card instead of just the `exampleCount`.
limitintegerOptional max number of cards to return (1–1000).

lingard_get_collection_gaps Get Lingard Collection Gaps

Returns live Lingard cards in a collection that are missing requested fields such as translation, POS, pronunciation, examples, or image. A curated Lingard collection always reports zero gaps: its words come from the Lingard catalog and are not the user's to fill.

ParameterTypeDescription
targetLang *stringThe language the user is learning, as a Lingard language code, e.g. en, de, es, fr, it, pl, pt.
collectionTitlestringCollection selector (alternative to `collectionUuid`): the collection title.
collectionUuidstringCollection selector (preferred): its UUID. One of `collectionUuid` or `collectionTitle` is required (UUID wins if both are given).
fieldsarrayOptional. An ARRAY of field-name strings, not a bare string: e.g. ["translation"] for one field or ["translation","image"] for several. Returns cards missing ANY listed field; without it every field i…
limitintegerOptional max number of cards to return (1–1000, default 200).

lingard_get_word_suggestion_context Get Lingard Word Suggestion Context

Returns live Lingard profile level, topic, collection context, and the words the user already has: the context for suggesting level-appropriate new cards that are not duplicates.

ParameterTypeDescription
targetLang *stringThe language the user is learning, as a Lingard language code, e.g. en, de, es, fr, it, pl, pt.
collectionTitlestringOptional collection the new words are meant for, by title (alternative to `collectionUuid`).
collectionUuidstringOptional collection the new words are meant for, by UUID (wins over `collectionTitle`). The result says whether it accepts new cards.
countintegerHow many new words are planned (1–100, default 20); returned as guidance.generateExactly.
excludeLimitintegerMax number of the user's existing words returned for deduplication (100–5000, default 1000); exclusions.truncated marks a longer list.
levelstringOptional level of the new words, e.g. A2 or B1. Defaults to the level in the user's Lingard profile.
topicstringOptional topic of the new words, e.g. "airport" or "cooking". Defaults to the title of the selected collection.

lingard_preview_vocab_changes Preview Lingard Vocabulary Changes

Previews a Lingard vocabulary collection/card change without writing to Firestore. Cards are checked as on commit. 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.

lingard_commit_vocab_changes Commit Lingard Vocabulary Changes

Commits a previously previewed or freshly supplied Lingard vocabulary change. 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. This is the tool that corrects existing cards…

lingard_create_vocab_collection Create Lingard Vocabulary Collection

Creates a Lingard vocabulary collection, optionally with initial cards; commit=true writes it. 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.

ParameterTypeDescription
collectionTitle *stringTitle of the new collection. When the user already has a collection of their own with this title, the cards go into that one instead of a second collection.
targetLang *stringThe language the user is learning, as a Lingard language code, e.g. en, de, es, fr, it, pl, pt.
allowIncompleteCardsbooleanDefault 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/Roman…
cardsarrayOptional initial cards of the collection.
colorstringOptional Lingard collection color. Accepts Swift raw hex like ff9500 or names like orange.
commitbooleanTrue writes. Default false returns a preview of the result without writing.
iconstringAlias for pic.
picstringOptional Lingard standard collection icon raw value, for example collection.plane or plane.
topicstringOptional topic of the collection, e.g. "Airport and flights"; defaults to the title.

lingard_add_words_to_collection Add Lingard Words To Collection

Adds 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 mark…

ParameterTypeDescription
cards *arrayCards to add. A word already in the collection (same normalized title) is handled as mergeMode says.
targetLang *stringThe language the user is learning, as a Lingard language code, e.g. en, de, es, fr, it, pl, pt.
allowIncompleteCardsbooleanDefault 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/Roman…
collectionTitlestringCollection selector (alternative to `collectionUuid`): the collection title.
collectionUuidstringCollection selector (preferred): its UUID. One of `collectionUuid` or `collectionTitle` is required (UUID wins if both are given).
commitbooleanTrue writes. Default false returns a preview of the result without writing.
mergeModestringWhat 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.

lingard_fill_missing_card_fields Fill Missing Lingard Card Fields

Fills empty fields on existing Lingard cards. It never overwrites or clears a field that already has a value. Works on the user's own collections and on the "Words not in a collection" bucket; curated Lingard collections are read-only because their content comes from the Lingard catalog. commit=true writes.

ParameterTypeDescription
cards *arrayThe values to fill in, one entry per card, matched to the collection's cards by word title. Only fields that are empty on the card are written.
targetLang *stringThe language the user is learning, as a Lingard language code, e.g. en, de, es, fr, it, pl, pt.
collectionTitlestringCollection selector (alternative to `collectionUuid`): the collection title.
collectionUuidstringCollection selector (preferred): its UUID. One of `collectionUuid` or `collectionTitle` is required (UUID wins if both are given).
commitbooleanTrue writes. Default false returns a preview of the result without writing.

lingard_update_example_translations Update Lingard Example Translations

Rewrites only the translation line of examples that already exist on Lingard cards; the example sentence, its {} highlights and its audio/typing markers are left exactly as they are. It changes, adds, or removes example translations; an empty translation is a supported card state, not an error. `translations` holds one entry per existing example, in order, so it is built from the card's current examples (a collection read with includeExamples:true lists them). commit=true writes; without it the call returns the resulting examples as a preview.

ParameterTypeDescription
cards *arrayOne entry per card to edit. Each entry needs a card selector (`cardId`, or `title` plus a collection when the word occurs in several) and `translations`.
targetLang *stringThe language the user is learning, as a Lingard language code, e.g. en, de, es, fr, it, pl, pt.
collectionTitlestringOptional default collection title for cards addressed by title.
collectionUuidstringOptional default collection for cards addressed by title.
commitbooleanTrue writes. Default false returns the resulting examples without saving.

lingard_attach_card_images Attach Lingard Card Images

Attaches supplied images to existing Lingard cards. It does not generate images: each entry carries the image itself as imageBase64 or dataUri, or an imageUrl that the server downloads. PNG, JPEG, WebP, and SVG inputs are converted to WebP and uploaded as private custom card images; an image the card already has is replaced. commit=true writes.

ParameterTypeDescription
images *arrayOne entry per card to illustrate. Each entry needs a card selector (`cardId` or `title`) and exactly one image source (`imageBase64`, `dataUri`, or `imageUrl`).
targetLang *stringThe language the user is learning, as a Lingard language code, e.g. en, de, es, fr, it, pl, pt.
collectionTitlestringOptional default collection title for cards addressed by title.
collectionUuidstringOptional default collection (by UUID) for cards addressed by title.
commitbooleanTrue uploads and attaches. Default false returns a dry-run preview without writing.

lingard_get_learning_pauses Get Lingard Learning Pauses

Lists, for one language, the user's collections and sources (books, the news) and which of them are on pause. A collection or source on pause gives the automatic «Now learning» sessions no words — no new words and no reviews — and is not counted in the day's goals or reminders; opening it in the app still studies it as usual. Each entry carries the exact uuid, bookKey, and title that pause changes take.

ParameterTypeDescription
targetLang *stringThe learned language, e.g. en, de, es, fr.

lingard_set_learning_pauses Set Lingard Learning Pauses

Puts collections and sources on pause or takes them off it, for one language — e.g. "study only my Travel collection this week", "pause the news words", "resume everything". action: "pause" or "resume" the listed ones; "only" — resume the listed ones and pause every other collection and source of the language; "resume_all" — take every pause off (lists ignored). Collections are named by uuid or exact title and sources by bookKey or exact title, as the learning-pause list reports them. A paused item gives the automatic «Now learning» sessions no words and is not counted in goals or remi…

ParameterTypeDescription
action *string"pause" or "resume" the listed collections and sources; "only" resumes the listed ones and pauses every other one of the language; "resume_all" takes every pause off and ignores the lists.
targetLang *stringThe learned language, e.g. en, de, es, fr.
collectionsarrayCollections by uuid or exact title.
commitbooleanTrue writes. Default false returns a preview without writing.
sourcesarraySources by bookKey (catalog:… / imported:…) or exact title.