← All tool references

Cooking · not_available

Bread Dough Scaling Calculator

Scale a bread formula to a target dough weight.

Open public tool

Overview

Category
Cooking
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/bread-dough-scaling-calculator

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/bread-dough-scaling-calculator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

target_dough_weight · number · required
Enter target dough weight.
formula · string · required
Enter baker percentages.
{
    "type": "object",
    "properties": {
        "target_dough_weight": {
            "type": "number",
            "description": "Enter target dough weight."
        },
        "formula": {
            "type": "string",
            "description": "Enter baker percentages."
        }
    },
    "required": [
        "target_dough_weight",
        "formula"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

ingredients · array
Scaled ingredients produced by the tool.
total_percentage · number
Formula percentage produced by the tool.
calculated_weight · number
Calculated dough weight produced by the tool.
{
    "type": "object",
    "properties": {
        "ingredients": {
            "type": "array",
            "description": "Scaled ingredients produced by the tool."
        },
        "total_percentage": {
            "type": "number",
            "description": "Formula percentage produced by the tool."
        },
        "calculated_weight": {
            "type": "number",
            "description": "Calculated dough weight produced by the tool."
        }
    },
    "additionalProperties": false
}

Bread Dough Scaling Calculator worked example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/bread-dough-scaling-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "target_dough_weight": 1800,
    "formula": "Flour|100\nWater|72\nStarter|20\nSalt|2"
}'
{
    "ok": true,
    "data": {
        "slug": "bread-dough-scaling-calculator",
        "result": {
            "values": {
                "ingredients": [
                    {
                        "ingredient": "Flour",
                        "percentage": 100,
                        "grams": 927.799999999999954525264911353588104248046875
                    },
                    {
                        "ingredient": "Water",
                        "percentage": 72,
                        "grams": 668
                    },
                    {
                        "ingredient": "Starter",
                        "percentage": 20,
                        "grams": 185.599999999999994315658113919198513031005859375
                    },
                    {
                        "ingredient": "Salt",
                        "percentage": 2,
                        "grams": 18.60000000000000142108547152020037174224853515625
                    }
                ],
                "total_percentage": 194,
                "calculated_weight": 1800
            },
            "display": {
                "display": "[{\"ingredient\":\"Flour\",\"percentage\":100,\"grams\":927.799999999999954525264911353588104248046875},{\"ingredient\":\"Water\",\"percentage\":72,\"grams\":668},{\"ingredient\":\"Starter\",\"percentage\":20,\"grams\":185.599999999999994315658113919198513031005859375},{\"ingredient\":\"Salt\",\"percentage\":2,\"grams\":18.60000000000000142108547152020037174224853515625}]"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.