export_model
Export a Blender scene as a game-ready FBX or GLB for Unity, Unreal Engine, Godot or generic use, with optional LODs, convex collision and palette materials written to a path you specify.
Instructions
Export the model for a game engine. Writes a file on the user's disk: only call it when the user asked for an export, with an absolute path they chose.
The scene is not modified (the export works on copies): modifiers are applied, parts
without UVs are unwrapped, everything is joined into one mesh named after the file
(separate keeps the parts), and the pivot goes to the bottom centre. The extension is
set by the engine: FBX for unity and unreal, GLB for godot and generic.
lods: extra detail levels, each with half the triangles (0-4). collision: add a convex collision mesh named the way the engine expects. palette: replace all materials with one material and a small colour-swatch PNG written next to the model (colour only).
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": {
"path": "<path>"
},
"name": "export_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lods | No | ||
| path | Yes | ||
| asset | No | ||
| pivot | No | bottom | |
| engine | No | unity | |
| palette | No | ||
| separate | No | ||
| collision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |