add_note
Add a new Anki flashcard note to an existing deck and note type. Specify field values in HTML or text, optionally set tags, and prevent duplicates.
Instructions
Add a single note. 'fields' maps the note type's field names to their HTML/text values (e.g. {'Front': '...', 'Back': '...'}). The deck and note type (model) must already exist. Returns the new note ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | ||
| tags | No | ||
| model | Yes | ||
| fields | Yes | ||
| allow_duplicate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||