Scene Validate
scene_validateValidate a Maya scene against spatial constraints such as minimum clearance, object limits, overlaps, and height requirements with a read-only check that reports violations without modifying objects.
Instructions
Validate scene against spatial constraints.
Checks the scene for constraint violations like minimum clearance, object limits, overlaps, and height requirements. This is a read-only check without auto_fix mutations (it cannot modify or repair objects; for automated fixes, see scene_plan with auto_fix=True). Because it is non-destructive, it needs no undo or rollback checkpoint. Requires an active Maya session.
Boundary: Disambiguated from scene_review (a full check of scene quality across 11 checks) and scene_assert (verifies specific numeric values or object existence).
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": {
"rules": "<rules>"
},
"name": "scene_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | JSON string with constraint rules. Format: [{"type": "min_clearance", "zone": "entrance", "value": 180}, {"type": "max_objects", "value": 5000}, {"type": "no_overlap", "objects": ["wall_a", "shelf_b"]}, {"type": "min_height", "objects": ["door"], "value": 250}] Types: min_clearance, max_objects, no_overlap, min_height, max_height Length thresholds are in Maya internal centimetres, the same unit as the actual values in a violation. | |
| format | No | Output format - "cos" or "json". | cos |
| session_key | No | Maya session key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |