create_item
Add a new item to a Zotero library by specifying type, fields, creators, tags, and collections, creating a unique key without altering existing entries.
Instructions
Add a new item to the library. Safe: creates a brand-new key, never touches an existing one.
item_type: a Zotero item type, e.g. "journalArticle", "book", "report", "webpage", "conferencePaper". fields: bibliographic fields for that type, e.g. {"title": "...", "date": "2024", "DOI": "10.1/x", "url": "...", "abstractNote": "...", "publicationTitle": "..."}. Which fields are valid depends on item_type; an invalid field raises an error naming the problem. creators: e.g. [{"creatorType": "author", "firstName": "Ada", "lastName": "Lovelace"}]. tags: plain tag strings. collections: collection keys (see list_collections) to file the new item into immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| fields | No | ||
| creators | No | ||
| item_type | Yes | ||
| collections | No |