Update an item
zotero_update_itemUpdate an existing Zotero item by patching specified fields, leaving all others unchanged. Use expectedVersion to avoid conflicts; replace array fields wholesale.
Instructions
Patch fields on an existing item. Only the fields passed in fields change; everything else is left alone. Array fields are replaced wholesale, so to change collection membership prefer zotero_add_items_to_collection / zotero_remove_items_from_collection, which merge instead of overwriting. The current version is read automatically unless expectedVersion is supplied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Fields to set, as Zotero item JSON, e.g. {"title": "New title", "date": "2024", "tags": [{"tag": "to-read"}]}. Field names must be valid for the item's type. | |
| groupId | No | Group library ID. Omit for the personal library ("My Library"), which is what almost every request wants. Group IDs come from zotero_list_libraries. | |
| itemKey | Yes | Key of the item to update. | |
| expectedVersion | No | Version the item is expected to be at, for conflict detection. Omit to use the current version. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemKey | Yes | ||
| updated | Yes | ||
| libraryVersion | Yes |