action spoonacular_get_recipe_nutrition_widget_by_id { label: "Nutrition by ID" description: "Get a recipe's nutrition data." provider: spoonacular method: GET path: "/recipes/{id}/nutritionWidget.json" encoding: json input: { type: "object" properties: { id: { type: "number" } } required: ["id"] additionalProperties: false } output: { type: "object" required: ["bad", "calories", "carbs", "fat", "good", "protein"] properties: { bad: { type: "array" items: { required: ["name", "amount", "indented", "percentOfDailyNeeds"] properties: { amount: { type: "string" } indented: { type: "boolean" } name: { type: "string" } percentOfDailyNeeds: { type: "number" } } } } calories: { type: "string" } carbs: { type: "string" } fat: { type: "string" } good: { type: "array" items: { required: ["amount", "indented", "percentOfDailyNeeds", "name"] properties: { amount: { type: "string" } indented: { type: "boolean" } name: { type: "string" } percentOfDailyNeeds: { type: "number" } } } } protein: { type: "string" } } } }