Room Planner

v1.1.0
com.andrechek.room-planner/room-planner Checked 3 days ago Published 7 days ago

Lay out a room to scale, check furniture, doors and clearances, and get a link to edit the plan.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_plan Create a room plan

Use when the user wants to lay out, furnish, fit furniture into, or get a floor plan of a room or home: returns a checked plan, a drawing, and an editable Room Planner link. One room or a whole floor (rooms joined by doors), any outline, round and L-shaped pieces. Returns {plan, issues, summary, url, editable}: the plan normalised in its unit, every layout issue (as check_layout), a summary, the link. `url` opens the plan in the Room Planner editor; it encodes the whole plan, so only a complete link works. Issues list overlaps, blocked doors and swings and pieces outside rooms (errors, warning…

ParameterTypeDescription
plan *objectThe whole plan; format in create_plan's description.

check_layout Check a room layout

Use when a plan only needs checking, without making a link or a drawing: returns the same issues as create_plan. The plan format is in create_plan's description. Returns {ok, issues, summary}; ok is true when no issue is an error or a warning. Each issue is {code, severity, message, ids}, ids naming the piece first, then what it hits. Errors: item_overlap, item_outside_room (outside every room). Warnings: door_blocked (a piece in a door's swing or track), doorway_blocked (in the passage either side of a door), opening_overlap, opening_off_wall, room_overlap, window_between_rooms, unknown_field…

ParameterTypeDescription
plan *objectThe whole plan; format in create_plan's description.
minClearancenumberGaps from 6 in up to this are tight_clearance; plan's unit, default 24 in.

read_plan Read a Room Planner link

Use when the user shares a Room Planner link, to read and modify that plan. Takes a link to the Room Planner web app (https://room-planner.andrechek.com; link formats #s=, #j=, #p= and the older ?config= are documented at https://room-planner.andrechek.com/agents/#plan-links) and decodes the plan from the link itself; it fetches nothing. Returns {plan, summary, issues, url, editable}, the plan in the unit it is shown in, ready to edit and send to create_plan for a new link. A link cut off when copied returns an error, since the whole link is needed. Clients with MCP Apps show the drawing in th…

ParameterTypeDescription
url *stringThe whole link, as the user gave it.