get_prim_bounds
Retrieve a prim's world-space axis-aligned bounding box, including descendants, to measure sizes, gaps, and placement or determine what rests on what in USD scenes.
Instructions
Get a prim's world-space, axis-aligned bounding box, its descendants included: centre, dimensions, min and max corners, and diagonal, in the stage's units.
Use it to place things and measure: what rests on what (a bottom on a top along the up axis), gaps, sizes. get_prim_properties gives the same box among a prim's other values. A prim with no geometry, such as an empty Xform, gets a 0.1 box at its position rather than an error.
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": {
"prim_path": "<prim_path>"
},
"name": "get_prim_bounds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prim_path | Yes | Full USD path of the prim, e.g. "/World/Robot" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |