Analyze Recipe Nutrition
spoonacular.recipes.analyzeAnalyze a recipe by supplying its title and ingredient list to receive a complete nutrition breakdown, dietary labels, and caloric distribution.
Instructions
Analyze a recipe by title and ingredient list — returns full nutrition breakdown, dietary labels, and caloric distribution (Spoonacular)
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": {
"title": "<title>",
"ingredients": "<ingredients>"
},
"name": "spoonacular.recipes.analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Recipe title (e.g. "Spaghetti Carbonara") | |
| servings | No | Number of servings (default 1) | |
| ingredients | Yes | List of ingredient strings (e.g. ["200g spaghetti", "100g guanciale", "2 eggs"]) | |
| instructions | No | Cooking instructions as plain text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |