room_load_scan
Read a room scan file and report walls, doors, windows, objects, size, detected units and up axis for accurate spatial measurements.
Instructions
Read a room scan and report what was found (walls, doors, windows, objects, size, detected units and up axis).
path is the scan file. Supported: RoomPlan CapturedRoom JSON (several encodings) and measure-room JSON;
USD/USDZ (RoomPlan export or any labeled scene; needs pip install measure-mcp[usd]); PLY and OBJ point clouds or
meshes, whose floor, ceiling, walls, door/window gaps and furniture are recovered geometrically. Units
(m, cm, mm, in, ft) and the up axis are detected from the geometry, never trusted from file metadata; pass
scan_units / up_axis only to override. known_dimension calibrates the scale from one tape value:
{"target": "ceiling_height" | "wall:wall_1", "length": 2.44, "unit": "m"}. north_deg says which way north points in
the room plan (degrees counter-clockwise from the plan +x axis, the frame of start/end in room_list_walls) and
enables "north wall" style references; scans that carry no compass cannot resolve them.
STATELESS: no option is remembered. The reply's load_options holds the non-default options used; pass that object as
load_options to the other room_* tools (they load path again, cached) when it is not empty.
Raw scans are less precise than RoomPlan; every result carries a +/- and a confidence. Corrupt or empty files give an
error with a code and hint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| units | No | both | |
| format | No | auto | |
| up_axis | No | auto | |
| north_deg | No | ||
| scan_units | No | auto | |
| known_dimension | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||