eng_roof
Roof pitch, rafter and shingle calculator — Roof framing and materials from building span, length and pitch: pitch angle, slope factor, plumb/seat cut angles, total rise, common rafter length (line length minus ridge deduction plus overhang tail, in decimal feet and ft-in to 1/16), stock length to buy, rafter count, roof area (sqft, sqm, squares) with waste, shingle bundles, synthetic or 15-lb felt underlayment rolls (doubled for 2/12-4/12 per IRC R905.2.2), OSB sheets, ridge/hip cap, starter strip and drip edge. Params: span (building width ft) and length (ft along the ridge). Optional: pitch (6/12, 6:12, 6, 26.6deg or 50%; default 6/12), style gable|hip|shed, overhang (in, default 12), spacing (rafter on-center in, default 16), ridge (ridge board thickness in, default 1.5), waste (percent, default 10, hip 15), unit ft|in|m|cm or suffixes like 7m. Offline. Price: $0.003 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"span": "<span>",
"length": "<length>",
"pitch": "<pitch>"
},
"name": "eng_roof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| span | Yes | e.g. 24 | |
| pitch | Yes | e.g. 6/12 | |
| length | Yes | e.g. 40 |