← All tool references

Cooking · not_available

Cooking Time Calculator

Calculate estimated cooking time from food weight, minutes per pound, rest time, shape adjustment.

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/cooking-time-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/cooking-time-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.

weight · number · required
Enter food weight.
minutes_per_unit · number · required
Enter minutes per pound.
rest_minutes · number · required
Enter rest time.
shape_adjustment · string · required
Enter shape adjustment. Accepted values: none, thin_minus_10_percent, thick_plus_15_percent.
{
    "type": "object",
    "properties": {
        "weight": {
            "type": "number",
            "description": "Enter food weight."
        },
        "minutes_per_unit": {
            "type": "number",
            "description": "Enter minutes per pound."
        },
        "rest_minutes": {
            "type": "number",
            "description": "Enter rest time."
        },
        "shape_adjustment": {
            "type": "string",
            "description": "Enter shape adjustment.",
            "enum": [
                "none",
                "thin_minus_10_percent",
                "thick_plus_15_percent"
            ]
        }
    },
    "required": [
        "weight",
        "minutes_per_unit",
        "rest_minutes",
        "shape_adjustment"
    ],
    "additionalProperties": false
}

Output schema

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

cooking_minutes · number
Estimated cooking time produced by the tool.
ready_in_minutes · number
Cooking plus rest produced by the tool.
planning_range · string
Planning range produced by the tool.
{
    "type": "object",
    "properties": {
        "cooking_minutes": {
            "type": "number",
            "description": "Estimated cooking time produced by the tool."
        },
        "ready_in_minutes": {
            "type": "number",
            "description": "Cooking plus rest produced by the tool."
        },
        "planning_range": {
            "type": "string",
            "description": "Planning range produced by the tool."
        }
    },
    "additionalProperties": false
}

Cooking Time 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/cooking-time-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "weight": 4,
    "minutes_per_unit": 20,
    "rest_minutes": 15,
    "shape_adjustment": "none"
}'
{
    "ok": true,
    "data": {
        "slug": "cooking-time-calculator",
        "result": {
            "values": {
                "cooking_minutes": 80,
                "ready_in_minutes": 95,
                "planning_range": "72–88 minutes before rest"
            },
            "display": {
                "display": "80"
            },
            "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.