create_collection
Create a Shopify collection manually or with automated rules. Choose between manual and smart types, set title, and define conditions for product inclusion.
Instructions
Create a new collection (manual or smart collection)
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": {
"title": "<title>",
"collectionType": "<collectionType>"
},
"name": "create_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | Rules for smart collections | |
| title | Yes | Collection title | |
| disjunctive | No | Whether rules should be OR'd together (default: AND) | |
| collectionType | Yes | Type of collection | |
| descriptionHtml | No | Collection description (HTML) |