Generate flashcard deck
generate_flashcard_deckUse this when the user wants a flashcard maker for supplied question-answer pairs: flip cards interactively, track review progress, print paired cut-out cards as an A4 or Letter PDF, or export an Anki-style Front/Back CSV. Removes identical pairs. Does not generate learning content, check facts, provide spaced repetition, or sync progress. PDF prints Latin with accents, Greek, Cyrillic and Vietnamese; scripts its font lacks (CJK, Arabic, Hebrew, Thai, Indic, emoji) show as [?]; widget and CSV preserve Unicode. Up to 24 cards and a 2,800-byte payload.
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": {
"cards": "<cards>"
},
"name": "generate_flashcard_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cards | Yes | Explicit question-answer pairs supplied by the user, e.g. [{question:"hello",answer:"hola"}]. Do not invent answers. | |
| paper | No | PDF paper size, e.g. A4 (default) or Letter. | |
| title | No | Optional deck title, e.g. Spanish greetings. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paper | Yes | ||
| title | Yes | ||
| warnings | Yes | ||
| downloads | Yes | ||
| pdf_pages | Yes | ||
| card_count | Yes | ||
| input_count | Yes | ||
| duplicate_count | Yes |