← All tool references

Construction · not_available

Aquarium Volume Calculator

Calculate estimated water volume from tank shape, inside length, inside width or diameter, water height.

Open public tool

Overview

Category
Construction
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/aquarium-volume-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/aquarium-volume-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 tank shape. Accepted values: rectangular, cylindrical.
length · number · required
Enter inside length.
width · number · required
Enter inside width or diameter.
height · number · required
Enter water height.
displacement · number · required
Enter estimated displacement.
{
    "type": "object",
    "properties": {
        "shape": {
            "type": "string",
            "description": "Enter tank shape.",
            "enum": [
                "rectangular",
                "cylindrical"
            ]
        },
        "length": {
            "type": "number",
            "description": "Enter inside length."
        },
        "width": {
            "type": "number",
            "description": "Enter inside width or diameter."
        },
        "height": {
            "type": "number",
            "description": "Enter water height."
        },
        "displacement": {
            "type": "number",
            "description": "Enter estimated displacement."
        }
    },
    "required": [
        "shape",
        "length",
        "width",
        "height",
        "displacement"
    ],
    "additionalProperties": false
}

Output schema

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

water_gallons · number
Estimated water volume produced by the tool.
water_liters · number
Estimated water volume produced by the tool.
water_weight · number
Estimated water weight produced by the tool.
{
    "type": "object",
    "properties": {
        "water_gallons": {
            "type": "number",
            "description": "Estimated water volume produced by the tool."
        },
        "water_liters": {
            "type": "number",
            "description": "Estimated water volume produced by the tool."
        },
        "water_weight": {
            "type": "number",
            "description": "Estimated water weight produced by the tool."
        }
    },
    "additionalProperties": false
}

Aquarium Volume 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/aquarium-volume-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "shape": "rectangular",
    "length": 48,
    "width": 18,
    "height": 20,
    "displacement": 10
}'
{
    "ok": true,
    "data": {
        "slug": "aquarium-volume-calculator",
        "result": {
            "values": {
                "water_gallons": 67.31999999999999317878973670303821563720703125,
                "water_liters": 254.849999999999994315658113919198513031005859375,
                "water_weight": 561.799999999999954525264911353588104248046875
            },
            "display": {
                "display": "67.32"
            },
            "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.