commerce
Cross-merchant product search with real price history, comparisons, and demand signals.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (3)
- LOWen lookup_catalog
- LOWen compare_prices
- LOWen fetch
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"commerce": {
"url": "https://lmk.today/api/ucp/mcp"
}
}
}Puntos de conexión remotos
https://lmk.today/api/ucp/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (13)
🟢search(query, limit)
Search LMK products; returns citable results, each with a canonical LMK product-page URL. Use for shopping/discovery. For price/brand/on-sale filters, use search_catalog.
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"description": "Natural-language product search query",
"type": "string"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"description": "Canonical LMK product-page URL — makes the result citable",
"type": "string"
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"originalPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discountPercent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"title",
"url"
],
"additionalProperties": false
}
}
},
"required": [
"results"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢fetch(id)
Fetch full detail for one product by id (from a prior search result). Returns citable text with price, savings, 90-day price history, and buying options.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"description": "Product id or slug from a search result",
"type": "string"
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"text": {
"type": "string"
},
"url": {
"type": "string"
},
"metadata": {
"type": "object",
"properties": {
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"originalPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discountPercent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isAtLowest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"lowestPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"highestPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"required": [
"id",
"title",
"text",
"url",
"metadata"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢search_catalog(query, limit, minPrice, maxPrice, onSale, ...)
Search LMK's curated cross-merchant catalog. Returns products with LMK product-page links. Use for "find me X" shopping queries.
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"description": "Natural-language product search query",
"type": "string"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 36
},
"minPrice": {
"type": "number",
"minimum": 0
},
"maxPrice": {
"type": "number",
"minimum": 0
},
"onSale": {
"type": "boolean"
},
"brand": {
"type": "string"
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"products": {
"type": "array",
"items": {
"description": "An LMK catalog product. `url` is always an LMK product-page link.",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"originalPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"onSale": {
"type": "boolean"
},
"discountPercent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"availability": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wishlistCount": {
"type": "number"
}
},
"required": [
"id",
"title",
"currency",
"onSale"
],
"additionalProperties": false
}
},
"total": {
"description": "Total matches available (not just returned)",
"type": "number"
},
"sources": {
"description": "Which backends contributed, e.g. typesense, affiliate",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"products",
"total",
"sources"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢lookup_catalog(ids)
Batch-resolve products by LMK slug, id, or external/merchant id.
Esquema de entrada
{
"type": "object",
"properties": {
"ids": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ids"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"products": {
"type": "array",
"items": {
"description": "An LMK catalog product. `url` is always an LMK product-page link.",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"originalPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"onSale": {
"type": "boolean"
},
"discountPercent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"availability": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wishlistCount": {
"type": "number"
}
},
"required": [
"id",
"title",
"currency",
"onSale"
],
"additionalProperties": false
}
}
},
"required": [
"products"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_product(idOrSlug)
Get a single product with full detail: enriched card, 90-day price stats (lowest/highest/average + is-at-lowest), and cross-merchant buying options.
Esquema de entrada
{
"type": "object",
"properties": {
"idOrSlug": {
"description": "Product slug, id, or external id",
"type": "string"
}
},
"required": [
"idOrSlug"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"product": {
"description": "An LMK catalog product. `url` is always an LMK product-page link.",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"originalPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"onSale": {
"type": "boolean"
},
"discountPercent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"availability": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wishlistCount": {
"type": "number"
}
},
"required": [
"id",
"title",
"currency",
"onSale"
],
"additionalProperties": false
},
"priceStats": {
"anyOf": [
{
"type": "object",
"properties": {
"current": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lowest": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"highest": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"average": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"daysTracked": {
"type": "number"
},
"points": {
"type": "number"
},
"isAtLowest": {
"type": "boolean"
},
"history": {
"type": "array",
"items": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"recordedAt": {
"type": "string"
}
},
"required": [
"price",
"recordedAt"
],
"additionalProperties": false
}
}
},
"required": [
"daysTracked",
"points",
"isAtLowest",
"history"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"buyingOptions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"availability": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"currency"
],
"additionalProperties": false
}
}
},
"required": [
"product",
"priceStats",
"buyingOptions"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢compare_prices(idOrSlug)
Compare a product's price across merchants. Returns offers plus lowest/highest, all linking to the LMK product page.
Esquema de entrada
{
"type": "object",
"properties": {
"idOrSlug": {
"type": "string"
}
},
"required": [
"idOrSlug"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"product": {
"description": "An LMK catalog product. `url` is always an LMK product-page link.",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"originalPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"onSale": {
"type": "boolean"
},
"discountPercent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"availability": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wishlistCount": {
"type": "number"
}
},
"required": [
"id",
"title",
"currency",
"onSale"
],
"additionalProperties": false
},
"offers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"availability": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"currency"
],
"additionalProperties": false
}
},
"lowestPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"highestPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"product",
"offers"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_price_history(idOrSlug, daysBack)
Get price history and stats for a product over a trailing window (default 90 days). LMK-proprietary price intelligence.
Esquema de entrada
{
"type": "object",
"properties": {
"idOrSlug": {
"type": "string"
},
"daysBack": {
"type": "integer",
"minimum": 7,
"maximum": 365
}
},
"required": [
"idOrSlug"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"current": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lowest": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"highest": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"average": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"daysTracked": {
"type": "number"
},
"points": {
"type": "number"
},
"isAtLowest": {
"type": "boolean"
},
"history": {
"type": "array",
"items": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"recordedAt": {
"type": "string"
}
},
"required": [
"price",
"recordedAt"
],
"additionalProperties": false
}
}
},
"required": [
"daysTracked",
"points",
"isAtLowest",
"history"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_deals(limit, category, minDiscountPercent)
Today's best deals, ranked by LMK's deal-quality scoring (discount depth, price sweet spot, merchant quality). Optionally filter by category slug or minimum discount.
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"category": {
"type": "string"
},
"minDiscountPercent": {
"type": "number",
"minimum": 0,
"maximum": 99
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"deals": {
"type": "array",
"items": {
"description": "An LMK catalog product. `url` is always an LMK product-page link.",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"originalPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"onSale": {
"type": "boolean"
},
"discountPercent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"availability": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wishlistCount": {
"type": "number"
}
},
"required": [
"id",
"title",
"currency",
"onSale"
],
"additionalProperties": false
}
},
"generatedAt": {
"type": "string"
},
"totalDealCount": {
"type": "number"
}
},
"required": [
"deals",
"generatedAt",
"totalDealCount"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_popular_products(limit, minPrice, maxPrice)
Most-wishlisted products (180-day demand signal across all LMK lists, aggregate counts only). Unique LMK demand data.
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"minPrice": {
"type": "number",
"minimum": 0
},
"maxPrice": {
"type": "number",
"minimum": 0
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"products": {
"type": "array",
"items": {
"description": "An LMK catalog product. `url` is always an LMK product-page link.",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"originalPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"onSale": {
"type": "boolean"
},
"discountPercent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"availability": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wishlistCount": {
"type": "number"
}
},
"required": [
"id",
"title",
"currency",
"onSale"
],
"additionalProperties": false
}
}
},
"required": [
"products"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_trending_products(limit)
Products gaining momentum — most-added to wishlists in the last 30 days (aggregate counts only).
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"products": {
"type": "array",
"items": {
"description": "An LMK catalog product. `url` is always an LMK product-page link.",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"originalPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"onSale": {
"type": "boolean"
},
"discountPercent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"availability": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wishlistCount": {
"type": "number"
}
},
"required": [
"id",
"title",
"currency",
"onSale"
],
"additionalProperties": false
}
}
},
"required": [
"products"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_gift_ideas(query, minPrice, maxPrice, limit)
Gift recommendations for a recipient/occasion within a budget. Blends curated search with LMK demand signals.
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"description": "Recipient/occasion, e.g. \"gifts for new dad\"",
"type": "string"
},
"minPrice": {
"type": "number",
"minimum": 0
},
"maxPrice": {
"type": "number",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 36
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"products": {
"type": "array",
"items": {
"description": "An LMK catalog product. `url` is always an LMK product-page link.",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"originalPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"onSale": {
"type": "boolean"
},
"discountPercent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"availability": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wishlistCount": {
"type": "number"
}
},
"required": [
"id",
"title",
"currency",
"onSale"
],
"additionalProperties": false
}
}
},
"required": [
"products"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢list_collections(limit)
List LMK's published editorial collections (occasions, holidays, beauty, style, sports).
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"collections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"theme": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"type": "string"
}
},
"required": [
"slug",
"title",
"url"
],
"additionalProperties": false
}
}
},
"required": [
"collections"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_collection(slug, limit)
Get a single editorial collection and its curated products by slug.
Esquema de entrada
{
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 60
}
},
"required": [
"slug"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"theme": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"type": "string"
},
"products": {
"type": "array",
"items": {
"description": "An LMK catalog product. `url` is always an LMK product-page link.",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"originalPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"onSale": {
"type": "boolean"
},
"discountPercent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"merchant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"availability": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wishlistCount": {
"type": "number"
}
},
"required": [
"id",
"title",
"currency",
"onSale"
],
"additionalProperties": false
}
}
},
"required": [
"slug",
"title",
"url",
"products"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}Prompts recomendados
searchsearchfetchfetchlist_collectionsComunidad
Evidencia