compose_assembly_parts
Merge individual part meshes by their assembly positions into one STL file to create a combined model for export. Opens Kiln's interactive 3D stage on success.
Instructions
Compose all assembly parts into a single output STL file.
Merges the individual part meshes according to their
positions and writes the combined model to ``output_path``.
Args:
assembly_json: JSON string of the current assembly state.
output_path: File path where the composed STL will be written.INLINE 3D STAGE: on success this tool opens Kiln's interactive 3D stage — an inline viewer panel the user can orbit, zoom, and turn over — in hosts that render MCP Apps panels (Kiln's hosted connection attaches a browser stage link for hosts that don't). Oversized meshes are decimated automatically for the stage; the PNG preview is the floor, not the whole experience.
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": {
"assembly_json": "<assembly_json>",
"output_path": "<output_path>"
},
"name": "compose_assembly_parts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | Yes | File path where the composed STL will be written. | |
| assembly_json | Yes | JSON string of the current assembly state. |