Update note fields
update_note_fieldsOverwrites specified fields of an existing Anki note by note ID without changing unlisted fields, and appends picture, audio, or video media to chosen fields.
Instructions
Overwrites the given fields of an existing note (takes a note ID, not a card ID). Fields not listed are left unchanged. The previous values are lost, so read the note with notes_info first if you need them. Returns null on success. Media in picture/audio/video is appended to the field's new value, or to its current value if the field is not being overwritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Note ID to update (a note ID, not a card ID). | |
| audio | No | Audio files to store and play from the given fields (appended as [sound:...]). | |
| video | No | Video files to store and play from the given fields (appended as [sound:...]). | |
| fields | No | New field values keyed by field name. Omit or pass {} to only attach media. | |
| picture | No | Images to store and show in the given fields (appended as <img>). |