Work out materials for a trade
takeoff_quantitiesWork out what a job needs for ONE trade from its rooms and settings — drywall sheets laid out wall by wall, tiles counted tile by tile in the chosen pattern, receptacles, lights and circuits by the electrical code the job’s state is listed on, paint gallons, roofing squares, concrete yards and more. Writes nothing. Each room is {name, type, length_ft, width_ft, height_ft?, doors?, windows?, counter_ft?, basins?}; inputs are that calculator’s own settings (sheet_size, pattern, tile_width_in, edition, …) and any not given take their defaults. WARNING: assumed lists rooms counted at an assumed ceiling height, and notes carry caveats that MUST be repeated — electrical counts are code MINIMUMS by Seayora’s reading and the inspector and local amendments govern; heating and cooling sizes are rules of thumb, never a Manual J. Never present these as a permit, an inspection or an engineered design.
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": {
"calculator": "<calculator>"
},
"name": "takeoff_quantities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rooms | No | The rooms, for the trades that work room by room (drywall, tile, electrical, painting, flooring, wallpaper, insulation, heating and cooling, cleaning). Others take their measurements in `inputs`. | |
| inputs | No | The calculator’s settings by key; omitted ones take their defaults. | |
| calculator | Yes | Which trade. | |
| site_state | No | Two-letter state of the job; the electrical code edition is suggested from it. | |
| room_values | No | Per-room settings keyed by room id (for tile: wall_run_ft, wall_height_ft, backsplash_ft). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why the result was truncated, when it was. | |
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| total_available | No | How many rows existed before truncation. |