action spoonacular_compute_ingredient_amount { label: "Compute Ingredient Amount" description: "Compute the amount you need of a certain ingredient for a certain nutritional goal. For example, how much pineapple do you have to eat to get 10 grams of protein?" provider: spoonacular method: GET path: "/food/ingredients/{id}/amount" encoding: json input: { type: "object" properties: { id: { type: "number" } nutrient: { type: "string" } target: { type: "number" } unit: { type: "string" } } required: ["id", "nutrient", "target"] additionalProperties: false } output: { type: "object" required: ["amount", "unit"] properties: { amount: { type: "number" } unit: { type: "string" } } } }