Create collection
Create a collection or a subcollection in My Library.
MCP tool zotero_write → create_collection
write
Creates a collection with the name you give, at the top level or under a parent collection. Two collections may share a name, so the call returns the new key. It reaches nobody and runs without asking first; delete the collection in Zotero if you do not want it.
Parameters
| Name | Type | Description |
|---|---|---|
| name string required | string | Collection name. |
| parent_collection_key string | string | Create it under this collection. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "zotero_write",
"arguments": {
"operation": "create_collection",
"arguments": {
"name": "Jane Doe"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"collection_key": "M2D7FQ4S",
"name": "Chapter 2",
"parent": "C4T8WZ2N"
},
"isError": false
}