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/room-volume-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/room-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.
length· number · required- Enter room length.
width· number · required- Enter room width.
height· number · required- Enter room height.
sloped_fraction· number · required- Enter sloped-area fraction.
slope_height_reduction· number · required- Enter average slope reduction.
{
"type": "object",
"properties": {
"length": {
"type": "number",
"description": "Enter room length."
},
"width": {
"type": "number",
"description": "Enter room width."
},
"height": {
"type": "number",
"description": "Enter room height."
},
"sloped_fraction": {
"type": "number",
"description": "Enter sloped-area fraction."
},
"slope_height_reduction": {
"type": "number",
"description": "Enter average slope reduction."
}
},
"required": [
"length",
"width",
"height",
"sloped_fraction",
"slope_height_reduction"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
volume_cubic_feet· number- Room volume produced by the tool.
volume_cubic_meters· number- Room volume produced by the tool.
floor_area· number- Floor area produced by the tool.
average_height· number- Average height produced by the tool.
{
"type": "object",
"properties": {
"volume_cubic_feet": {
"type": "number",
"description": "Room volume produced by the tool."
},
"volume_cubic_meters": {
"type": "number",
"description": "Room volume produced by the tool."
},
"floor_area": {
"type": "number",
"description": "Floor area produced by the tool."
},
"average_height": {
"type": "number",
"description": "Average height produced by the tool."
}
},
"additionalProperties": false
}
Room 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/room-volume-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"length": 15,
"width": 12,
"height": 9,
"sloped_fraction": 0,
"slope_height_reduction": 0
}'
{
"ok": true,
"data": {
"slug": "room-volume-calculator",
"result": {
"values": {
"volume_cubic_feet": 1620,
"volume_cubic_meters": 45.87299999999999755573298898525536060333251953125,
"floor_area": 180,
"average_height": 9
},
"display": {
"display": "1620"
},
"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.