add-or-update-notes
Add or update notes in Anki by specifying note details, including name, ID, deck, model, fields, and tags. Use this tool to manage your Anki notes efficiently.
Instructions
Add new notes or update existing ones in Anki
Input Schema
Name | Required | Description | Default |
---|---|---|---|
notes | Yes |
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"
}