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/paver-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/paver-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.
project_length· number · required- Enter the project length used by this tool.
project_width· number · required- Enter the project width used by this tool.
paver_length· number · required- Enter the paver length used by this tool.
paver_width· number · required- Enter the paver width used by this tool.
waste_percent· number · required- Enter the waste allowance used by this tool.
price_per_paver· number · required- Enter the price per paver used by this tool.
{
"type": "object",
"properties": {
"project_length": {
"type": "number",
"description": "Enter the project length used by this tool.",
"minimum": 0
},
"project_width": {
"type": "number",
"description": "Enter the project width used by this tool.",
"minimum": 0
},
"paver_length": {
"type": "number",
"description": "Enter the paver length used by this tool.",
"minimum": 0.1000000000000000055511151231257827021181583404541015625
},
"paver_width": {
"type": "number",
"description": "Enter the paver width used by this tool.",
"minimum": 0.1000000000000000055511151231257827021181583404541015625
},
"waste_percent": {
"type": "number",
"description": "Enter the waste allowance used by this tool."
},
"price_per_paver": {
"type": "number",
"description": "Enter the price per paver used by this tool.",
"minimum": 0
}
},
"required": [
"project_length",
"project_width",
"paver_length",
"paver_width",
"waste_percent",
"price_per_paver"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
pavers_needed· number- Pavers needed produced by the tool.
project_area· number- Project area produced by the tool.
pavers_per_square_foot· number- Pavers per square foot produced by the tool.
estimated_cost· number- Estimated paver cost produced by the tool.
{
"type": "object",
"properties": {
"pavers_needed": {
"type": "number",
"description": "Pavers needed produced by the tool."
},
"project_area": {
"type": "number",
"description": "Project area produced by the tool."
},
"pavers_per_square_foot": {
"type": "number",
"description": "Pavers per square foot produced by the tool."
},
"estimated_cost": {
"type": "number",
"description": "Estimated paver cost produced by the tool."
}
},
"additionalProperties": false
}
Paver 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/paver-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"project_length": 20,
"project_width": 12,
"paver_length": 8,
"paver_width": 4,
"waste_percent": 8,
"price_per_paver": 0.84999999999999997779553950749686919152736663818359375
}'
{
"ok": true,
"data": {
"slug": "paver-calculator",
"result": {
"values": {
"pavers_needed": 1167,
"project_area": 240,
"pavers_per_square_foot": 4.5,
"estimated_cost": 991.950000000000045474735088646411895751953125
},
"display": {
"display": "1167"
},
"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.