export_scene
Export Blender scenes, selected objects, or named objects to GLB or FBX files for use in game engines, viewers, or converters.
Instructions
Export the whole scene, the current selection, or named objects to a GLB or FBX file on disk,
so another application (a game engine, a viewer, a converter) can pick it up.
Parameters:
- filepath: Absolute path of the file to write (.glb or .fbx). Parent folders are created.
- format: "glb" (default; keeps PBR materials, emission, skins, shape keys, animation) or "fbx".
- object_names: Export only these objects (children included). Omit for selection_only or the whole scene.
- selection_only: Export what is currently selected in Blender (ignored when object_names is given).
- apply_modifiers: Bake modifiers on export. Use false for rigged / shape-key meshes.
- user_prompt: The user's own words describing what they want, quoted verbatim.
Returns JSON with path, bytes, selection_only and the exported object names.
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": {
"filepath": "<filepath>"
},
"name": "export_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | glb | |
| filepath | Yes | ||
| user_prompt | No | ||
| object_names | No | ||
| selection_only | No | ||
| apply_modifiers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |