Search Fitatu Food by Barcodes
search_food_by_barcodesSearch food products by GTIN barcode to retrieve product and measure IDs needed for adding meals. Returns up to 10 candidate groups in input order, with optional enriched details.
Instructions
Searches Fitatu's public food catalog for up to 10 GTIN barcodes in parallel. Returns one minimal result group per input barcode in input order, including duplicates. Copy a selected productId and measureId to add_meal_items. This tool only searches and never adds food.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcodes | Yes | One to ten GTIN-8, UPC-A, EAN-13, or GTIN-14 barcode strings. | |
| detailsLimit | No | Maximum candidates to enrich per barcode. Defaults to 3. | |
| includeDetails | No | Whether to enrich top candidates with product details and available measures. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | One result group for every input barcode, preserving input order and duplicates. | |
| warnings | No | Non-fatal warnings produced by barcode searches or enrichment. | |
| warningDetails | No | Structured details for non-fatal barcode search warnings. |