add_flashcards_batch
Add multiple flashcards to a target Anki deck in one operation, with shared tags and duplicate checks, instead of creating cards one at a time.
Instructions
Add multiple flashcards in one operation. Much faster than adding one at a time.
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": {
"deck": "<deck>",
"cards": "<cards>"
},
"name": "add_flashcards_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | Target deck name | |
| tags | No | Tags applied to all cards | |
| cards | Yes | List of cards with front, back, and optional tags | |
| model | No | Note type (default: Basic) | Basic |
| duplicate_scope | No | How broadly to check for duplicates: 'collection' (default, matches Anki's default), 'deck' (only the target deck), or 'deck_and_subdecks' | collection |
| allow_duplicates | No | Add cards even if they duplicate an existing note (default: false, duplicates are skipped and reported) |