Create room
create_roomFree, no key. Creates a new plan at scale 1:50 and returns its project id plus purchase_url. Send name, plus either width_m and depth_m (rectangle) or rectangles (L-shape, alcove, bay), never both. Always send openings in this same call; without openings the checker treats the room as having no doors and skips the door-swing check. Each side 0.3 to 200 m. Coordinates: x to the right, y down, origin at the room's top-left corner.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Purchase token rp_ plus 20 characters, from the purchase confirmation. Required on projects you created, not on beispiel-wohnzimmer. Not the project id. | |
| name | No | Name of the plan, e.g. Living room. Default My room. | |
| depth_m | No | Depth in meters (top to bottom), 0.3 to 200. | |
| width_m | No | Width in meters (left to right), 0.3 to 200. | |
| openings | No | All doors and windows of the room. The swing area of every door becomes a blocked area that furniture must keep clear. | |
| rectangles | No | Instead of width_m and depth_m: 1 to 12 partial areas in meters. kind add joins the area, kind cut removes it. x, y is the rectangle's top-left corner, w, h its size. |