anki_update_note_fields
Update specific fields of an existing Anki note by replacing their content with new HTML, leaving unmentioned fields unchanged.
Instructions
Overwrite fields of an existing note.
Field values are HTML and are sent verbatim — do not escape them.
Each named field is replaced wholesale, not merged; fields left out of
fields keep their current content. Fetch the current values with
anki_get_notes_info (response_format="json") before a partial edit.
⚠️ This silently does nothing if the note is open in Anki's Browse window. Anki refuses the edit to avoid clobbering what you are typing, but AnkiConnect still reports success — no error is raised, and the fields are simply unchanged. If an update seems to have no effect, close the Browse window (or click away from that note) and run it again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Field name -> new HTML content. Names must match the note's model exactly. | |
| note_id | Yes | Id of the note to modify, from `anki_find_notes`. | |
| response_format | No | How a tool should render its result. A `StrEnum` so the members compare equal to the plain strings a client sends over the wire (`"markdown"`, `"json"`). | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |