add_flashcard
Create a new flashcard with front and back content, assign it to a deck, and optionally add tags for organization in Anki.
Instructions
Add a new flashcard to Anki.
Args: front: The front/question side of the card (supports HTML/markdown) back: The back/answer side of the card (supports HTML/markdown) deck_name: The deck to add the card to (default: 'Default') tags: Optional list of tags for the card
Returns: The note ID of the created card, or None if duplicate
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": {
"front": "<front>",
"back": "<back>"
},
"name": "add_flashcard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| front | Yes | ||
| back | Yes | ||
| deck_name | No | Default | |
| tags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |