export_build
Export Lego builds to LDraw format for BrickLink Studio or LeoCAD, or generate a Blender Python script to construct the model.
Instructions
Export the build. fmt='ldraw' writes builds/.ldr (openable in BrickLink Studio / LeoCAD); fmt='blender' writes builds/_blender.py, a bpy script that constructs the model in Blender.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fmt | No | ldraw |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |