← All tool references

Cooking · not_available

Pizza Dough Calculator

Scale pizza dough ingredients from pizza count, dough-ball weight, hydration, salt, and yeast.

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/pizza-dough-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/pizza-dough-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.

pizza_count · number · required
Enter the number of pizzas used by this tool.
dough_ball_weight · number · required
Enter the dough ball weight used by this tool.
hydration · number · required
Enter the hydration used by this tool.
salt_percent · number · required
Enter the salt used by this tool.
yeast_percent · number · required
Enter the yeast used by this tool.
oil_percent · number · required
Enter the oil used by this tool.
{
    "type": "object",
    "properties": {
        "pizza_count": {
            "type": "number",
            "description": "Enter the number of pizzas used by this tool.",
            "minimum": 1
        },
        "dough_ball_weight": {
            "type": "number",
            "description": "Enter the dough ball weight used by this tool.",
            "minimum": 50
        },
        "hydration": {
            "type": "number",
            "description": "Enter the hydration used by this tool.",
            "minimum": 30,
            "maximum": 100
        },
        "salt_percent": {
            "type": "number",
            "description": "Enter the salt used by this tool.",
            "minimum": 0,
            "maximum": 10
        },
        "yeast_percent": {
            "type": "number",
            "description": "Enter the yeast used by this tool.",
            "minimum": 0,
            "maximum": 5
        },
        "oil_percent": {
            "type": "number",
            "description": "Enter the oil used by this tool.",
            "minimum": 0,
            "maximum": 20
        }
    },
    "required": [
        "pizza_count",
        "dough_ball_weight",
        "hydration",
        "salt_percent",
        "yeast_percent",
        "oil_percent"
    ],
    "additionalProperties": false
}

Output schema

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

total_dough_weight · number
Total dough weight produced by the tool.
flour_grams · number
Flour produced by the tool.
water_grams · number
Water produced by the tool.
salt_grams · number
Salt produced by the tool.
yeast_grams · number
Yeast produced by the tool.
oil_grams · number
Oil produced by the tool.
{
    "type": "object",
    "properties": {
        "total_dough_weight": {
            "type": "number",
            "description": "Total dough weight produced by the tool."
        },
        "flour_grams": {
            "type": "number",
            "description": "Flour produced by the tool."
        },
        "water_grams": {
            "type": "number",
            "description": "Water produced by the tool."
        },
        "salt_grams": {
            "type": "number",
            "description": "Salt produced by the tool."
        },
        "yeast_grams": {
            "type": "number",
            "description": "Yeast produced by the tool."
        },
        "oil_grams": {
            "type": "number",
            "description": "Oil produced by the tool."
        }
    },
    "additionalProperties": false
}

Pizza Dough Calculator 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/pizza-dough-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "pizza_count": 4,
    "dough_ball_weight": 260,
    "hydration": 65,
    "salt_percent": 2.5,
    "yeast_percent": 0.200000000000000011102230246251565404236316680908203125,
    "oil_percent": 2
}'
{
    "ok": true,
    "data": {
        "slug": "pizza-dough-calculator",
        "result": {
            "values": {
                "total_dough_weight": 1040,
                "flour_grams": 612.8500000000000227373675443232059478759765625,
                "water_grams": 398.3500000000000227373675443232059478759765625,
                "salt_grams": 15.32000000000000028421709430404007434844970703125,
                "yeast_grams": 1.22599999999999997868371792719699442386627197265625,
                "oil_grams": 12.2599999999999997868371792719699442386627197265625
            },
            "display": {
                "display": "1040"
            },
            "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.