Add items to a collection
zotero_add_items_to_collectionAdd existing Zotero items to a target collection without removing them from other collections. Already-included items are skipped, preventing duplicate writes.
Instructions
File existing items into a collection, keeping every collection they already belong to. An item in Zotero can sit in any number of collections, so this adds rather than moves. Items already in the collection are reported as unchanged and cost no write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| itemKeys | Yes | Keys of the items to file. | |
| collectionKey | Yes | Target collection key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | Yes | ||
| collectionKey | Yes | ||
| alreadyPresent | Yes |