Add notes
anki_add_notesAdd notes to an existing Anki deck while skipping duplicates and preserving existing notes; optionally preview changes with a dry run before writing.
Instructions
Add notes to an existing deck. Existing notes are never overwritten; duplicates are skipped and reported.
notes: list of {field: value}, e.g. [{"Front": "hola", "Back": "hello"}]. Field names are matched to the note type case-insensitively, and a unique prefix works ("Example" -> "Example sentence"). model: note type. Default: ANKI_DEFAULT_MODEL, else the note type most used in that deck. tags: tags for every note. duplicate_scope: "collection" (Anki's default: same first field + same note type anywhere) or "deck". allow_html: if false (default), text is HTML-escaped and newlines become . dry_run: report what would be added/skipped without writing.
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": {
"deck": "<deck>",
"notes": "<notes>"
},
"name": "anki_add_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | ||
| tags | No | ||
| model | No | ||
| notes | Yes | ||
| dry_run | No | ||
| allow_html | No | ||
| duplicate_scope | No | collection |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||