Create Collection
create_collectionCreates a collection: a named bucket of library items, optionally with a description. Idempotent: an existing collection with the same name is returned unchanged. With a query and/or a tag the collection is a smart one: its members are the items the search finds, resolved at read time. Use list_collections to see the collections and what they hold.
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": "create_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Optional tag filter. It narrows the members of a smart collection to the items carrying that tag. | |
| name | Yes | Collection name. | |
| query | No | Optional search query. With it the collection is a smart one: its members are the items the search finds. | |
| description | No | Optional human description of the collection. |