update_item
Change field values or replace creators on an existing Zotero item, using its current version to prevent overwriting concurrent edits.
Instructions
Update the metadata of an existing Zotero item: change field values and/or replace its creators. Pass the item's current version (from get_items_details) — the update is rejected as a version_conflict if the item changed since you read it, so re-read and retry in that case. fields are Zotero field names valid for the item's type (e.g. title, date, publicationTitle, volume, pages, DOI, url, publisher). itemType cannot be changed, and key/version/collections/parentItem/relations/dateAdded/dateModified are managed by Zotero and rejected. Use add_items for new items, create_note for notes, and delete_items to remove items.
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": {
"item_key": "<item_key>",
"version": "<version>",
"fields": "<fields>"
},
"name": "update_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Field values to set, as { fieldName: value }. Use Zotero field names valid for the item type (e.g. { "title": "New title", "date": "2024" }). Pass {} if you only want to change creators. | |
| version | Yes | The item's current version, as returned by get_items_details. Guards against overwriting a concurrent change. | |
| creators | No | Replaces the item's entire creators list when provided. Each creator is {firstName, lastName, creatorType} or {name, creatorType} for institutional authors. | |
| item_key | Yes | Key of the item to update (from search_library, get_items_details or get_collection_items). | |
| library_id | No | Numeric user or group ID for this call (a group's ID is the number in its zotero.org/groups/<id> URL). Default: the configured library. Required with library_type 'group' when the server is configured for a user library. | |
| library_type | No | Library for this call: 'user' (personal) or 'group'. Default: the library configured on the server. |