Anki MCP Server

by johwiebe
Verified

add-or-update-notes

Add new notes or update existing ones in Anki by specifying deck, fields, model, and tags. Use note IDs to modify existing notes or leave blank to create new entries.

Instructions

Add new notes or update existing ones in Anki

Input Schema

NameRequiredDescriptionDefault
notesYes

Input Schema (JSON Schema)

{ "$defs": { "Note": { "properties": { "deck": { "default": "Default", "description": "Deck name (optional)", "title": "Deck", "type": "string" }, "fields": { "additionalProperties": { "type": "string" }, "description": "Field values for the note (varies by model)", "title": "Fields", "type": "object" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Note ID, if the note already exists. If this is populated the existing note will be updated. If this is `None` a new note will be created.", "title": "Id" }, "model": { "default": "Basic", "description": "Model name (optional)", "title": "Model", "type": "string" }, "name": { "description": "Name of the note", "maxLength": 64, "title": "Name", "type": "string" }, "tags": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Tags to assign to the note (optional)", "title": "Tags" } }, "required": [ "name", "id", "fields" ], "title": "Note", "type": "object" } }, "properties": { "notes": { "items": { "$ref": "#/$defs/Note" }, "title": "Notes", "type": "array" } }, "required": [ "notes" ], "title": "add_or_update_notesArguments", "type": "object" }

You must be authenticated.

Other Tools from Anki MCP Server

Related Tools

ID: t345lu6mhs