Create Model
create_modelGenerate a 3D model from a prompt, spec, or source code, then receive the mesh, validation report, and shareable viewer link for checking and handing off the result.
Instructions
Generate a 3D model and return its card, validation report and viewer link.
backend='auto' routes from the spec; pass an explicit engine when you know
better. source is the code that builds the model for the code backends:
procedural — python defining build() -> trimesh object
openscad — OpenSCAD CSG source
blender — a bpy script
cadquery — python assigning result
hosted — optional prompt override for a text-to-3D service
Returns path (the mesh), viewer (a single-file HTML page you can hand to
anyone) and validation. Always read validation.ok before calling it done.
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": "create_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| name | No | model | |
| seed | No | ||
| style | No | ||
| units | No | mm | |
| prompt | No | ||
| source | No | ||
| backend | No | auto | |
| purpose | No | any | |
| materials | No | ||
| dimensions | No | ||
| references | No | ||
| constraints | No | ||
| make_viewer | No | ||
| poly_budget | No | ||
| scale_to_spec | No | ||
| idempotency_key | No | ||
| render_previews | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||