Find a clear region
find_clear_regionSearch outward from near (default: your position) for an empty grid box of size [w,h,d] cells resting on the ground, within maxRadiusM metres (default 32). Returns {found, aabb_grid:{min,max}, world_center, iterations}. Use BEFORE picking a build site to avoid trap-self / adjacency failures. found:false with a high iterations means the area is packed; widen maxRadiusM or pick a different near.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | World [x,y,z] or {x,y,z} to search around (default: your position). | |
| size | Yes | Box size in cells [w,h,d], each 1..256. | |
| space | Yes | ||
| maxRadiusM | No | Search radius in metres (default 32). |