market
Search and get fashion products recommendations across multiple e-ecom stores
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"market": {
"url": "https://api.vistoya.com/mcp"
}
}
}Remote endpoints
https://api.vistoya.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (6)
🟢discover_products(query, category, colors, exclude_colors, color_match, ...)
Find fashion products using natural language and/or structured filters. Provide a `query` for semantic ranking via multimodal text+image embeddings ("oversized wool coat", "black leather jacket", "minimalist gold jewelry", "linen shirt for a beach wedding under $200") — best for open-ended discovery. Keep queries concrete: noun-led with up to one or two modifiers works best ("summer linen shirt" beats "breathable linen shirt perfect for summer"). Provide only structured filters (category, brand, colors, gender, price, etc.) for pure browse — results are recency-ranked and paginate cleanly. Combine both for filtered semantic search. At least one of query or a filter must be provided. Example calls (notice the sparse filter population — descriptive attributes stay in `query`, not in structured fields): - "linen wedding guest dress under $200" → {query: "linen wedding guest dress", gender: "women", max_price: 200, materials: ["linen"]} - "wool coat under $300" → {query: "wool coat", gender: "women", max_price: 300, materials: ["wool"]} - "browse women's black dresses $100-$300" → {gender: "women", category: "clothing/dresses", colors: ["black"], min_price: 100, max_price: 300} - "Acne Studios outerwear" → {query: "outerwear", brand: "Acne Studios", gender: "women"} Returns compact product cards: AI-generated summary, price, images, tags, and compact availability by color/size; variant price differences are nested under the availability dimension that determines price. For merchant description, store info, SKU-level variants, exact variant prices, and all product images, call get_product with a product ID from these results. Multi-currency prices supported (e.g. "under 200 zł" or min_price=200 + currency="PLN"); returned prices render in the requested currency when provided.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 500,
"description": "Natural language search query — be descriptive for best results. Can include price with currency symbols (e.g. \"white coat under 200 zł\") which will be parsed automatically. Optional: when omitted, results are filtered by the structured fields below and ranked by recency. Provide either a query, structured filters, or both."
},
"category": {
"type": "string",
"maxLength": 200,
"description": "Category slug, e.g. \"clothing\", \"clothing/jackets\", \"clothing/jackets/bomber-jackets\". Accepts last-segment shortcuts when unambiguous — e.g. \"loafers-and-slip-ons\" resolves the same as \"shoes/loafers-and-slip-ons\", and \"bomber-jackets\" resolves the same as \"clothing/jackets/bomber-jackets\"."
},
"colors": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 20,
"description": "Filter by lowercase colors: e.g. [\"black\", \"navy\", \"sage green\"]"
},
"exclude_colors": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 20,
"description": "Exclude products with these colors: e.g. [\"white\", \"beige\"]"
},
"color_match": {
"type": "string",
"enum": [
"any",
"exact"
],
"default": "any",
"description": "Color matching mode. \"any\" (default): product has at least one of the queried colors. \"exact\": product has at least one image where the ONLY colors are the queried colors — use for mono-color searches like \"all black\"."
},
"materials": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 20,
"description": "Filter by lowercase materials: e.g. [\"cotton\", \"silk\", \"leather\"]"
},
"exclude_materials": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 20,
"description": "Exclude products with these materials: e.g. [\"polyester\", \"nylon\"]"
},
"gender": {
"type": "string",
"enum": [
"women",
"men",
"unisex",
"boys",
"girls"
],
"description": "Gender filter."
},
"occasion": {
"type": "string",
"enum": [
"casual",
"formal",
"business",
"party",
"outdoor",
"beach"
],
"description": "Occasion filter. Soft descriptor — set ONLY when the user explicitly named the occasion. The `query` field already captures occasion semantically; over-specifying is the most common cause of zero-result calls."
},
"season": {
"type": "string",
"enum": [
"spring",
"summer",
"fall",
"winter",
"all-season"
],
"description": "Season filter. Soft descriptor — set ONLY when the user explicitly named the season. The `query` field already captures season semantically; over-specifying is the most common cause of zero-result calls."
},
"styles": {
"type": "array",
"items": {
"type": "string",
"enum": [
"minimalist",
"streetwear",
"elegant",
"avant-garde",
"grunge",
"vintage",
"y2k",
"techwear",
"workwear",
"preppy",
"punk",
"sportswear",
"coquette",
"quiet-luxury",
"old-money",
"gorpcore",
"goth",
"basics",
"boho",
"glam",
"edgy",
"classic",
"western"
]
},
"maxItems": 20,
"description": "Style filter (OR semantics — a product matches if any of its `styles` values is in this list). Pass a single value to filter by one style (\"styles\": [\"minimalist\"]); pass several to span a related set (\"styles\": [\"basics\", \"minimalist\", \"preppy\", \"sportswear\"] for a \"Casual\" bucket). Soft descriptor — set ONLY when the user explicitly named one or more styles. The `query` field already captures style semantically; over-specifying is the most common cause of zero-result calls."
},
"silhouette": {
"type": "string",
"enum": [
"fitted",
"slim",
"regular",
"relaxed",
"oversized",
"tailored",
"boxy"
],
"description": "Silhouette/fit filter (e.g. fitted, slim, regular, relaxed, oversized). Soft descriptor — set ONLY when the user explicitly named the fit. The `query` field already captures silhouette semantically; over-specifying is the most common cause of zero-result calls."
},
"pattern": {
"type": "string",
"enum": [
"solid",
"stripe",
"checked",
"floral",
"polka dot",
"camouflage",
"logo"
],
"description": "Pattern filter (e.g. solid, stripe, checked, floral). Soft descriptor — set ONLY when the user explicitly named the pattern. Default for unspecified (\"solid\") leaks into queries and zeros the candidate set; omit when unsure."
},
"neckline": {
"type": "string",
"enum": [
"v-neck",
"crewneck",
"scoop",
"square",
"halter",
"off-shoulder",
"one-shoulder",
"sweetheart",
"turtleneck",
"mock-neck",
"boat-neck",
"cowl",
"asymmetric",
"plunge",
"high-neck",
"collared",
"strapless"
],
"description": "Neckline filter. Soft descriptor — set ONLY when the user explicitly named the neckline. Do not infer from category or query."
},
"sleeves": {
"type": "string",
"enum": [
"sleeveless",
"short-sleeve",
"long-sleeve",
"three-quarter",
"cap-sleeve",
"puff",
"balloon",
"bishop",
"bell",
"dolman"
],
"description": "Sleeve style filter. Soft descriptor — set ONLY when the user explicitly named the sleeve style. Do not infer from category or query."
},
"available_sizes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 20,
"description": "Filter by available size labels, e.g. [\"s\", \"m\", \"38\"]."
},
"is_sustainable": {
"type": "boolean",
"description": "True when the user explicitly wants products with sustainability claims."
},
"brand": {
"type": "string",
"maxLength": 200,
"description": "Filter by brand name"
},
"min_price": {
"type": "number",
"minimum": 0.01,
"maximum": 100000,
"description": "Minimum price (in the currency specified by \"currency\" param, or USD if omitted)"
},
"max_price": {
"type": "number",
"minimum": 0.01,
"maximum": 100000,
"description": "Maximum price (in the currency specified by \"currency\" param, or USD if omitted)"
},
"currency": {
"type": "string",
"maxLength": 3,
"description": "ISO 4217 currency code for min_price/max_price (e.g. \"PLN\", \"EUR\", \"GBP\"). Prices are converted to USD for filtering. Omit for USD."
},
"store_domain": {
"type": "string",
"maxLength": 253,
"description": "Filter by store domain (e.g. \"thereformation.com\"). Accepts forms with protocol, www, locale subdomain, or path — they are normalized to match the registered store."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 12,
"description": "Page size (1-20, default 12)"
},
"page": {
"type": "integer",
"minimum": 1,
"default": 1,
"description": "Page number."
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Optional shopper location as an ISO-3166-1 alpha-2 country code (e.g. \"US\", \"GB\", \"DE\"). Recorded for analytics and used to improve future offer geo-matching. Omit if unknown — absence preserves current behavior."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"products": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"brand": {
"type": "string"
},
"price": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
},
"compareAtPrice": {
"type": [
"number",
"null"
]
},
"availability": {
"type": "object",
"properties": {
"dimensions": {
"type": "array",
"items": {
"type": "string",
"enum": [
"color",
"size"
]
}
},
"color": {
"type": "array",
"items": {
"type": "object",
"properties": {
"colorKey": {
"type": "string"
},
"color": {
"type": "string"
},
"label": {
"type": "string"
},
"imageUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"inStock": {
"type": "boolean"
},
"price": {
"type": "number"
},
"compareAtPrice": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
},
"priceRange": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
},
"currency": {
"type": "string"
}
},
"required": [
"min",
"max",
"currency"
],
"additionalProperties": false
},
"compareAtPriceRange": {
"$ref": "#/properties/products/items/properties/availability/properties/color/items/properties/priceRange"
},
"availableSizes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"inStock": {
"type": "boolean"
}
},
"required": [
"label",
"inStock"
],
"additionalProperties": false
}
}
},
"required": [
"colorKey",
"color",
"label",
"availableSizes"
],
"additionalProperties": false
}
},
"sizes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"inStock": {
"type": "boolean"
},
"price": {
"type": "number"
},
"compareAtPrice": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
},
"priceRange": {
"$ref": "#/properties/products/items/properties/availability/properties/color/items/properties/priceRange"
},
"compareAtPriceRange": {
"$ref": "#/properties/products/items/properties/availability/properties/color/items/properties/priceRange"
}
},
"required": [
"label",
"inStock"
],
"additionalProperties": false
}
},
"variants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"colorKey": {
"type": "string"
},
"size": {
"type": "string"
},
"inStock": {
"type": "boolean"
},
"sku": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"price": {
"type": "number"
},
"compareAtPrice": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
}
},
"required": [
"inStock"
],
"additionalProperties": false
}
}
},
"required": [
"dimensions",
"color",
"sizes"
],
"additionalProperties": false
},
"images": {
"type": "array",
"items": {
"type": "string"
}
},
"productUrl": {
"type": "string"
},
"inStock": {
"type": "boolean"
}
},
"required": [
"id",
"title",
"price",
"currency",
"availability"
],
"additionalProperties": false
}
},
"page": {
"type": "integer"
},
"hasNextPage": {
"type": "boolean"
},
"marketUrl": {
"type": "string"
}
},
"required": [
"products",
"page",
"hasNextPage",
"marketUrl"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢find_similar_products(product_id, limit, page, currency, country)
Given a product ID, find similar products across the entire catalog. Useful for "more like this" recommendations or finding alternatives. Returns compact product cards, not full variant detail; call get_product for SKU-level variants, exact variant prices, merchant description, store info, and all images. Returns page and hasNextPage. Returns up to 20 results per page, paginated (max 3 pages).
Input Schema
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "The product ID (from a previous search result)"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 12,
"description": "Page size (1-20)"
},
"page": {
"type": "integer",
"minimum": 1,
"maximum": 3,
"default": 1,
"description": "Page number (1-3)"
},
"currency": {
"type": "string",
"maxLength": 3,
"description": "ISO 4217 currency code to render prices in (e.g. \"GBP\", \"EUR\", \"USD\"). Defaults to USD. Stored native prices are preferred; falls back to FX conversion when a merchant-set price isn't available."
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Optional shopper location as an ISO-3166-1 alpha-2 country code (e.g. \"US\", \"GB\", \"DE\"). Recorded for analytics and used to improve future offer geo-matching. Omit if unknown — absence preserves current behavior."
}
},
"required": [
"product_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"page": {
"type": "integer"
},
"hasNextPage": {
"type": "boolean"
},
"products": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"price": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
},
"compareAtPrice": {
"type": [
"number",
"null"
]
},
"category": {
"type": "string"
},
"colors": {
"type": "array",
"items": {
"type": "string"
}
},
"materials": {
"type": "array",
"items": {
"type": "string"
}
},
"gender": {
"type": "string"
},
"silhouette": {
"type": "string"
},
"neckline": {
"type": "string"
},
"sleeves": {
"type": "string"
},
"closures": {
"type": "array",
"items": {
"type": "string"
}
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"isSustainable": {
"type": "boolean"
},
"availability": {
"type": "object",
"properties": {
"dimensions": {
"type": "array",
"items": {
"type": "string",
"enum": [
"color",
"size"
]
}
},
"color": {
"type": "array",
"items": {
"type": "object",
"properties": {
"colorKey": {
"type": "string"
},
"color": {
"type": "string"
},
"label": {
"type": "string"
},
"imageUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"inStock": {
"type": "boolean"
},
"price": {
"type": "number"
},
"compareAtPrice": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
},
"priceRange": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
},
"currency": {
"type": "string"
}
},
"required": [
"min",
"max",
"currency"
],
"additionalProperties": false
},
"compareAtPriceRange": {
"$ref": "#/properties/products/items/properties/availability/properties/color/items/properties/priceRange"
},
"availableSizes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"inStock": {
"type": "boolean"
}
},
"required": [
"label",
"inStock"
],
"additionalProperties": false
}
}
},
"required": [
"colorKey",
"color",
"label",
"availableSizes"
],
"additionalProperties": false
}
},
"sizes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"inStock": {
"type": "boolean"
},
"price": {
"type": "number"
},
"compareAtPrice": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
},
"priceRange": {
"$ref": "#/properties/products/items/properties/availability/properties/color/items/properties/priceRange"
},
"compareAtPriceRange": {
"$ref": "#/properties/products/items/properties/availability/properties/color/items/properties/priceRange"
}
},
"required": [
"label",
"inStock"
],
"additionalProperties": false
}
},
"variants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"colorKey": {
"type": "string"
},
"size": {
"type": "string"
},
"inStock": {
"type": "boolean"
},
"sku": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"price": {
"type": "number"
},
"compareAtPrice": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
}
},
"required": [
"inStock"
],
"additionalProperties": false
}
}
},
"required": [
"dimensions",
"color",
"sizes"
],
"additionalProperties": false
},
"inStock": {
"type": "boolean"
},
"images": {
"type": "array",
"items": {
"type": "string"
}
},
"productUrl": {
"type": "string"
},
"brand": {
"type": "string"
},
"relevanceScore": {
"type": "number"
},
"similarityScore": {
"type": "number"
}
},
"required": [
"id",
"title",
"price",
"currency",
"availability"
],
"additionalProperties": false
}
}
},
"required": [
"page",
"hasNextPage",
"products"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢discover_brands(query, ships_from_country, style, price_tier, category_focus, ...)
Find fashion brands using natural language, structured filters, or both. Best for queries like "Italian streetwear brands", "Scandinavian minimalist brands", "Japanese technical outerwear", "brands with avant-garde tailoring", or qualified similarity such as "brands like Rick Owens for technical outerwear". For a plain "brands like X" request, use find_similar_brands. Country adjectives ("Italian", "Scandinavian", "Nordic", "Japanese", "Iberian", "Benelux") are parsed server-side into shipping-origin filters; you don't need to translate them to ISO codes. `query` is optional — provide a query, structured filters, or both. Brand country/shipping signals are best-effort and separate from product availability.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 500,
"description": "Natural language brand search query, e.g. \"Italian streetwear brands\", \"Scandinavian minimalist brands\", \"Japanese technical outerwear\", or qualified similarity such as \"brands like Rick Owens for technical outerwear\". Use find_similar_brands for a plain \"brands like X\" request. Similarity seeds must resolve to an active catalog brand or merged alias; unknown or ambiguous seeds return no brands. Country adjectives are parsed server-side — no need to translate them into ISO codes. Optional: when omitted, results are filtered by the structured fields below."
},
"ships_from_country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Optional ISO-3166-1 alpha-2 country filter for best-effort store shipping origin, e.g. \"IT\", \"US\", \"GB\". Lowercase input is accepted and normalized to uppercase. This is not the same as brand origin."
},
"style": {
"type": "string",
"enum": [
"minimalist",
"streetwear",
"elegant",
"avant-garde",
"grunge",
"vintage",
"y2k",
"techwear",
"workwear",
"preppy",
"punk",
"sportswear",
"coquette",
"quiet-luxury",
"old-money",
"gorpcore",
"goth",
"basics",
"boho",
"glam",
"edgy",
"classic",
"western"
],
"description": "Optional style filter, e.g. streetwear, minimalist, elegant, avant-garde, techwear."
},
"price_tier": {
"type": "string",
"enum": [
"budget",
"mid",
"premium",
"luxury"
],
"description": "Optional public brand price-tier focus filter: budget, mid, premium, or luxury. Input \"budget\" maps to the brand-level output tier \"value\"."
},
"category_focus": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 20,
"description": "Optional brand category focus filters, e.g. [\"clothing\", \"shoes\"]."
},
"gender_focus": {
"type": "array",
"items": {
"type": "string",
"enum": [
"women",
"men",
"unisex",
"boys",
"girls"
]
},
"maxItems": 20,
"description": "Optional brand audience focus filters."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 12,
"description": "Maximum number of brands to return (1-20, default 12)."
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Optional shopper location as an ISO-3166-1 alpha-2 country code (e.g. \"US\", \"GB\", \"DE\"). Recorded for analytics and used to improve future offer geo-matching. Omit if unknown — absence preserves current behavior."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"brands": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"about": {
"type": "string"
},
"domains": {
"type": "array",
"items": {
"type": "string"
}
},
"shipsFromCountries": {
"type": "array",
"items": {
"type": "string"
}
},
"countryOfOrigin": {
"type": "string"
},
"styles": {
"type": "array",
"items": {
"type": "string"
}
},
"categories": {
"type": "array",
"items": {
"type": "string"
}
},
"materials": {
"type": "array",
"items": {
"type": "string"
}
},
"genders": {
"type": "array",
"items": {
"type": "string"
}
},
"priceTier": {
"type": "string"
},
"similarityScore": {
"type": "number"
}
},
"required": [
"name"
],
"additionalProperties": false
}
}
},
"required": [
"brands"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢find_similar_brands(brand, limit, country)
Given an active catalog brand name or merged alias, find similar brands using brand-profile vectors generated during product indexing. Unknown or ambiguous seeds return no brands. Returns up to 20 brands.
Input Schema
{
"type": "object",
"properties": {
"brand": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Brand name (case-insensitive), e.g. \"Rick Owens\"."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 12
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Optional shopper location as an ISO-3166-1 alpha-2 country code (e.g. \"US\", \"GB\", \"DE\"). Recorded for analytics and used to improve future offer geo-matching. Omit if unknown — absence preserves current behavior."
}
},
"required": [
"brand"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"brands": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"about": {
"type": "string"
},
"domains": {
"type": "array",
"items": {
"type": "string"
}
},
"shipsFromCountries": {
"type": "array",
"items": {
"type": "string"
}
},
"countryOfOrigin": {
"type": "string"
},
"styles": {
"type": "array",
"items": {
"type": "string"
}
},
"categories": {
"type": "array",
"items": {
"type": "string"
}
},
"materials": {
"type": "array",
"items": {
"type": "string"
}
},
"genders": {
"type": "array",
"items": {
"type": "string"
}
},
"priceTier": {
"type": "string"
},
"similarityScore": {
"type": "number"
}
},
"required": [
"name"
],
"additionalProperties": false
}
}
},
"required": [
"brands"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_product(product_id, currency, country)
Get the detailed response for a specific product ID. Use this after discover_products or find_similar_products when you need merchant description, store info, all images, SKU-level availability variants, SKU, colorKey/size matrix, exact variant prices/compareAtPrice in the requested currency, and the direct link to purchase.
Input Schema
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "The product ID (from a previous search result)"
},
"currency": {
"type": "string",
"maxLength": 3,
"description": "ISO 4217 currency code to render prices in (e.g. \"GBP\", \"EUR\", \"USD\"). Defaults to USD."
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Optional shopper location as an ISO-3166-1 alpha-2 country code (e.g. \"US\", \"GB\", \"DE\"). Recorded for analytics and used to improve future offer geo-matching. Omit if unknown — absence preserves current behavior."
}
},
"required": [
"product_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"price": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
},
"compareAtPrice": {
"type": [
"number",
"null"
]
},
"category": {
"type": "string"
},
"colors": {
"type": "array",
"items": {
"type": "string"
}
},
"materials": {
"type": "array",
"items": {
"type": "string"
}
},
"gender": {
"type": "string"
},
"silhouette": {
"type": "string"
},
"neckline": {
"type": "string"
},
"sleeves": {
"type": "string"
},
"closures": {
"type": "array",
"items": {
"type": "string"
}
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"isSustainable": {
"type": "boolean"
},
"availability": {
"type": "object",
"properties": {
"dimensions": {
"type": "array",
"items": {
"type": "string",
"enum": [
"color",
"size"
]
}
},
"color": {
"type": "array",
"items": {
"type": "object",
"properties": {
"colorKey": {
"type": "string"
},
"color": {
"type": "string"
},
"label": {
"type": "string"
},
"imageUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"inStock": {
"type": "boolean"
},
"price": {
"type": "number"
},
"compareAtPrice": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
},
"priceRange": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
},
"currency": {
"type": "string"
}
},
"required": [
"min",
"max",
"currency"
],
"additionalProperties": false
},
"compareAtPriceRange": {
"$ref": "#/properties/availability/properties/color/items/properties/priceRange"
},
"availableSizes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"inStock": {
"type": "boolean"
}
},
"required": [
"label",
"inStock"
],
"additionalProperties": false
}
}
},
"required": [
"colorKey",
"color",
"label",
"availableSizes"
],
"additionalProperties": false
}
},
"sizes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"inStock": {
"type": "boolean"
},
"price": {
"type": "number"
},
"compareAtPrice": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
},
"priceRange": {
"$ref": "#/properties/availability/properties/color/items/properties/priceRange"
},
"compareAtPriceRange": {
"$ref": "#/properties/availability/properties/color/items/properties/priceRange"
}
},
"required": [
"label",
"inStock"
],
"additionalProperties": false
}
},
"variants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"colorKey": {
"type": "string"
},
"size": {
"type": "string"
},
"inStock": {
"type": "boolean"
},
"sku": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"price": {
"type": "number"
},
"compareAtPrice": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
}
},
"required": [
"inStock"
],
"additionalProperties": false
}
}
},
"required": [
"dimensions",
"color",
"sizes"
],
"additionalProperties": false
},
"inStock": {
"type": "boolean"
},
"images": {
"type": "array",
"items": {
"type": "string"
}
},
"productUrl": {
"type": "string"
},
"brand": {
"type": "string"
},
"relevanceScore": {
"type": "number"
},
"similarityScore": {
"type": "number"
},
"merchantDescription": {
"type": "string"
},
"store": {
"anyOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"domain": {
"type": "string"
}
},
"required": [
"name",
"domain"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"title",
"price",
"currency",
"availability"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_filters(fields, brand_search, brand_page, gender, country)
Returns available filter values in the catalog. By default returns categoryTree plus brands, colors, materials, genders, occasions, seasons, styles, silhouettes, currencies, and price range. Use "fields" to request only specific dimensions — faster and less data. "categoryTree" is a flat DFS-ordered list of { value, label } entries; hierarchy is encoded in the value slug (e.g. "clothing/jackets/bomber-jackets"), parents appear before descendants, and every value can be passed directly to discover_products.category. Use "brand_search" to search brands by prefix instead of listing all. Pass "gender" to scope categoryTree to that gender (women/men/girls/boys); omit to see the merged union.
Input Schema
{
"type": "object",
"properties": {
"fields": {
"type": "array",
"items": {
"type": "string",
"enum": [
"categoryTree",
"brands",
"colors",
"materials",
"genders",
"occasions",
"seasons",
"styles",
"silhouettes",
"patterns",
"currencies",
"priceRange"
]
},
"description": "Which filter dimensions to return. Omit for all. Example: [\"categoryTree\", \"colors\", \"priceRange\"]"
},
"brand_search": {
"type": "string",
"maxLength": 100,
"description": "Search brands by name (case-insensitive, prefix matches first). Only affects the brands field."
},
"brand_page": {
"type": "integer",
"minimum": 1,
"default": 1,
"description": "Page number for brands (12 per page). Use with or without brand_search."
},
"gender": {
"type": "string",
"enum": [
"women",
"men",
"unisex",
"boys",
"girls"
],
"description": "Scope categoryTree to this gender. Omit to return the merged union across women/men/girls/boys."
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Optional shopper location as an ISO-3166-1 alpha-2 country code (e.g. \"US\", \"GB\", \"DE\"). Recorded for analytics and used to improve future offer geo-matching. Omit if unknown — absence preserves current behavior."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"categoryTree": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"label": {
"type": "string"
}
},
"required": [
"value",
"label"
],
"additionalProperties": false
}
},
"brands": {
"type": "array",
"items": {
"type": "string"
}
},
"colors": {
"type": "array",
"items": {
"type": "string"
}
},
"materials": {
"type": "array",
"items": {
"type": "string"
}
},
"genders": {
"type": "array",
"items": {
"type": "string"
}
},
"occasions": {
"type": "array",
"items": {
"type": "string"
}
},
"seasons": {
"type": "array",
"items": {
"type": "string"
}
},
"styles": {
"type": "array",
"items": {
"type": "string"
}
},
"silhouettes": {
"type": "array",
"items": {
"type": "string"
}
},
"patterns": {
"type": "array",
"items": {
"type": "string"
}
},
"currencies": {
"type": "array",
"items": {
"type": "string"
}
},
"priceRange": {
"type": "object",
"properties": {
"min": {
"type": [
"number",
"null"
]
},
"max": {
"type": [
"number",
"null"
]
}
},
"required": [
"min",
"max"
],
"additionalProperties": false
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Evidence