French Drain Materials Calculator
french_drainCalculate a French drain: drain stone (volume and weight), perforated pipe and filter fabric. Trench is run_ft × trench_width_in × trench_depth_in; pipe_type 0 is perforated pipe in stone (pipe volume is subtracted), 1 stone only; wrap sets how the fabric lines the trench or socks the pipe, with fabric_lap_in overlap; stone_extra_percent and stone_lb_yd3 set the stone order. Optional piece, roll and price inputs give pieces, rolls and cost. Use for French drains and gravel trench drains. For general gravel areas use gravel. Read-only calculation with no side effects; the same inputs always give the same result. Every input is optional and falls back to the calculator page default. Returns headline, summary lines, worked steps, inputs_used and calculator_url.
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": "french_drain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wrap | No | Filter fabric. Options: 0 = Line the trench and fold over the top; 1 = Sock on the pipe only; 2 = Line the trench and sock the pipe. | 0 |
| units | No | Unit system for every length/area/volume input: "us" (feet, inches, ft², ft³) or "metric" (m, cm or mm, m², m³). Defaults are converted when "metric" is chosen. | us |
| run_ft | No | Drain run. Unit: ft (US) / m (metric). Default (US units): 60. | |
| pipe_type | No | Drain type. Options: 0 = Perforated pipe in stone; 1 = Stone only, no pipe. | 0 |
| stone_lb_yd3 | No | Stone weight per cubic yard. Unit: lb/yd³ (US) / kg/m³ (metric). Default (US units): 2632.5. | |
| fabric_lap_in | No | Fabric overlap at top. Unit: in (US) / cm (metric). Default (US units): 6. | |
| pipe_piece_ft | No | Pipe length per piece or coil. Unit: ft (US) / m (metric). Optional, leave out to skip. | |
| pipe_price_ft | No | Pipe price per foot. Unit: $/ft (US) / $/m (metric). Optional, leave out to skip. | |
| trench_depth_in | No | Stone-filled trench depth. Unit: in (US) / cm (metric). Default (US units): 18. | |
| trench_width_in | No | Trench width. Unit: in (US) / cm (metric). Default (US units): 12. | |
| pipe_diameter_in | No | Pipe outside diameter. Unit: in (US) / cm (metric). Default (US units): 4. | |
| fabric_roll_price | No | Fabric price per roll. Unit: $ (US) / $ (metric). Optional, leave out to skip. | |
| stone_extra_percent | No | Extra stone allowance. Unit: % (US) / % (metric). Default (US units): 10. | |
| fabric_roll_width_ft | No | Fabric roll width. Unit: ft (US) / m (metric). Optional, leave out to skip. | |
| fabric_roll_length_ft | No | Fabric roll length. Unit: ft (US) / m (metric). Optional, leave out to skip. |