Create Shopify Collection
shopify_create_collectionCreate a Shopify collection as manual or smart. Smart collections use rules for automatic product membership; decide upfront as rules can't be added later.
Instructions
Create a collection.
Two kinds:
Manual (default): you choose the products, via shopify_collection_add_products.
Smart: pass ruleSet and Shopify keeps membership up to date automatically. e.g. { appliedDisjunctively: false, rules: [{ column: "TAG", relation: "EQUALS", condition: "sale" }] } appliedDisjunctively: false = products must match ALL rules; true = ANY rule. Common columns: TAG, TITLE, TYPE, VENDOR, VARIANT_PRICE, VARIANT_INVENTORY.
A collection's rule set cannot be added later — decide smart vs manual now.
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>"
},
"name": "shopify_create_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seo | No | ||
| title | Yes | ||
| handle | No | ||
| ruleSet | No | Provide to create a smart (automated) collection | |
| sortOrder | No | ||
| descriptionHtml | No |