scan_barcode
Look up a product by barcode to identify flagged ingredients for a health condition and check for FDA recalls.
Instructions
Look up a product by barcode (Open Food Facts / Open Beauty Facts), match its ingredients against Clarity's database, return which ingredients are flagged for the given condition lens, AND flag any active FDA recall for the product (recall_flag + recalls[], sourced from FDA — verify via source_url).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lens | No | Condition lens | all |
| barcode | Yes | UPC/EAN barcode, 6-14 digits |