download_generated_model
Download a completed 3D model from a generation job, save it locally, verify its size and origin, and open it on Kiln's interactive 3D stage for review.
Instructions
Download a completed generated model, check it, and open it on the stage.
The result says where the model came from (``came_from``: the
provider and the prompt) and, when the provider was asked for a
shape and not a size, that its numbers are not millimetres
(``size_check``). A note beside the file keeps where it came
from, so the stage and design history can say so later.
Args:
brief_id: The saved goal's id from ``design_session``, so this make
is recorded against the goal and checked against it. Empty when
there is no goal.
job_id: Job ID of a completed generation job.
provider: Provider that owns the job: ``"meshy"``, ``"gemini"``,
``"tripo3d"``, ``"stability"`` or ``"openscad"``. Default
``"meshy"``.
output_path: Directory to save the file. Defaults to Kiln's
own ``kiln_generated`` output folder.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.
MAKE DOORS: design_session, Kiln's front door for making an object, is not installed here (signed in to Kiln it runs on Kiln's servers). On this install compile_scad IS the make → preview → iterate loop: make it, show the preview, iterate.
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": {
"job_id": "<job_id>"
},
"name": "download_generated_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job ID of a completed generation job. | |
| brief_id | No | The saved goal's id from ``design_session``, so this make is recorded against the goal and checked against it. Empty when there is no goal. Default: "". | |
| provider | No | Provider that owns the job: ``"meshy"``, ``"gemini"``, ``"tripo3d"``, ``"stability"`` or ``"openscad"``. Default ``"meshy"``. Default: "meshy". | |
| output_path | No | Directory to save the file. Defaults to Kiln's own ``kiln_generated`` output folder. |