objects_in_region
Find parts overlapping a box, sphere, or area around an instance, returning part paths, world positions, and sizes. Use it for spatial queries like what's near X or inside a region.
Instructions
List parts whose bounds overlap a region: a box (center+size), a sphere (center+radius), or 'around' an instance (its bounding box, optionally padded). Spatial query for "what's near X / inside this area". Returns part paths + world pos + size. Read-only. Give center with size (box) or radius (sphere), or around instead. To find what is under a screen point use pick; to find by name use search_objects.
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": "objects_in_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pad | No | grow the 'around' box by this many studs each side | |
| size | No | [x,y,z] box size (box mode) | |
| place | No | Target place (PlaceId or project name). Defaults to the bound/sole connected place. | |
| around | No | instance path — use its bounding box as the region | |
| center | No | [x,y,z] region center | |
| ignore | No | Dot paths of instances to leave out, together with their descendants. | |
| radius | No | sphere radius (sphere mode) | |
| maxParts | No | Maximum parts to return, up to 500. Default 100. | |
| classFilter | No | Only return parts of this class or a subclass, e.g. "MeshPart". |