Roof Pitch & Slope Calculator
calculate_roof_pitchConvert between rise/run, roof pitch per 12 (x:12), slope percentage, and angle in degrees.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_roof_pitch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | Horizontal run (same unit as rise, > 0). Used when mode="riseRun". | |
| mode | No | Input mode: "riseRun", "pitch" (x:12), or "angle" (degrees). | riseRun |
| rise | No | Vertical rise (any consistent length unit). Used when mode="riseRun". | |
| pitchPer12 | No | Rise per 12 units of run (e.g. 6 for 6:12). Used when mode="pitch". | |
| angleDegrees | No | Roof angle in degrees (0 to <90). Used when mode="angle". |