build_level
Creates, checks, or removes connected modular levels with real collision clearance, ensuring rooms, corridors, and stairs are walkable and properly connected before scene edits.
Instructions
Plan/build/check/remove a connected modular level with real collision clearance.
settings: modules=[{cell:[grid_x,grid_y,floor],kind:room|corridor|stair,direction:0..3}], cell_size, story_height, door_width/height, player_radius/height, max_step, position, yaw. Directions: south/east/north/west. Stairs need a lower and upper connected landing. Max 24 modules. Disconnected/too-small plans fail before editor mutation. Native checking uses sampled standing capsules, not a baked NavMesh or a complete character-controller simulation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | build | |
| level_id | Yes | ||
| settings | No |