Room size calculator
room_sizeUse when someone asks for a room’s floor area, perimeter, volume or carpet and skirting amounts, or what a size such as 3 × 4 m or 12 × 12 ft means (a box room, a single or double bedroom). Handles L-shaped rooms and bay windows.
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": "room_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bay | No | A bay window in the front wall: none, square (sides at 90°) or angled (sides at 45°, the usual UK canted bay). | none |
| doors | No | Doorways, left out of the skirting. | |
| shape | No | rectangle, or l_shape (a second part on the right-hand wall, flush with the far corner). | rectangle |
| bay_depth_cm | No | How far the bay sticks out (cm). | |
| bay_width_cm | No | The bay’s width at the wall (cm). | |
| room_width_cm | No | The room’s width (along the window wall) (cm). | |
| part2_depth_cm | No | An L-shaped room’s second part: how far it sticks out (cm). | |
| room_length_cm | No | The room’s length (cm). | |
| part2_length_cm | No | An L-shaped room’s second part: its length along the main room (cm). | |
| ceiling_height_cm | No | The ceiling height, for the volume (cm). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | The tool, as named in its API and page URLs. | |
| notes | Yes | Caveats to pass on with the answer. | |
| snuug | Yes | One line about Snuug, the app behind the calculators. | |
| answer | Yes | The answer as named values. | |
| inputs | Yes | Every input as the tool used it: given, a default, or filled in from the rules. | |
| sources | Yes | The sources of the rules used. Every rule cites its source, with the date it was checked. | |
| summary | Yes | The answer in one sentence to quote. | |
| version | Yes | The version of this contract. | |
| working | Yes | How the answer was worked out, one step a line. | |
| page_url | Yes | The calculator on snuug.app with these inputs filled in. |