Add to Collection
add_to_collectionAdds library items to a collection, addressed by collection name or id. Items that are not yours, that do not exist, or that are already in the collection are skipped: the result reports how many were added. At most 100 items are processed per call.
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": {
"collection": "<collection>",
"item_ids": "<item_ids>"
},
"name": "add_to_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_ids | Yes | Library item ids to add (at most 100). | |
| collection | Yes | Collection name or id. |