export_file
Exports Blender scenes or selected objects to 3D files (FBX, OBJ, GLTF/GLB, USD, STL, PLY, ABC), with format override and selected-only options.
Instructions
Export scene or selected objects to a 3D file.
Supports FBX, OBJ, GLTF/GLB, USD, STL, PLY, and Alembic (ABC) formats.
Args: filepath: Absolute path for the export file. type: Optional format override. Auto-detected from extension if empty. selected_only: If True, export only selected objects. Defaults to False. options: The exporter's own settings by name (true/false, numbers or choices; never text or paths). Common ones: glTF: export_draco_mesh_compression_enable, ..._level (0-10), export_image_format (AUTO, JPEG, WEBP, NONE), export_apply (apply modifiers), export_animations, export_yup. FBX: apply_unit_scale, global_scale, axis_forward, axis_up, use_mesh_modifiers, add_leaf_bones, bake_anim. OBJ: export_triangulated_mesh, apply_modifiers, export_materials, forward_axis, up_axis, global_scale. USD: export_materials, export_textures_mode, export_animation. STL: ascii_format, global_scale, apply_modifiers. An unknown name is refused with the exporter's full list.
Returns: Dict with exported file path and format.
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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| options | No | ||
| filepath | Yes | ||
| selected_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||