attach_part_feature
Attach a reusable PART feature to a host mesh and compose the result, then open an interactive 3D stage to orbit and inspect the placement.
Instructions
Attach a reusable PART feature onto a host mesh and compose the result. 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": "attach_part_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Uniform scale applied to the part at attach time (default ``1.0``). Default: 1.0. | |
| validate | No | When true (the default), a composed mesh that is not watertight or is left as disconnected bodies (a flush placement that never fused to the host) is refused, and the refusal says how far to sink the placement. Pass false to keep the mesh as composed. Default: true. | |
| design_id | No | Optional host design id for the ATTACHED provenance event; the host mesh path is recorded when omitted. | |
| feature_id | No | Feature id — attaches its latest version. | |
| output_path | No | Optional composed-STL output path. Default: "". | |
| target_spec | No | Optional placement — ``translate`` (a 3-vector) and/or ``rotate`` (a 3-vector of degrees). | |
| host_mesh_path | Yes | Readable STL/3MF/OBJ the part attaches onto. | |
| feature_release_id | No | Signed-release id — pins and verifies the version the signature covers. | |
| feature_version_id | No | Exact feature version id — pins that version; it must be a ``part``. Give exactly one of ``feature_id``, ``feature_version_id`` or ``feature_release_id``. |