Earthwork balance and haul
earthwork_balance_haulCalculates a construction site's earthwork balance and trucking from quantities the user provides. Takes cut (bank cubic yards), fill (compacted cubic yards), optional strip, shrink and swell percentages, truck type and haul time or distance. Returns bank yards needed for fill, import or export volume, loose yards and tons hauled, truckloads (by volume and by weight, whichever governs), truck-hours, and haul cost if an hourly truck rate is given. Use it when someone asks whether a site imports or exports dirt, how many truckloads a dig or grading job needs, or what the haul will cost. It does not read plans or surfaces; quantities must come from the user.
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": {
"cut_bank_cy": "<cut_bank_cy>",
"fill_compacted_cy": "<fill_compacted_cy>"
},
"name": "earthwork_balance_haul"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truck | No | Truck type. Defaults: tandem_dump 12 CY/14 t, end_dump 20 CY/24 t, belly_dump 22 CY/25 t. Default tandem_dump. | |
| avg_mph | No | Average loaded/empty speed for one_way_miles. Default 30. | |
| strip_cy | No | Topsoil or unsuitable material stripped, bank CY. Default 0. | |
| haul_days | No | Target haul duration in working days. Optional; returns trucks needed. | |
| swell_pct | No | Swell from bank to loose for native soil, percent. Default 25. | |
| shrink_pct | No | Shrink from bank to compacted for native soil, percent. Default 15. | |
| cut_bank_cy | Yes | Total cut, in bank (in-place) cubic yards. | |
| strip_export | No | True if strip is hauled off site (default), false if stockpiled on site. | |
| hours_per_day | No | Working hours per day. Default 10. | |
| one_way_miles | No | One-way haul distance, miles. Used if round_trip_minutes is not given. | |
| truck_loose_cy | No | Override heaped capacity in loose CY. Required for custom. | |
| import_swell_pct | No | Swell for imported borrow, percent. Defaults to swell_pct. | |
| fill_compacted_cy | Yes | Total fill, in compacted cubic yards. | |
| import_shrink_pct | No | Shrink for imported borrow, percent. Defaults to shrink_pct. | |
| load_dump_minutes | No | Load, dump and wait time per cycle, minutes. Default 10. | |
| truck_hourly_rate | No | Truck cost per hour, dollars. Optional; enables haul cost. | |
| round_trip_minutes | No | Round-trip travel time per load, minutes. Use this or one_way_miles. | |
| truck_payload_tons | No | Override legal payload in tons. Required for custom. | |
| bank_unit_weight_lb_per_cy | No | In-place unit weight, lb per bank CY. Default 3000. |