Calculate recipe cost
restaurant-operations_recipe-cost-calculateCalculate recipe and per-portion cost from supplied ingredient quantities and prices after unit conversion. Missing prices are not invented. Price $0.04 USDC. POST /api/v1/restaurant-operations/recipe-cost-calculate. An unpaid call returns the x402 payment terms and does not run.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "restaurant-operations_recipe-cost-calculate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | csv, string, length 0 to 200000. Optional. | |
| asOf | No | asOf, string, length 0 to 40. Optional. | |
| file | No | file, object. Optional. | |
| json | No | json, string, length 0 to 200000. Optional. | |
| text | No | text, string, length 0 to 200000. Optional. | |
| sales | No | sales, array. Optional. | |
| waste | No | waste, array. Optional. | |
| matrix | No | matrix, array. Optional. | |
| prices | No | prices, array. Optional. | |
| recipes | No | recipes, array. Optional. | |
| allergens | No | allergens, array. Optional. | |
| ingredients | No | ingredients, array. Optional. | |
| recipeLines | No | recipeLines, array. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | items. Array. | |
| status | No | status. String. | |
| findings | No | findings. Array. | |
| checkedAt | No | checkedAt. String. | |
| limitations | No | limitations. Array. | |
| priceInvented | No | priceInvented. Boolean. | |
| allergenInvented | No | allergenInvented. Boolean. | |
| nutritionInvented | No | nutritionInvented. Boolean. | |
| foodSafetyComplianceClaimed | No | foodSafetyComplianceClaimed. Boolean. |