Sofa size calculator
calculate_sofa_sizeUse this when someone asks what size of sofa or sectional fits a living room. Calculates the longest sofa or L sectional for a wall, with 36 in walkways past its ends (NKBA) and 22 in end tables beside it: its length (up to 110 in for a sofa, 156 × 120 in for an L), the number of seats (22 in each after 3 in arms), the sofa depths the room allows in front of a coffee table and a TV unit, the coffee table (two thirds of the sofa, 12 to 18 in from it), the viewing distance to the TV, the TV size that fills 30° to 40° of the view (SMPTE), and, for a given TV, the best distance and whether the seat lies within it.
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": {
"wall": "<wall>",
"depth": "<depth>"
},
"name": "calculate_sofa_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tv | No | Diagonal of the TV, in inches. | |
| wall | Yes | Length of the wall behind the sofa, inside the walls, in millimeters. | |
| depth | Yes | Distance from the wall behind the sofa to the wall with the TV, in millimeters. | |
| shape | No | A straight sofa, or an L sectional with its short side along the left wall; sofa without it. | |
| tables | No | End tables beside the sofa: 0, 1 at the left end, or 2; 1 without it. | |
| walkway | No | Width of a walkway; 914.4 (36 in) without it, in millimeters. | |
| endTable | No | Width of an end table; 558.8 (22 in) without it, in millimeters. | |
| walkways | No | Walkways past the sofa's ends: 0, 1 at the right end, or 2; 1 without it. |