← All tool references

Health · not_available

Healthy Weight Calculator

Calculate reference weight range from height, lower reference bmi, upper reference bmi.

Open public tool

Overview

Category
Health
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/healthy-weight-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/healthy-weight-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.

height · number · required
Enter height.
lower_bmi · number · required
Enter lower reference bmi.
upper_bmi · number · required
Enter upper reference bmi.
{
    "type": "object",
    "properties": {
        "height": {
            "type": "number",
            "description": "Enter height."
        },
        "lower_bmi": {
            "type": "number",
            "description": "Enter lower reference bmi."
        },
        "upper_bmi": {
            "type": "number",
            "description": "Enter upper reference bmi."
        }
    },
    "required": [
        "height",
        "lower_bmi",
        "upper_bmi"
    ],
    "additionalProperties": false
}

Output schema

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

weight_range · string
Reference weight range produced by the tool.
lower_weight · number
Lower weight produced by the tool.
upper_weight · number
Upper weight produced by the tool.
{
    "type": "object",
    "properties": {
        "weight_range": {
            "type": "string",
            "description": "Reference weight range produced by the tool."
        },
        "lower_weight": {
            "type": "number",
            "description": "Lower weight produced by the tool."
        },
        "upper_weight": {
            "type": "number",
            "description": "Upper weight produced by the tool."
        }
    },
    "additionalProperties": false
}

Healthy Weight 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/healthy-weight-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "height": 175,
    "lower_bmi": 18.5,
    "upper_bmi": 24.89999999999999857891452847979962825775146484375
}'
{
    "ok": true,
    "data": {
        "slug": "healthy-weight-calculator",
        "result": {
            "values": {
                "weight_range": "56.7–76.3 kg",
                "lower_weight": 56.7000000000000028421709430404007434844970703125,
                "upper_weight": 76.2999999999999971578290569595992565155029296875
            },
            "display": {
                "display": "56.7–76.3 kg"
            },
            "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.