Compare product to alternatives
suppco_compare_product_to_alternativesRead-onlyIdempotent
Compare a product against alternatives in its category. Returns a detailed view of the anchor product (trust score, ingredients, excipients) alongside filtered alternatives. Use when user asks to compare, find alternatives, or asks "is there something better?"
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form | No | Product forms. Valid: capsule, tablet, softgel, gummy, powder, liquid, other | |
| priority | No | How to rank alternatives. Valid: best_value, most_trusted, most_popular, most_expensive. Omit (or leave blank) to apply the user's profile buying preference automatically; pass a value to override. | |
| servings | No | Comma-separated serving counts (e.g., '60,90') | |
| max_price | No | Maximum price in dollars | |
| certifications | No | Certifications filter, comma-separated. Valid: gluten_free, non_gmo, vegan_action, usda_organic, nsf_sport, usp_verified, informed_sport, informed_choice, tested_by_suppco. Omit (or leave blank) to apply the user's profile dietary preferences (vegan, gluten-free) automatically; pass an explicit list to override. | |
| product_id_or_slug | Yes | Product ID (UUID), slug, or product name of the product to compare. Prefer slugs or UUIDs when available — they give exact matches. |