apply_decoration_preset
Apply a saved decoration preset to a mesh using its recorded settings, then open an interactive 3D stage to orbit and zoom the decorated result.
Instructions
Apply a saved decoration preset to a mesh — the preset's own recorded settings, no signing required. Opens Kiln's interactive inline 3D stage on the result (orbit/zoom panel in MCP Apps hosts; hosted sessions add a browser stage link).
Needs Kiln Pro.
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": {
"host_mesh_path": "<host_mesh_path>"
},
"name": "apply_decoration_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| face | No | Which face of the host to carve on: ``"auto"``, a named side such as ``"top"``, ``"bottom"`` or ``"front"``, or on a sketch-built part the sketch's own wall name (e.g. ``"side:l2"``). A name that reaches no face is refused. Omit it to let the engine pick the face. | |
| scale | No | Fraction of the face the mark covers. Omit it for the engine's default coverage. | |
| preset_id | No | Stable preset id — applies its latest version. | |
| offset_x_mm | No | Face-local horizontal shift of the mark from the face's centre, in millimetres. Defaults to ``0`` (centred); a shift that would push the mark off the face is clamped, with a warning. Default: 0.0. | |
| offset_y_mm | No | Face-local vertical shift of the mark from the face's centre, in millimetres. Defaults to ``0`` (centred); clamped the same way. Default: 0.0. | |
| host_mesh_path | Yes | STL/OBJ to decorate. | |
| preset_release_id | No | Signed-release id — pins the version the signature covers, and verifies it. | |
| preset_version_id | No | Exact version id — pins that version. | |
| base_mesh_version_id | No | Optional design-version id of the host mesh, recorded in provenance so a later print outcome feeds both the per-version and per-preset A/B paths. |