nutrition recipe
nutrition_recipeNutrition facts for a whole recipe: give ingredients with household amounts (cups, tbsp, grams, pieces) and servings; returns calories, protein, fat, saturated fat, carbs, fiber, sugar, sodium, cholesterol and potassium per serving and in total, macro split and the USDA match for each ingredient. Costs $0.01 USDC per call (x402).
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": {
"ingredients": "<ingredients>"
},
"name": "nutrition_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| servings | No | ||
| ingredients | Yes | One per line or | separated, with amounts |