export_glb
Export Blender assets to a single self-contained GLB file with meshes, materials, and textures for game engines and web viewers. Returns absolute path and file size.
Instructions
Export to a single self-contained .glb file.
The usual choice for game engines and web viewers: geometry, materials and textures in one file. Returns the absolute path and file size.
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": {
"filename": "<filename>"
},
"name": "export_glb"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| y_up | No | Convert Blender's Z-up to glTF's Y-up. Keep true unless you know the target wants Z-up. | |
| draco | No | Draco mesh compression | |
| objects | No | Object names. Omit to use the current selection. | |
| filename | Yes | Filename stem; .glb is added for you | |
| overwrite | No | ||
| export_uvs | No | ||
| selected_only | No | When `objects` is omitted: export the selection rather than the whole scene | |
| export_normals | No | ||
| apply_modifiers | No | ||
| export_tangents | No | Needed by some engines for normal maps | |
| export_materials | No | ||
| export_animations | No |