find_alternatives
Find 2-3 safer food or skincare alternatives for a flagged product. Filter by condition lens, get quality scores and ingredient check.
Instructions
Find 2-3 safer swaps for a flagged product: same-category products that rate good/excellent on Clarity's general food/skincare quality score AND contain no ingredient flagged for the given condition lens. Seed by barcode (preferred — e.g. right after scan_barcode flags something) or product_name. Each alternative carries its score, ingredient-recognition coverage, and human_url. The score is a GENERAL quality score, not a condition verdict — verify a chosen alternative with scan_barcode or check_stack. Food and skincare only (supplement swaps are declined honestly for now).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lens | No | Condition lens for the ingredient screen | all |
| count | No | How many alternatives to return (1-5) | |
| barcode | No | UPC/EAN of the product to swap away from (6-14 digits) | |
| product_name | No | Product name to seed from when no barcode is available |