Scene Assert
scene_assertVerify a Maya scene's object positions, bounding boxes, existence, or materials against expected values to confirm modifications produced the intended state.
Instructions
Verify scene state matches expected values.
Use this after modifications to confirm the scene is in the desired state. This is the check step (the last of ICEV's four steps).
bbox_min/bbox_max compare world-axis boxes built from each shape's own box, transformed once: a rotated parent no longer widens them layer by layer, but geometry that does not fill its own box (an L-shape, a character mesh) can still read up to one axis-alignment too wide.
Boundary: Disambiguated from scene_validate (checks relational spatial constraints across zones rather than exact expected values for named objects).
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": {
"expectations": "<expectations>"
},
"name": "scene_assert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format - "cos" or "json". | cos |
| session_key | No | Maya session key. | |
| expectations | Yes | JSON string defining expected state. Format: {"obj_name": {"position": [x,y,z], "bbox_max": [x,y,z], ...}} Supported properties: position, bbox_max, bbox_min, exists, material. Position and bbox values are in Maya's internal centimetres. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |