export_mesh_tool
Convert rendered OBJ meshes to STL, GLB, GLTF, PLY, or OFF formats to export assets for 3D tools and workflows.
Instructions
Convert a rendered OBJ to another mesh format (stl, glb, gltf, ply, off).
Requires the optional dependency trimesh (uv add trimesh).
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": {
"obj_path": "<obj_path>"
},
"name": "export_mesh_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | stl | |
| obj_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |