Capture word
capture_wordSaves one or more target-language words or phrases from the conversation to the user's MindDory deck. A new word becomes a flashcard in the user's default folder when it is in the word's language, otherwise in a chat folder for that language; a word already in the deck gets the new sentence recorded as another encounter. lang (ISO code of the word's own language) is required and the call is rejected without it; the target language is never guessed. words takes several items at once; gloss is a short source-language translation and context the sentence the word appeared in. Items without a letter (numbers, punctuation), items shorter than 3 characters (CJK and Hangul exempt) and common stop words in English, German, Spanish, French and Czech are skipped. source_lang defaults to the user's deck.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "capture_word"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Required. ISO code of the captured word's own language (en, de, es, zh, ...). The call is rejected without it. | |
| word | No | Single-word capture (legacy); `words` takes several. | |
| gloss | No | Short translation in the source language. | |
| words | No | Batch capture. Each entry is {word, gloss?, context?}. | |
| context | No | The sentence where the word appeared. | |
| folder_id | No | Optional: id of the folder new cards go into (from list_folders). It must be a folder in the same language as `lang`. Omit it and the user's default folder is used when it is in the same language, otherwise a chat folder for that language. Words already in the deck stay where they are. | |
| source_lang | No | ISO code of the user's native/source language. Optional — defaults to the source language of the user's existing deck. |