Create items
zotero_create_itemsCreate up to 50 Zotero items in one API call, assign collections at creation, and attach notes or files via parentItem. Check the failures array for per-item validation results.
Instructions
Create up to 50 items in one call. Set collections on an item to file it into collections as it is created, which is cheaper than creating it and moving it afterwards. Notes and attachments are created by setting parentItem. To attach a file from disk use zotero_attach_file instead, which handles the whole attachment protocol. Check the returned failures array: Zotero validates each item independently, so some can succeed while others fail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Items to create, at most 50 per call. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| failures | Yes | ||
| libraryVersion | Yes |