Plumbing Pipe, Drain, Pump & French Drain Calculators
calculate_plumbing_pipes_and_pumpsRun residential plumbing hydraulic calculators: horizontal drain slope, drain/vent pipe sizing (Hunter DFU + Manning), water supply main sizing (Hunter WSFU + Hazen-Williams), well pressure tank drawdown (Boyle law), sump pump total dynamic head (TDH), or French drain gravel/fabric/slope quantities.
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": {
"kind": "<kind>"
},
"name": "calculate_plumbing_pipes_and_pumps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which plumbing calculator to run. | |
| capIn | No | For french_drain: soil/sod cap thickness above fabric in inches. | |
| runFt | No | Horizontal run length in feet (drain_slope or sump_pump_head). | |
| slope | No | For drain_pipe_size: drain slope (quarter = 1/4 in/ft, eighth = 1/8 in/ft). | quarter |
| dropIn | No | For drain_slope: available vertical drop in inches. | |
| elbows | No | For sump_pump_head: number of 90-degree elbows. | |
| fallIn | No | For french_drain: total fall from high end to outlet in inches. | |
| liftFt | No | For sump_pump_head: vertical lift in feet. | |
| depthIn | No | For french_drain: trench depth in inches. | |
| flowGpm | No | For sump_pump_head: target flow rate in GPM. | |
| pumpGpm | No | For well_pressure_tank: pump flow rate in GPM. | |
| widthIn | No | For french_drain: trench width in inches. | |
| cutInPsi | No | For well_pressure_tank: optional custom cut-in PSI. | |
| fixtures | No | Fixture counts object (e.g. { toilet: 2, bathSink: 2, shower: 1, kitchenSink: 1, washer: 1, hoseBibb: 2 }). | |
| heightFt | No | For water_supply_pipe: height of highest fixture above main in feet. | |
| lengthFt | No | Developed pipe length (water_supply_pipe) or trench length (french_drain) in feet. | |
| cutOutPsi | No | For well_pressure_tank: optional custom cut-out PSI. | |
| checkValve | No | For sump_pump_head: whether a check valve is installed. | |
| diameterIn | No | For drain_slope: pipe diameter in inches (e.g. 1.5, 2, 3, 4, 6, 8). | |
| frenchPipe | No | For french_drain: perforated drain pipe nominal diameter in inches. | 4 |
| runMinutes | No | For well_pressure_tank: minimum pump run time in minutes. | |
| pressurePsi | No | For water_supply_pipe: static supply pressure in PSI. | |
| dischargePipe | No | For sump_pump_head: Schedule 40 PVC discharge pipe size in inches. | 1.5 |
| switchSetting | No | For well_pressure_tank: pressure switch setting (PSI). | 40-60 |