construct_export
Exports a valid v2 scene or parameter document as a glTF/GLB or OBJ/MTL 3D model with named parts, materials, and animations for Blender, Godot, Unreal, Unity, or three.js.
Instructions
A 3D model of a valid v2 scene or parameter document: glTF 2.0 (base64 .glb: named parts, materials by role, the open and idle animations, each vertex's build phase as _PHASE) or OBJ text with its MTL. Opens in Blender, Godot, Unreal, Unity (glTFast) and three.js.
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": {
"document": "<document>"
},
"name": "construct_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pose | No | ||
| wire | No | ||
| frame | No | ||
| glued | No | with pieces: what stays put is one body, each hinged or sliding part one more, its joint in its extras (Godot: docs/GODOT.md) | |
| merge | No | merge the parts that do not move, one mesh per material | |
| format | No | ||
| pieces | No | the pieces it would break into, each a rigid body with convex shapes (OMI_physics_body), interlocked parts together | |
| document | Yes | a construct-scene (version 2) or a construct-params document | |
| colliders | No | a box collider per part (Godot: -convcolonly) | |
| materials | No | a material map: {"materials": [{"parts": [...], "color": "#rrggbb", "metallic", "roughness"}]} |