create-card
Create a new flashcard in an existing Anki deck. Supports HTML formatting and attaches images or audio from URLs to the front or back.
Instructions
Create a new note in a specified deck. Supports HTML formatting in text fields. You can attach multiple images and audio files from URLs - they will be automatically downloaded and embedded in the note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| back | Yes | Back side content of the note (supports HTML formatting) | |
| tags | No | Optional tags for the note. A tag cannot contain a space (Anki splits it into two tags) or a tab or newline (Anki removes it) - use organic_chemistry or organic::chemistry for a hierarchy. | |
| front | Yes | Front side content of the note (supports HTML formatting) | |
| deckName | Yes | Name of the deck to add the note to. The deck must already exist - use create-deck first if it does not. A `::` in the name means a nested deck: `Biology::Cells` is a deck named Cells inside a deck named Biology. There is no way to name a single deck literally `Biology::Cells`. | |
| backAudio | No | Optional array of audio file URLs to attach to the back of the note. Audio will be downloaded and can be played in Anki. | |
| backImages | No | Optional array of image URLs to embed on the back of the note. Images will be downloaded and attached automatically. | |
| frontAudio | No | Optional array of audio file URLs to attach to the front of the note. Audio will be downloaded and can be played in Anki. | |
| frontImages | No | Optional array of image URLs to embed on the front of the note. Images will be downloaded and attached automatically. |