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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "zotero_create_collection"
}
}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'). |