validate_floorplan
Check a floorplan's structure before furnishing it to detect sealed rooms, doors missing walls, portals connecting nothing, and missing exterior access.
Instructions
Check a floorplan's structure BEFORE furnishing it. Read-only.
Answers the questions element counts cannot: is every room reachable, does
every door open onto something, and is there a way in from outside. A sealed
room and a connected one have identical counts.
Returns the enclosed regions with their area and bounds, which portals each
touches, and `findings`:
sealed_regions enclosed areas with no route from outside, even
with every door treated as open. Usually a missing
door, or one that missed its wall.
portals_not_in_a_wall a door touching no wall — what a failed wall-mount
looks like. It cuts no opening in anything.
portals_to_nowhere a door whose two sides are the same region, so it
connects nothing.
exterior_openings portals connecting a region to the outside. A
window counts too, so a building listed here may
still have no way IN. Check the assets.
vtt_reversed_portals a door with closed=false or a window with
closed=true: in a VTT export it acts as the other.
Delete it and add_portal again without `closed`.
`ok` is true when nothing in the first three lists appeared. Treat it as a
gate: no furniture, foliage or dressing until it passes, because repairing
structure after furnishing means moving everything twice.
Doors are analysed as openings regardless of their `closed` flag — that
controls light, not movement.
cell_woxels: analysis resolution, 64 (a quarter tile) by default. Smaller
is more exact and slower; a value above a door's width can seal doorways
and report false failures.
min_room_tiles: ignore enclosed areas below this, so the sliver between two
nearly-touching walls is not reported as a room.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_floorplan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_woxels | No | ||
| min_room_tiles | No |