Overview
- Category
- Engineering
- 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/moment-of-inertia-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/moment-of-inertia-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.
shape· string · required-
Enter shape. Accepted values:
rectangle, circle, hollow_circle. width· number · required- Enter width.
height· number · required- Enter height.
diameter· number · required- Enter outer diameter.
inner_diameter· number · required- Enter inner diameter.
{
"type": "object",
"properties": {
"shape": {
"type": "string",
"description": "Enter shape.",
"enum": [
"rectangle",
"circle",
"hollow_circle"
]
},
"width": {
"type": "number",
"description": "Enter width."
},
"height": {
"type": "number",
"description": "Enter height."
},
"diameter": {
"type": "number",
"description": "Enter outer diameter."
},
"inner_diameter": {
"type": "number",
"description": "Enter inner diameter."
}
},
"required": [
"shape",
"width",
"height",
"diameter",
"inner_diameter"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
area_moment· number- Area moment of inertia produced by the tool.
axis· string- Axis produced by the tool.
section_area· number- Section area produced by the tool.
{
"type": "object",
"properties": {
"area_moment": {
"type": "number",
"description": "Area moment of inertia produced by the tool."
},
"axis": {
"type": "string",
"description": "Axis produced by the tool."
},
"section_area": {
"type": "number",
"description": "Section area produced by the tool."
}
},
"additionalProperties": false
}
Moment of Inertia 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/moment-of-inertia-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"shape": "rectangle",
"width": 0.299999999999999988897769753748434595763683319091796875,
"height": 0.5,
"diameter": 0.40000000000000002220446049250313080847263336181640625,
"inner_diameter": 0.200000000000000011102230246251565404236316680908203125
}'
{
"ok": true,
"data": {
"slug": "moment-of-inertia-calculator",
"result": {
"values": {
"area_moment": 0.003125000000000000173472347597680709441192448139190673828125,
"axis": "Centroidal horizontal axis",
"section_area": 0.1499999999999999944488848768742172978818416595458984375
},
"display": {
"display": "0.003125"
},
"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.