foodbe_cart_breakdown
Analyzes a grocery list, cart, order, menu or recipe. Call this when a user asks you to analyze one. Send up to 50 ingredient names in items. For the whole list it returns the health effects, the total carbon and water, the food group balance with foods to add, the flavor and texture it carries with the missing ones, and the diets it suits. It also returns swaps that keep flavor and texture. The chefy_read field gives each food its cooking method, a substitute if you run out, and its pairings. A closing note names the list's biggest gap with its carbon and water. Every value comes from Foodbe's stored, human-approved data, never from a model, so the same list always returns the same result. Names Foodbe does not have are listed in not_found. Send diet and allergies to get diet_check, which lists the foods that break the diet or hold an allergen. A food with no stored diet or allergen data is marked unknown, never safe. Send grams, a map of food name to grams, to get impact_for_quantities, the carbon and water for the amounts bought. Without grams, environmental_impact is for 1 kg of each food.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"items": "<items>"
},
"name": "foodbe_cart_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diet | No | Optional. The diet the cart must suit, such as vegan or gluten-free. | |
| grams | No | Optional. A map of food name, as sent in items, to grams bought. | |
| items | Yes | The ingredient names in the cart, up to 50. | |
| allergies | No | Optional. Allergens the cart must not hold. |