util_recipe_scale
Recipe scaler + unit converter — Scale a recipe's ingredient lines from servings= to to= (or factor=). Parses whole numbers, decimals, fractions, mixed numbers, unicode fractions and ranges; converts awkward volumes to sensible units (tsp/tbsp/cup); rounds whole items like eggs and cloves with a note; leaves 'to taste' lines alone. system=metric converts US volumes/weights to ml/g, system=us converts metric to cups/oz. Lines separated by ';' or new lines. Offline. Price: $0.002 USDC (Base, via x402).
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": {
"recipe": "<recipe>",
"servings": "<servings>",
"to": "<to>"
},
"name": "util_recipe_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | e.g. 6 | |
| recipe | Yes | e.g. 2 cups flour; 1 1/2 tsp baking soda; 3 eggs; 1/4 cup sugar | |
| servings | Yes | e.g. 4 |