Add items to collection
Add items to a collection; they stay in the collections they are already in.
MCP tool zotero_write → add_items_to_collection
write
Adds the items to the collection the way dragging them onto it does, so they keep their other collections. It reaches nobody and runs without asking first; Remove Item(s) from Collection… in Zotero undoes it.
Parameters
| Name | Type | Description |
|---|---|---|
| collection_key string required | string | Collection key from list_collections. |
| item_keys string[] required | string[] | Items to add. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "zotero_write",
"arguments": {
"operation": "add_items_to_collection",
"arguments": {
"collection_key": "collection key",
"item_keys": [
"item keys"
]
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"collection_key": "C4T8WZ2N",
"added": [
"H6R2VB5D",
"N9Q4XA7E"
],
"already_in_collection": []
},
"isError": false
}