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/board-foot-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/board-foot-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.
thickness· number · required- Enter the board thickness used in the calculation.
width· number · required- Enter the board width used in the calculation.
length· number · required- Enter the board length used in the calculation.
quantity· number · required- Enter the number of boards used in the calculation.
price_per_board_foot· number · optional- Enter the price per board foot used in the calculation.
{
"type": "object",
"properties": {
"thickness": {
"type": "number",
"description": "Enter the board thickness used in the calculation.",
"minimum": 0
},
"width": {
"type": "number",
"description": "Enter the board width used in the calculation.",
"minimum": 0
},
"length": {
"type": "number",
"description": "Enter the board length used in the calculation.",
"minimum": 0
},
"quantity": {
"type": "number",
"description": "Enter the number of boards used in the calculation.",
"minimum": 1
},
"price_per_board_foot": {
"type": "number",
"description": "Enter the price per board foot used in the calculation.",
"minimum": 0
}
},
"required": [
"thickness",
"width",
"length",
"quantity"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
board_feet_each· number- Board feet per board produced by the calculation.
total_board_feet· number- Total board feet produced by the calculation.
total_cost· number- Estimated lumber cost produced by the calculation.
cubic_feet· number- Total cubic feet produced by the calculation.
{
"type": "object",
"properties": {
"board_feet_each": {
"type": "number",
"description": "Board feet per board produced by the calculation."
},
"total_board_feet": {
"type": "number",
"description": "Total board feet produced by the calculation."
},
"total_cost": {
"type": "number",
"description": "Estimated lumber cost produced by the calculation."
},
"cubic_feet": {
"type": "number",
"description": "Total cubic feet produced by the calculation."
}
},
"additionalProperties": false
}
Board Foot Calculator 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/board-foot-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"thickness": 2,
"width": 8,
"length": 10,
"quantity": 12,
"price_per_board_foot": 4.5
}'
{
"ok": true,
"data": {
"slug": "board-foot-calculator",
"result": {
"values": {
"board_feet_each": 13.3332999999999994855670593096874654293060302734375,
"total_board_feet": 160,
"total_cost": 720,
"cubic_feet": 13.3332999999999994855670593096874654293060302734375
},
"display": {
"display": "13.3333"
},
"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.