search_foods
Search for food ingredients by name using one or multiple queries simultaneously; returns ranked matches to pinpoint the correct ingredient for recipes.
Instructions
Look up foods (ingredients) by name — all of a recipe's ingredients at once.
Results are ranked by similarity, best first, so the top hit is usually right but the tail may be unrelated. Pick the entry that means the ingredient itself: prefer 'Parmesan' over 'Parmesankäse' unless the recipe really calls for the latter.
Search for the ingredient, not the whole written line. Amount, unit and preparation are separate fields, so "100 g geriebener Parmesan" is one query for 'Parmesan', with 'gerieben' going into the ingredient's note.
Foods form a tree, so 'full_name' shows the path ('Gemüse > Zwiebel'). Called without queries this lists foods, which is rarely useful — the database holds thousands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Hits per query | |
| queries | No | One term per entity you are looking for; all are searched at once. Omit to list everything. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |