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/framing-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/framing-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.
wall_length· number · required- Enter wall length.
wall_height· number · required- Enter wall height.
stud_spacing· number · required- Enter stud spacing.
openings· number · required- Enter door and window openings.
plates· number · required- Enter plate runs.
waste· number · required- Enter waste allowance.
{
"type": "object",
"properties": {
"wall_length": {
"type": "number",
"description": "Enter wall length."
},
"wall_height": {
"type": "number",
"description": "Enter wall height."
},
"stud_spacing": {
"type": "number",
"description": "Enter stud spacing."
},
"openings": {
"type": "number",
"description": "Enter door and window openings."
},
"plates": {
"type": "number",
"description": "Enter plate runs."
},
"waste": {
"type": "number",
"description": "Enter waste allowance."
}
},
"required": [
"wall_length",
"wall_height",
"stud_spacing",
"openings",
"plates",
"waste"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
studs· number- Studs to purchase produced by the tool.
plate_linear_feet· number- Plate lumber produced by the tool.
wall_area· number- Gross wall area produced by the tool.
materials· array- Material summary produced by the tool.
{
"type": "object",
"properties": {
"studs": {
"type": "number",
"description": "Studs to purchase produced by the tool."
},
"plate_linear_feet": {
"type": "number",
"description": "Plate lumber produced by the tool."
},
"wall_area": {
"type": "number",
"description": "Gross wall area produced by the tool."
},
"materials": {
"type": "array",
"description": "Material summary produced by the tool."
}
},
"additionalProperties": false
}
Framing 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/framing-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"wall_length": 32,
"wall_height": 8,
"stud_spacing": 16,
"openings": 3,
"plates": 3,
"waste": 10
}'
{
"ok": true,
"data": {
"slug": "framing-calculator",
"result": {
"values": {
"studs": 38,
"plate_linear_feet": 105.599999999999994315658113919198513031005859375,
"wall_area": 256,
"materials": [
{
"material": "Regular studs",
"quantity": 25
},
{
"material": "Opening allowance",
"quantity": 9
},
{
"material": "Purchase studs",
"quantity": 38
}
]
},
"display": {
"display": "38"
},
"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.