Create Zotero Collection
zotero_create_collectionCreate a new collection or subcollection in your Zotero library to organize references. Provide a parent collection key to nest it under an existing folder.
Instructions
Create a new collection (folder), optionally as a subcollection of an existing one.
This tool WRITES to the library and requires an API key with write access.
Args:
name (string): collection name, 1-255 characters
parent_collection_key (string, optional): parent collection key, for a subcollection
Returns: the key of the newly created collection.
Examples:
Use when: "create a collection called 'Estado del arte - Resistencia'" -> name="Estado del arte - Resistencia"
Don't use when: the collection may already exist — check with zotero_list_collections first to avoid duplicates
Error Handling:
Returns "Error: Permission denied (403)" if the API key lacks write access
Returns "Error: Library locked (409)" if a sync is in progress — retry shortly
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new collection. | |
| parent_collection_key | No | 8-character key of a parent collection, to create this as a subcollection. Omit for a top-level collection. |