find_similar

find_similar

Given a product ID, find similar products across the entire catalog. Uses vector similarity to surface products that share visual style, materials, price point, and category with the source product.

Parameters

ParameterTypeRequiredDefaultDescription
product_idstringYesThe product ID to find similar products for
limitnumberNo10Max similar products per page
pagenumberNo1Page number (max 3)

Response

{
  "page": 1,
  "totalPages": 3,
  "totalResults": 24,
  "products": [
    {
      "id": "665b2a...",
      "title": "Suede Ankle Boot",
      "summary": "A modern take on the ankle boot in soft brown suede...",
      "price": 265,
      "currency": "USD",
      "category": "Footwear",
      "subcategory": "boots",
      "images": ["https://..."],
      "productUrl": "https://other-store.com/suede-ankle-boot",
      "brand": "Madewell",
      "similarityScore": 0.87
    }
  ]
}

Response fields

FieldDescription
pageCurrent page number
totalPagesTotal number of pages available
totalResultsTotal number of similar products found
similarityScoreVector similarity score (0–1) — how similar this product is to the source
brandMay differ from the source product — results span the entire catalog

Example

{
  "name": "find_similar",
  "arguments": {
    "product_id": "665a1f2b3c4d5e6f7a8b9c0d",
    "limit": 5,
    "page": 1
  }
}

When to use

Use find_similar for "more like this" scenarios — the user liked a product but wants to see alternatives, compare prices across stores, or explore the same style from different brands.