Roof pitch calculator
calculate_roof_pitchUse this when someone asks for a roof pitch in degrees, percent or rise per 12, a rafter length, a ridge height or a roof area. Converts a roof pitch given as rise per 12, degrees, percent or a rise over a run into the other forms and the roof multiplier (length along the slope per unit of level run). With the building's width, it gives the ridge height above the walls and the rafter length with the overhang of a gable or shed roof; with the length too, the area on plan with the overhangs and the roof area in square meters.
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": {
"pitch": "<pitch>"
},
"name": "calculate_roof_pitch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rake | No | Overhang at the gable ends, in millimeters; the eaves overhang when left out. | |
| pitch | Yes | The pitch, given one way. | |
| shape | No | The roof shape, for the ridge height and rafters; gable when left out. | |
| width | No | Width of the building across the slope, outside wall to outside wall; without it, only the pitch is converted, in millimeters. | |
| length | No | Length of the building along the ridge, for the roof area, in millimeters. | |
| overhang | No | Overhang at the eaves, measured level from the wall, in millimeters; none when left out. |