lookup_food
Look up foods by name or barcode to retrieve per-100g macros, portions, and a food_id for later logging or editing.
Instructions
Search foods without logging: a name ("kimchi", "clif bar") or a product barcode. Returns candidates with per-100 g macros, portions and a food_id to pass to log_food or edit_food.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| barcode | No |