add_qr_to_product
Add a scannable QR code to a product STL for 3D printing, with placement, size, and nozzle-aware module sizing, then open an interactive 3D stage to inspect the result.
Instructions
Add a scannable QR code to any product STL (Business). Opens Kiln's interactive inline 3D stage on the result (orbit/zoom panel in MCP Apps hosts; hosted sessions add a browser stage link).
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": {
"product_stl_path": "<product_stl_path>",
"qr_content": "<qr_content>"
},
"name": "add_qr_to_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size_mm | No | QR size override in mm (0 = auto from product). Default: 0. | |
| nozzle_mm | No | Nozzle diameter in mm; the QR's smallest module is sized from it so the code prints cleanly. Leave unset to use the only printer Kiln knows of, else 0.4; ``nozzle`` in the reply says which was used. | |
| placement | No | ``'bottom'``, ``'top'``, or ``'pocket'``. Default: "bottom". | |
| qr_content | Yes | URL or text to encode in the QR code. | |
| product_type | No | Template key for profile lookup (optional). Default: "". | |
| pad_height_mm | No | Height of the QR pads in mm, default 0.5. Default: 0.5. | |
| product_stl_path | Yes | Path to the base product STL. |