Add To Collection
add_to_collectionAdd an existing Zotero item to a chosen collection by supplying the item key and target collection ID.
Instructions
Add an existing Zotero item to a collection.
Args: item_key: The Zotero item key (from search results) collection_id: The collection key to add it to
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": {
"item_key": "<item_key>",
"collection_id": "<collection_id>"
},
"name": "add_to_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_key | Yes | ||
| library_id | No | ||
| library_type | No | ||
| collection_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |