zotero_create_collection
Create a new collection in your Zotero library, optionally nested under a parent. Returns the existing collection key if a duplicate name already exists.
Instructions
Create a collection (folder) in the user's Zotero library via the web API, optionally nested under a parent. If a collection with the same name already exists under that parent, its key is returned instead of making a duplicate. Returns the collection key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Collection name. | |
| parent | No | Parent collection key, name, or 'Parent/Child' path; omit for top level. | |
| library | No | Library to use. Local: omit for My Library, or give a group name/ID. Web: omit for your user library, or give a group ID (or 'group:12345'). |