{"ok":true,"data":{"tool":{"slug":"cost-per-serving-calculator","name":"Cost per Serving Calculator","section":"calculators","category":"Cooking","subcategory":"Nutrition & Cost","url":"/calculators/nutrition-and-cost/cost-per-serving-calculator/","status":"live","api_mode":"not_available","webmcp_mode":"navigate_only","processing_mode":"client-side","privacy_mode":"no-data-stored","summary":"Calculate recipe cost and cost per serving from ingredient rows.","input_schema":{"type":"object","properties":{"ingredients":{"type":"string","description":"Enter ingredients and costs."},"servings":{"type":"number","description":"Enter servings."}},"required":["ingredients","servings"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"recipe_cost":{"type":"number","description":"Total recipe cost produced by the tool."},"cost_per_serving":{"type":"number","description":"Cost per serving produced by the tool."},"ingredients":{"type":"array","description":"Ingredient costs produced by the tool."}},"additionalProperties":false},"examples":[{"title":"Cost per Serving Calculator worked example","description":null,"input":{"ingredients":"Flour|1.25\nCheese|4.80\nTomatoes|2.40\nHerbs|0.95","servings":8},"output":{"recipe_cost":9.4000000000000003552713678800500929355621337890625,"cost_per_serving":1.1799999999999999378275106209912337362766265869140625,"ingredients":[{"ingredient":"Flour","cost":1.25},{"ingredient":"Cheese","cost":4.79999999999999982236431605997495353221893310546875},{"ingredient":"Tomatoes","cost":2.399999999999999911182158029987476766109466552734375},{"ingredient":"Herbs","cost":0.9499999999999999555910790149937383830547332763671875}]}}],"capability":null}},"meta":{"api_status":"preview","execution":"unavailable"},"request_id":"2dbfc15be2ace818fe79b49e"}