room_check_fit
Check if furniture or equipment fits a wall or room. Compares item size against free space, respecting doors and windows, and returns a fits/tight verdict with margin.
Instructions
Will this item fit? Checks an item's footprint against a wall's free run or the whole room and returns a verdict with margin.
dims is the item size, width x depth x height (width = longest front-facing side, depth = front to back): a string such as
"84 x 37 x 34 in", "60x30 in" (height unknown), "2.1 x 0.95 x 0.9 m"; a list such as [84, 37, 34] with dims_unit (default
inches, and the reply says so); or an object like {"name": "sofa", "width": 84, "depth": 37, "height": 34, "unit": "in"}
({"length", "width", "height"} is read as width = length, depth = width). item_name labels it.
target: a wall, "room" (default; finds spots), or {"type": "region", "x": 0, "y": 0, "width": 2, "depth": 1} in room meters.
A wall is an id ("wall_1", or {"type": "wall", "id": "wall_1"}) or words: "longest wall", "shortest wall", "wall with the door",
"wall with the window", "wall behind the sofa" / "sofa wall" (the wall nearest that object category or id), and
"north/south/east/west wall" ONLY when the scan defines an orientation (see room_load_scan north_deg). An unclear
reference returns an error whose hint lists every wall with its id, length and what is on it (room_list_walls shows the same
labels). clearance: "none", "walkway" (76 cm / 30 in in front), "comfortable" (91 cm / 36 in), or
{"front_m": 0.76, "side_m": 0, "back_gap_m": 0.02}.
It respects doors, door swings, windows (windows warn/block/ignore) and existing furniture; list furniture the user will remove
(or the scan's own copy of the item, e.g. the sofa being replaced) in ignore_objects (ids or a comma list): when the thing
blocking a wall looks like the item itself, the reply says so. verdict is fits / tight / probably_not / does_not_fit from margin
divided by the scan's uncertainty; a 1 cm margin on a drifty scan is "tight", never "fits". Returns placements with footprints (pass
one to room_floor_plan_svg). max_results is 1-10. detail summary|full. load_options as in room_summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dims | Yes | ||
| path | Yes | ||
| units | No | both | |
| detail | No | summary | |
| target | No | ||
| windows | No | warn | |
| clearance | No | none | |
| dims_unit | No | ||
| item_name | No | ||
| max_results | No | ||
| load_options | No | ||
| rotations_deg | No | ||
| ignore_objects | No | ||
| respect_door_swing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||