Zotero Manage Note
zotero_manage_noteCreate, update, or trash Zotero notes for parent items. Convert Markdown/HTML and append or replace note content.
Instructions
Create, update, or trash a Zotero note. item_key: the PARENT item's key for action='create', the NOTE's own key for 'update' and 'delete' (zotero_get_notes finds it). create: needs note_text — Markdown with $math$, plus (or background-color), converted to note HTML; HTML input is sanitized. note_title becomes a heading; tags optional. update: needs note_text (Markdown or HTML, as for create). append=False (default) REPLACES the whole body, append=True adds to the end. To keep existing formatting, fetch with zotero_get_notes(raw_html=True), edit that HTML, and pass it back whole. delete: moves the note to the Trash — recoverable; emptying the Trash is manual in Zotero. Notes only, not items/collections/attachments. Requires a writable library: local writes (Zotero 10+, via zotero_authorize_local_writes) or a web API key. Example: (action='create', item_key='ABC12345', note_title='Reading notes', note_text='Key claim ...').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| action | Yes | ||
| append | No | ||
| item_key | Yes | ||
| note_text | No | ||
| note_title | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |