← All tool references

Engineering · not_available

Shaft Torque Calculator

Shaft Torque with transparent inputs and reviewable results.

Open public tool

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/shaft-torque-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/shaft-torque-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.

mode · string · required
Enter known input. Accepted values: power_speed, force_radius.
power · number · required
Enter power.
speed · number · required
Enter rotational speed.
force · number · required
Enter tangential force.
radius · number · required
Enter radius.
{
    "type": "object",
    "properties": {
        "mode": {
            "type": "string",
            "description": "Enter known input.",
            "enum": [
                "power_speed",
                "force_radius"
            ]
        },
        "power": {
            "type": "number",
            "description": "Enter power."
        },
        "speed": {
            "type": "number",
            "description": "Enter rotational speed."
        },
        "force": {
            "type": "number",
            "description": "Enter tangential force."
        },
        "radius": {
            "type": "number",
            "description": "Enter radius."
        }
    },
    "required": [
        "mode",
        "power",
        "speed",
        "force",
        "radius"
    ],
    "additionalProperties": false
}

Output schema

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

torque · number
Torque produced by the tool.
angular_speed · number
Angular speed produced by the tool.
power · number
Power produced by the tool.
{
    "type": "object",
    "properties": {
        "torque": {
            "type": "number",
            "description": "Torque produced by the tool."
        },
        "angular_speed": {
            "type": "number",
            "description": "Angular speed produced by the tool."
        },
        "power": {
            "type": "number",
            "description": "Power produced by the tool."
        }
    },
    "additionalProperties": false
}

Shaft Torque 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/shaft-torque-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "power_speed",
    "power": 15,
    "speed": 1450,
    "force": 500,
    "radius": 0.1000000000000000055511151231257827021181583404541015625
}'
{
    "ok": true,
    "data": {
        "slug": "shaft-torque-calculator",
        "result": {
            "values": {
                "torque": 0.09878599999999999881072909602153231389820575714111328125,
                "angular_speed": 151.843645000000009304130799137055873870849609375,
                "power": 15
            },
            "display": {
                "display": "0.098786"
            },
            "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.