add_note
Add a single flashcard to a specific Anki deck by specifying the note model, field values, and optional tags. Control duplicate prevention with the allowDuplicate option.
Instructions
Add a single note (flashcard) to Anki.
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": {
"deckName": "<deckName>",
"modelName": "<modelName>",
"fields": "<fields>"
},
"name": "add_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deckName | Yes | Target deck name. | |
| modelName | Yes | Note model name. | |
| fields | Yes | Field values as key-value pairs. | |
| tags | No | Tags to assign to the note. | |
| allowDuplicate | No | Whether to allow duplicates. Default false. |