Square footage calculator
calculate_floor_areaUse this when someone asks for the square footage, square meters or floor area of a room, a house or an apartment, including Wohnfläche and loi Carrez. Adds up the floor area of rooms or parts of a floor, each a rectangle (length × width), a triangle (base × height ÷ 2) or a circle (by its diameter), and takes away parts marked to subtract, such as a closet or an opening to the floor below. Returns, in square meters, each part's own area and the area it adds, the floor area of all parts, and the total as the method counts it (1 m² = 10.7639 sq ft; 1 sq yd = 0.83613 m²). Methods: plain (the default; every part at its full area), woflv (Germany, Wohnflächenverordnung: clear height of 2 m or more in full, 1 m to under 2 m half, under 1 m not at all; unheated winter gardens half; balconies, loggias, roof gardens and terraces a quarter, the usual share; cellars, attics and garages not at all), carrez (France, loi Carrez: closed and covered space with a clear height of 1.80 m or more; balconies, terraces, cellars and garages not at all).
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": {
"parts": "<parts>"
},
"name": "calculate_floor_area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parts | Yes | The rooms or parts of the floor, at least one. | |
| method | No | How the area is counted; plain when left out. |