generate_pet_tag
Create a 3D-printable pet ID tag with custom text, shape, size, and back options; preview the mesh in an interactive 3D stage to orbit and zoom.
Instructions
Generate a 3D-printable pet ID tag. Opens Kiln's interactive inline 3D stage on the result (orbit/zoom panel in MCP Apps hosts; hosted sessions add a browser stage link). 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.
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": {
"front_text": "<front_text>"
},
"name": "generate_pet_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| back | No | Back config — ``"plain"``, ``"qr:URL"``, or ``"text:..."``. Default: "plain". | |
| shape | No | Tag shape — ``"circle"``, ``"oval"``, or ``"square"``. Default: "circle". | |
| goal_id | No | Optional saved-goal id from ``design_session``. When supplied, the produced mesh gets a ``design_brief:<id>`` intent sidecar so the audit's "matches what you asked for" gate, the brief failure_history wiring, and the ``compare_design_versions`` intent diff all light up against the saved goal. Omit to skip — REST callers without a goal still get an auto-inferred brief at dispatch time. Default: "". | |
| material | No | Material (default PETG for durability). Default: "PETG". | |
| body_color | No | Body color (default white). Default: "white". | |
| front_text | Yes | Pet name (REQUIRED). | |
| printer_id | No | The printer that will print the tag. Its recorded nozzle is read: brass carries a warning to swap it for this mouthed part, and a worn brass tip refuses it. Omitted, the printer Kiln picks when none is named (the only one it knows of, else the one it is working with or the default; several with none chosen, it asks which), named in the reply. A nozzle Kiln has no record of is said as unknown, to check. Default: "". | |
| diameter_mm | No | Tag diameter/width in mm. Leave it out and Kiln sizes the tag to the text: the standard size when the name reads there, larger when it needs it, and the answer's ``sizing.note`` says so (tell the user). A size you set is kept; text that won't read at it is refused with ``fits_at_mm``, the size that fits. | |
| front_line2 | No | Optional phone number below name. Default: "". | |
| include_step | No | Also emit a CAD-exact STEP file. The STEP is REAL analytic B-rep built from the same typed parameters as the mesh — true cylinders, planes and elliptical walls a machine shop's CAD opens clean, never a tessellated conversion. On success the response gains a ``step`` block with ``step_path``. QR tags refuse the STEP honestly (a QR tag is a two-solid multicolor assembly) — the mesh outputs are always unaffected. Default: false. | |
| ring_hole_mm | No | Distance from edge to ring hole center (default 8). Default: 8.0. | |
| thickness_mm | No | Thickness in mm (default 3, min 2.5). Default: 3.0. | |
| color_overrides | No | JSON dict mapping role → color name/hex. Overrides body_color for "body" role unless body_color is also set. Default: "". | |
| ring_diameter_mm | No | Ring hole diameter in mm (default 5). Default: 5.0. |