Overview
- Category
- Math
- 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/normal-distribution-calculator
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/normal-distribution-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.
mean· number · required- Enter the distribution mean used by this tool.
standard_deviation· number · required- Enter the standard deviation used by this tool.
x· number · required- Enter the first value used by this tool.
x2· number · required- Enter the second value used by this tool.
probability_mode· string · required-
Enter the probability mode used by this tool. Accepted values:
less_than, greater_than, between.
{
"type": "object",
"properties": {
"mean": {
"type": "number",
"description": "Enter the distribution mean used by this tool."
},
"standard_deviation": {
"type": "number",
"description": "Enter the standard deviation used by this tool.",
"minimum": 1.0000000000000000622815914577798564188970686927859787829220294952392578125e-9
},
"x": {
"type": "number",
"description": "Enter the first value used by this tool."
},
"x2": {
"type": "number",
"description": "Enter the second value used by this tool."
},
"probability_mode": {
"type": "string",
"description": "Enter the probability mode used by this tool.",
"enum": [
"less_than",
"greater_than",
"between"
]
}
},
"required": [
"mean",
"standard_deviation",
"x",
"x2",
"probability_mode"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
z_score· number- z-score produced by the tool.
probability· number- Probability produced by the tool.
cdf_at_x· number- CDF at first value produced by the tool.
cdf_at_x2· number- CDF at second value produced by the tool.
{
"type": "object",
"properties": {
"z_score": {
"type": "number",
"description": "z-score produced by the tool."
},
"probability": {
"type": "number",
"description": "Probability produced by the tool."
},
"cdf_at_x": {
"type": "number",
"description": "CDF at first value produced by the tool."
},
"cdf_at_x2": {
"type": "number",
"description": "CDF at second value produced by the tool."
}
},
"additionalProperties": false
}
Normal Distribution 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/normal-distribution-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"mean": 100,
"standard_deviation": 15,
"x": 115,
"x2": 130,
"probability_mode": "less_than"
}'
{
"ok": true,
"data": {
"slug": "normal-distribution-calculator",
"result": {
"values": {
"z_score": 1,
"probability": 84.1344736199999942982685752213001251220703125,
"cdf_at_x": 84.1344736199999942982685752213001251220703125,
"cdf_at_x2": 97.724993710000006785776349715888500213623046875
},
"display": {
"display": "1"
},
"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.