create_note_type
Define new flashcard note types by specifying fields, card templates with HTML placeholders, and optional CSS or cloze deletion support.
Instructions
Create a new note type. 'fields' are the ordered field names. 'card_templates' is a list of {'Name','Front','Back'} template dicts whose Front/Back are HTML using {{Field}} placeholders. Optional 'css' styles the cards; set is_cloze=True for a cloze-deletion type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | ||
| fields | Yes | ||
| is_cloze | No | ||
| model_name | Yes | ||
| card_templates | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||