Edit notes
anki_update_notesEdit existing Anki note fields and tags with a two-step preview-and-confirm workflow. Review before/after changes, then apply them after automatic backups.
Instructions
Edit existing notes' fields and/or tags. Two-step: without confirm_token it returns a before/after preview and a token; call again with the same arguments + confirm_token to apply (notes are backed up first).
updates: [{"note_id": 123, "fields": {"Back": "new text"}, "add_tags": ["x"], "remove_tags": ["y"]}] Only the listed fields change; "" clears a field (except the first field).
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": {
"updates": "<updates>"
},
"name": "anki_update_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | ||
| allow_html | No | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||