Calculate materials
calculate_materialsCalculates material quantities with waste allowance per room. Returns material keys and search queries in the language of the country's stores.
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": {
"country": "<country>",
"rooms": "<rooms>",
"works": "<works>",
"mode": "<mode>"
},
"name": "calculate_materials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | diy — do it yourself, pro — contractor | |
| doors | No | ||
| rooms | Yes | ||
| works | Yes | ||
| boiler | No | Heat source: gas — system boiler + cylinder + flue, combi — combi boiler + flue, furnace — US gas furnace + central AC + water heater, heat_pump — heat pump + cylinder, none. Omit to use the country default | |
| stairs | No | ||
| country | Yes | ISO country code | |
| windows | No | Windows, pcs (for window sills) | |
| attic_m2 | No | House: attic roof area to insulate, m² | |
| property | No | ||
| facade_m2 | No | House: facade area without windows, m² | |
| kitchen_m | No | Kitchen length, running m (default 3.5) | |
| ui_locale | No | Language of the user's messages (not of the country), any code: en, ru, pl, uk, de, fr, es… Always pass it. | |
| new_points | No | New sockets and switches | |
| total_area_m2 | No | ||
| distribution_board | No | A new consumer unit is needed |