Create or update Zotero items
zotero_create_itemsBatch create or update Zotero items with schema validation. Writes to your cloud library using the Web API.
Instructions
Create new items or update existing ones in a single batch (the server auto-chunks into groups of 50). Each entry in items is a Zotero item-data object: include itemType plus its valid fields, creators (each {creatorType, firstName, lastName} or {creatorType, name}), tags ([{tag}]), and collections (array of collection keys). To UPDATE an existing item, also include its key and current version; to CREATE, omit both. Every item is validated against the Zotero schema before anything is sent — if any item is invalid, nothing is written and the problems are returned. Use zotero_schema to discover valid fields/creator types for an itemType. Writes go to the cloud Web API (requires ZOTERO_API_KEY).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Array of Zotero item-data objects (itemType + fields; include key+version to update). | |
| library_id | No | ||
| library_type | No |