Check a room layout
check_layoutUse 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 (a key the format lacks, usually a typo). Info: tight_clearance, a straight gap from 6 in / 15 cm up to minClearance (in the plan's unit, default 24 in / 61 cm) between two pieces or a piece and a wall; closer pieces (chairs at a table) are taken as meant. Messages name rooms, pieces by label (with their centre when labels repeat) and doors by where they are on the wall.
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": {
"plan": "<plan>"
},
"name": "check_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The whole plan; format in create_plan's description. | |
| minClearance | No | Gaps from 6 in up to this are tight_clearance; plan's unit, default 24 in. |