About Kiln
Kiln is an MCP server published by codeofaxel in the AI category: from idea to object, and every version in between. Kiln is the open-source MCP server for 3D printing: AI agents (ChatGPT, Claude, Gemini, GitHub Copilot, Codex, Cursor, Grok, Hermes Agent, or any MCP client) design, slice and print on Bambu Lab, Creality, Prusa, Elegoo, Klipper, OctoPrint and more. Version control: branch, merge and undo designs. Conduid read 305 tools from its source: acquire_printer_lock, add_assembly_interface, add_assembly_part, add_mesh_chamfer, add_mesh_fillet, add_safety_profile and 299 more. No package is published for it, so it installs from a source checkout.
The repository has 265 stars and 27 forks, is licensed AGPL-3.0, and its last commit was on 2 Dec 2026. The latest release is v1.6.0 (25 Nov 2026): Install Kiln with one line, and it connects itself to your AI apps. It follows v1.5.1 (4 Nov 2026), and the 5 most recent releases go back to v1.4.1 (19 Aug 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include bambu-lab, elegoo, 3d-printing, cli, gcode and automation.
Install
git clone https://github.com/codeofaxel/KilnTools (305)
acquire_printer_lockReserve a printer for this Kiln session, so no other session commands it.| Parameter | Type | Description |
|---|---|---|
| hold_minutes | number | How long it lasts (1 to 1440, default 30). |
| holder | string | A name for who reserved it (for example the app), shown to the sessions that are refused. |
| printer_name * | string | Printer to reserve. |
| timeout_seconds | number | How long to wait if another session has it (default 0: answer at once with who has it; at most 120). |
add_assembly_interfaceAdd a mating interface between two parts in an assembly.| Parameter | Type | Description |
|---|---|---|
| assembly_json * | any | JSON string of the current assembly state. |
| clearance_mm | number | Clearance gap in mm (default 0.2); for a round joint, the difference between the two diameters. For ``"interference_fit"`` pass a NEGATIVE value (the part is intentionally larger than its socket); interference geometry is the entire point. |
| fastener | object | Optional FastenerSpec as a dict or JSON object string. Supported keys include ``size``, ``family``, ``length_mm``, ``length_range_mm``, ``head_type``, ``drive_type``, ``surface_type``, ``quantity_per_interface``, ``notes``, ``driver`` (the driver the screw takes, as the kit's supplier states it, e.g. ``"2 mm hex key"``) and ``product`` (the exact bought part: maker and part number). On a ``"heat_set_insert"`` or ``"magnetic"`` interface the fastener names that hardware (``family`` ``"heat_set_insert"`` or ``"magnet"``) and may give ``hole_diameter_mm`` and ``hole_depth_mm`` (the pocket as drawn) and, for an insert, ``install_temp_c`` (the iron temperature, one value or ``[low, high]``); an assembly guide prints what is given. |
| joint_type | string | Type of joint (default ``"clearance_fit"``): ``"snap_fit"``, ``"press_fit"``, ``"interference_fit"``, ``"clearance_fit"``, ``"loose"``, ``"tongue_groove"``, ``"threaded"``, ``"glued"``, ``"magnetic"`` or ``"heat_set_insert"``. A screw into a brass insert is two interfaces on the same two parts: ``"threaded"`` with the screw as ``fastener``, and ``"heat_set_insert"`` with ``part_b_id`` the part the insert is melted into. |
| magnet_polarity_aligned | boolean | Only meaningful when ``joint_type == "magnetic"``. ``True`` declares the designer has confirmed which poles face each other in each magnet pocket; ``None`` means unknown. Downstream tooling refuses to ship a hand-wavy "make sure they pull together" instruction when polarity is unknown. |
| mechanism | object | Optional place of this joint in a mechanism, as a dict or JSON object string; the joint must declare a ``motion``. One of: ``{"driver": true}`` -- this is the joint that is turned or pushed; every other moving joint follows it. Declare it before the others. It runs through the joint's own range, or ``"range": [low, high]`` to play a narrower one; a ``continuous`` joint turns round and round. ``{"coupled_to": <joint number>, "kind": "gear", "ratio": <number>}`` -- this joint turns ``ratio`` times the named joint (negative when it turns the other way, as an external gear pair does); ``"kind": "rack"`` with ``pitch_radius_mm`` or ``"kind": "screw"`` with ``lead_mm`` joins a joint that turns and one that slides. ``{"rests_on": "<part id>"}`` -- part B is held only by this hinge and rides on the named part under its own weight (a cam's lever, a pawl); optionally ``bearing_radius_mm``, the radius of the hinge's pin. Omit it for a joint that is not part of a mechanism. |
| motion | object | Optional joint motion as a dict or JSON object string, for a joint that moves after printing (part B relative to part A, in the assembly's frame): ``kind`` (``"hinge"``, ``"slider"``, ``"ball"`` or ``"gear"``), ``axis_point_mm`` (a point on the axis; a ball joint's centre), ``axis_direction`` (the axis as x, y, z), ``range_min`` and ``range_max`` (degrees for a hinge, ball or gear with 0 the pose as modelled, millimetres for a slider), and optionally ``mating`` (the gap class the clearance is judged in; follows the kind when omitted), and ``continuous`` (``true`` for a hinge or gear that turns without end, such as a crankshaft; its range is 0 to 360). Omit it for a joint that does not move. |
| part_a_id * | string | ID of the first part in the interface. |
| part_b_id * | string | ID of the second part in the interface. |
| prints_separately | boolean | ``True`` when the two parts are printed apart and put together by hand. Their gap is then checked as a fit to assemble (and, with ``motion``, to keep moving) and never as two surfaces that could fuse on the plate. Leave ``False`` for a print-in-place joint. |
add_assembly_partAdd a part to an existing assembly.| Parameter | Type | Description |
|---|---|---|
| assembly_json * | any | JSON string of the current assembly state (as returned by create_assembly or a previous tool call). |
| color | string | Optional colour the part is shown in on Kiln's 3D stage, written ``#rrggbb`` (for example ``"#f26b21"``). Omit it to leave the choice to the stage. |
| file_path * | string | Path to the STL/OBJ mesh file for the part. |
| insertion_axis | array | The direction this part travels to its seat, as ``[x, y, z]`` in the assembly's frame (a pin pushed in along +Y is ``[0, 1, 0]``). Give it for a part that sits inside another (a rod in a bore, a part on a shaft), where its position alone cannot say which way it went in. |
| install_after | array | Build order, when it matters: the ids of the parts that have to be in place before this one goes on (a lid after what it covers, a frame after the shafts it traps). They may be added later. Every assembly tool keeps it and an assembly guide follows it; ``validate_assembly`` says when it names a part that does not exist or goes in a ring. |
| material | string | Filament material for the part (default ``"PLA"``). |
| name | string | What a person calls the part, in your own words (``"hare lever"``, ``"back camshaft spacer"``). An assembly guide prints it as written; omitted, the part is worded from its id. |
| part_id * | string | Unique identifier for this part within the assembly. |
| position_x | number | X position offset in mm (default 0.0). |
| position_y | number | Y position offset in mm (default 0.0). |
| position_z | number | Z position offset in mm (default 0.0). |
| role | string | Structural role of the part (default ``"structural"``). ``"base"`` marks the part the build starts from. |
add_mesh_chamferBevel a part's edges, exactly, on its CAD file.| Parameter | Type | Description |
|---|---|---|
| angle_threshold_deg | number | |
| distance_mm | number | |
| edges | string | |
| file_path * | string | |
| layer_height_mm | number | |
| material | string | |
| nozzle_mm | number | |
| output_path | string | |
| plan_only | boolean | |
| printer_id | string |
add_mesh_filletRound a part's edges, exactly, on its CAD file.| Parameter | Type | Description |
|---|---|---|
| angle_threshold_deg | number | |
| edges | string | |
| file_path * | string | |
| layer_height_mm | number | |
| material | string | |
| nozzle_mm | number | |
| output_path | string | |
| plan_only | boolean | |
| printer_id | string | |
| radius_mm | number |
add_safety_profileAdd a local safety-profile override for a printer model. Free at every tier.| Parameter | Type | Description |
|---|---|---|
| printer_model * | string | Short identifier for the printer (e.g. ``"my_custom_corexy"``). |
| printer_name | string | Which registered printer to read the limits off when ``profile`` is omitted; the default printer when empty. Ignored when ``profile`` is given. |
| profile | object | Dict containing at least ``max_hotend_temp``, ``max_bed_temp``, ``max_feedrate``, and ``build_volume`` (a list of 3 positive numbers ``[X, Y, Z]``). Optional fields: ``display_name``, ``max_chamber_temp``, ``min_safe_z``, ``max_volumetric_flow``, ``notes``. Omit it to read the limits off the printer. |
analyze_design_requirementsAnalyze a functional requirement and return technical recommendations.| Parameter | Type | Description |
|---|---|---|
| material | string | Optional material override (e.g. "petg"). If not provided, the system recommends the best material. |
| requirements * | string | Natural language description of what the object needs to do — functional needs, environment, loads, etc. |
analyze_generation_feedbackAnalyze a generated model and get feedback for improvement.| Parameter | Type | Description |
|---|---|---|
| failure_mode | string | Optional failure mode if the model was printed and failed (e.g. ``"adhesion"``, ``"spaghetti"``). |
| file_path * | string | Path to the generated model file. |
| has_bridges | boolean | Whether the model has bridge features. |
| has_floating_parts | boolean | Whether the model has disconnected parts. |
| max_overhang_angle | number | Maximum overhang angle in degrees. |
| min_wall_thickness | number | Minimum wall thickness in mm. |
| non_manifold | boolean | Whether the mesh is non-manifold. |
| original_prompt * | string | The original generation prompt. |
analyze_mesh_geometryDeep geometric and printability analysis of a 3D mesh.| Parameter | Type | Description |
|---|---|---|
| file_path * | string |
analyze_non_manifold_edgesCount and classify non-manifold edges in a mesh.| Parameter | Type | Description |
|---|---|---|
| file_path * | string |
analyze_print_failure_smartClassify a print failure and suggest recovery steps.| Parameter | Type | Description |
|---|---|---|
| error_message | string | Error message from the printer or system. |
| job_id | string | Job ID of the failed print. |
| printer_name | string | Name of the printer that failed. |
| progress | number | Print progress at failure (0.0 - 1.0). |
analyze_printabilityAnalyze a 3D model for FDM printing readiness.| Parameter | Type | Description |
|---|---|---|
| build_volume_x | number | Bed X size in mm, used only when no printer is on record for this person; with one on record the part is checked against that printer's bed and this size is only mentioned. ``bed_used`` says which bed the check used. |
| build_volume_y | number | Bed Y size in mm (see ``build_volume_x``). |
| build_volume_z | number | Bed Z size in mm (see ``build_volume_x``). |
| file_path * | string | Path to an STL or OBJ mesh file. |
| layer_height | number | Print layer height in mm (default: the layer Kiln slices the nozzle at, 0.2 mm on a 0.4 mm nozzle). |
| material | string | Material ID for warping / thermal-stress / adhesion analysis (default ``"pla"``). |
| max_overhang_angle | number | Maximum overhang angle in degrees before supports are needed. Leave unset for the material's own limit (45 when none is known) — the value every other tool that reports this score uses, so the numbers agree. |
| nozzle_diameter | number | Printer nozzle diameter in mm. Leave unset and name the printer: Kiln then checks for the nozzle on record for it, else the printer's own setting, else the model's stock size, and ``report.nozzle`` says which. With no printer named, the only printer Kiln knows of stands in; with none, the check assumes 0.4 and says so. |
| plate_number | integer | For a slicer project with several plates, which plate to check (1-based). Leave unset for a single-plate file; a project with several plates and none named is refused with the list of its plates. |
| printer_id | string | Optional registered printer whose real geometry and calibration should inform the analysis. |
analyze_scad_codeAnalyze the structure of OpenSCAD code.| Parameter | Type | Description |
|---|---|---|
| scad_code * | string | OpenSCAD source code. |
analyze_structural_risksAnalyze an STL mesh for structural weak points.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| min_cross_section_mm2 | number | |
| sharp_angle_threshold_deg | number |
analyze_warping_riskAnalyze warping risk for a 3D model based on geometry and material.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to a mesh (.stl, .obj, .glb, .3mf) or a CAD file (.step, .stp), which is converted automatically. |
| material | string | Material ID (e.g. "pla", "abs", "petg"). Defaults to PLA. Used to look up thermal warping tendency. |
| printer_id | string | Optional registered printer whose real geometry and calibration should inform the analysis. |
apply_decorationApply a saved decoration to a new model — proven settings, one call.| Parameter | Type | Description |
|---|---|---|
| face | string | |
| material | string | |
| model_path * | string | |
| name * | string | |
| printer_id | string |
apply_design_reinforcementsAnalyze a part for structural risks, then auto-apply fixes.| Parameter | Type | Description |
|---|---|---|
| base_height_mm | number | |
| fastener | string | |
| file_path * | string | |
| fillet_radius_mm | number | |
| layer_height_mm | number | |
| material | string | |
| nozzle_mm | number | |
| output_path | string | |
| printer_id | string | |
| wall_thicken_mm | number |
arrange_parts_on_platePack multiple STL files onto a virtual build plate.| Parameter | Type | Description |
|---|---|---|
| copies | string | |
| file_paths * | string | |
| plate_depth_mm | number | |
| plate_width_mm | number | |
| printer_id | string | |
| spacing_mm | number |
assess_load_bearingAnalyze load-bearing characteristics of a mesh from its geometry.| Parameter | Type | Description |
|---|---|---|
| file_path * | string |
assign_jobsSay which jobs a printer's loaded material can take, or which printer takes each job.| Parameter | Type | Description |
|---|---|---|
| jobs * | array | List of job dicts, each with ``file_name``, ``material_type``, ``required_grams`` and optionally ``color``. |
| printer_name | string | The printer to answer for. Omit for the only printer, or to assign across every printer. |
audit_original_designRun a ruthless audit of an original design before printing.| Parameter | Type | Description |
|---|---|---|
| build_volume_x | number | Build volume X in mm, all three or none. Used only when no printer is on record and ``printer_model`` names none Kiln knows; a size given beside a printer on record is only mentioned. |
| build_volume_y | number | Build volume Y in mm, all three or none. Used only when no printer is on record and ``printer_model`` names none Kiln knows; a size given beside a printer on record is only mentioned. |
| build_volume_z | number | Build volume Z in mm, all three or none. Used only when no printer is on record and ``printer_model`` names none Kiln knows; a size given beside a printer on record is only mentioned. |
| file_path * | string | Path to STL or OBJ file. |
| layer_height | number | Layer height in mm. |
| material | string | Optional material constraint (e.g. "petg"). |
| max_overhang_angle | number | Supportless overhang threshold in degrees. Left out, the material's own limit. |
| nozzle_diameter | number | Nozzle diameter in mm. Leave unset for the nozzle Kiln has for ``printer_model``, else the stock size; the report says which it used. |
| printer_model | string | Optional printer model ID (e.g. "bambu_a1"). |
| requirements * | string | Functional requirements the design must satisfy. |
auto_arrange_parts_on_plateCalculate non-overlapping XY positions for multiple parts on a print plate.| Parameter | Type | Description |
|---|---|---|
| gap_mm | number | |
| part_specs * | array | List of dicts, each with: |
| plate_depth | number | |
| plate_width | number | |
| printer_id | string |
auto_color_by_heightSplit a 3D model into horizontal color zones by Z-height.| Parameter | Type | Description |
|---|---|---|
| color_palette | array | |
| input_path * | string | |
| material | string | |
| num_colors | integer | |
| printer_id | string |
auto_color_by_regionSplit a 3D model into color zones by geometric region.| Parameter | Type | Description |
|---|---|---|
| color_palette | array | |
| input_path * | string | |
| material | string | |
| method | string | |
| num_colors | integer | |
| printer_id | string |
auto_orient_modelFind the optimal print orientation for a 3D model.| Parameter | Type | Description |
|---|---|---|
| apply | boolean | If True, apply the best orientation and write the reoriented STL to disk. |
| candidates | integer | Number of candidate orientations to evaluate (default 24). |
| file_path * | string | Path to an STL or OBJ mesh file. |
| nozzle_diameter | number | Printer nozzle diameter in mm (default 0.4). |
| output_path | string | Output path for the reoriented STL. Only used when ``apply`` is True. Defaults to ``<input>_oriented.stl``. |
await_generationWait for a generation job to complete and return the final status.| Parameter | Type | Description |
|---|---|---|
| job_id * | string | Job ID from ``generate_model``. |
| poll_interval | integer | Seconds between polls (default 10). |
| provider | string | Provider that owns the job. |
| timeout | integer | Max seconds to wait for generation (default 600 = 10 min). |
backup_databaseBack up the Kiln database with optional credential redaction.| Parameter | Type | Description |
|---|---|---|
| output_path | string | Destination file path. Defaults to ``~/.kiln/backups/kiln-YYYYMMDD-HHMMSS.db``. |
| redact | boolean | If ``True`` (default), redact credentials in the backup. |
boolean_mesh_opPerform a CSG boolean operation on two or more STL meshes.| Parameter | Type | Description |
|---|---|---|
| file_paths * | array | |
| operation * | string | |
| output_path | string |
browse_modelsBrowse Thingiverse models by popularity, recency, or category.| Parameter | Type | Description |
|---|---|---|
| browse_type | string | One of "popular", "newest", or "featured". |
| category | string | Optional category slug (e.g. "3d-printing", "art"); ``list_model_categories`` lists the slugs. When given, ``browse_type`` is ignored and the category's models are listed instead. |
| page | integer | Page number (1-based, default 1). |
| per_page | integer | Results per page (default 10, max 100). |
build_generation_promptBuild a design-aware generation prompt for original 3D creation.| Parameter | Type | Description |
|---|---|---|
| material | string | Optional material override (e.g. "petg"). |
| printer_model | string | Optional printer model ID (e.g. "bambu_a1"). |
| provider | string | Optional generation provider (e.g. "openscad", "meshy", "gemini"). Controls prompt length budget. |
| requirements * | string | Natural language description of the desired part. |
build_parametric_promptBuild a prompt optimized for parametric OpenSCAD code generation.| Parameter | Type | Description |
|---|---|---|
| material | string | Optional material override (e.g. "petg"). |
| printer_model | string | Optional printer model ID (e.g. "bambu_a1"). |
| requirements * | string | Natural language description of the desired part. |
cache_designCache a 3D design file for faster access and version tracking.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the design file to cache. |
| label | string | Human-readable label for the cached design. |
| material | string | Intended material for this design. |
cache_design_with_sourceCache a design file alongside its parametric source code.| Parameter | Type | Description |
|---|---|---|
| filament_type | string | Material type (e.g. "PLA", "PETG"). |
| file_path * | string | Path to the design file (STL, 3MF, etc.). |
| generation_prompt | string | The prompt used to generate the design. |
| provider | string | Generation provider name (e.g. "openscad", "gemini"). |
| scad_source * | string | OpenSCAD source code that produced this file. |
| tags | array | Optional tags for search. |
cache_modelAdd a 3D model file to the local cache for reuse across jobs.| Parameter | Type | Description |
|---|---|---|
| dimensions | any | JSON object with bounding box in mm, e.g. ``'{"x": 60, "y": 31, "z": 48}'``. |
| file_path * | string | Path to the model file on disk. |
| metadata | any | Optional JSON object with extra data. |
| prompt | string | For generated models, the text prompt used. |
| source * | string | Origin — ``"thingiverse"``, ``"myminifactory"``, ``"meshy"``, ``"openscad"``, ``"upload"``, etc. |
| source_id | string | Marketplace thing ID or generation job ID. |
| tags | string | Comma-separated tags (e.g. ``"benchy,calibration,test"``). |
cancel_print_recoveryCancel an active recovery session.| Parameter | Type | Description |
|---|---|---|
| reason | string | Optional reason for the cancellation. |
| session_id * | string | The session_id to cancel. |
cancel_print_service_orderCancel a print service order.| Parameter | Type | Description |
|---|---|---|
| order_id * | string | The order ID to cancel. |
cancel_split_planCancel all pending/in-progress parts of a split plan.| Parameter | Type | Description |
|---|---|---|
| plan_id * | string | The plan ID to cancel. |
center_model_on_bedCenter a mesh on the build plate and place at z=0.| Parameter | Type | Description |
|---|---|---|
| bed_x_mm | number | |
| bed_y_mm | number | |
| file_path * | string | |
| output_path | string | |
| printer_id | string |
check_assembly_clearancesCheck clearances between all mating parts in an assembly.| Parameter | Type | Description |
|---|---|---|
| assembly_json * | any | JSON string of the current assembly state. |
| default_clearance_mm | number | Default clearance gap in mm to use when an interface does not specify one (default 0.2). |
check_machine_firmwareCheck a machine's firmware: each component's version, and whether an update or a rollback is available.| Parameter | Type | Description |
|---|---|---|
| all_machines | boolean | Check every machine registered with Kiln. |
| machine | string | The machine to check, by name. Omitted, the machine Kiln is connected to. |
| machines | array | Several machines to check in one call, by name. Each is reported on its own line. |
check_material_environmentCheck whether a material is compatible with an environment, and| Parameter | Type | Description |
|---|---|---|
| environment * | string | Natural language environment description. |
| material * | string | Material ID from the design knowledge base. |
| requirements | array | Optional rules to check the material against before printing: any of ``food_safe``, ``reach``, ``rohs``, ``flame_retardant``, ``uv``. The answer comes back under ``rule_checks``: the material's warnings always, and a meets / does-not-meet verdict with its reason where the plan includes it; when the check cannot be made, ``rule_checks.checked`` is false and no requirement is called met. |
check_material_sufficiencyCheck if a printer has enough material for a print job.| Parameter | Type | Description |
|---|---|---|
| material_type | string | Optional material type filter. |
| printer_name * | string | Name of the printer to check. |
| required_grams * | number | Amount of material needed in grams. |
check_multi_material_pairingCheck if two materials can be co-printed in dual extrusion.| Parameter | Type | Description |
|---|---|---|
| material_a * | string | First material (e.g. "pla", "abs"). |
| material_b * | string | Second material (e.g. "tpu", "hips", "pva"). |
check_my_tierCheck the user's current Kiln subscription tier (Free / Pro / Business / Enterprise) and explain WHY they're on it.check_print_healthPerform a single-shot health assessment of the current print.| Parameter | Type | Description |
|---|---|---|
| material | string | Filament material (e.g. ``"PLA"``, ``"ABS"``). Passed to adhesion analysis when *model_path* is provided. |
| model_path | string | Optional path to the model being printed. Enables geometry-based adhesion risk analysis. |
| printer_id | string | Printer model ID (e.g. ``"bambu_a1"``). Used for printer-intelligence lookups. |
| printer_name | string | Named printer to query. Omit for the default. |
check_print_readinessSingle-call print readiness check with optional auto-repair.| Parameter | Type | Description |
|---|---|---|
| auto_fix | boolean | |
| bed_x_mm | number | |
| bed_y_mm | number | |
| bed_z_mm | number | |
| file_path * | string | |
| material | string | |
| output_path | string | |
| printer_id | string |
check_printer_material_compatibilityCheck if a specific printer can handle a material.| Parameter | Type | Description |
|---|---|---|
| material * | string | Material to check (e.g. "nylon", "abs"). |
| printer * | string | Printer model ID (e.g. "ender3", "bambu_x1c", "prusa_mk4", "voron_2"). Use underscores, lowercase. |
check_step_supportCheck which STEP import backends are available on this system.cloud_sync_configureConfigure and start cloud sync.| Parameter | Type | Description |
|---|---|---|
| api_key * | string | API key for authentication. |
| cloud_url * | string | Base URL of the cloud sync endpoint. |
| interval | number | Sync interval in seconds (default 60). |
cloud_sync_nowTrigger an immediate cloud sync cycle.cloud_sync_statusGet the current cloud sync status.community_statsGet overall print-registry statistics.compare_mesh_versionsCompare two mesh files and report geometric differences.| Parameter | Type | Description |
|---|---|---|
| file_a * | string | |
| file_b * | string |
compile_scadCompile OpenSCAD code into an STL file.| Parameter | Type | Description |
|---|---|---|
| color | string | The colour the user asked for, shown on the preview and the stage (a name or ``#rrggbb``). Not a print setting. |
| fastener | string | The fastener the user named, e.g. ``"M4"`` — pass only if they actually said one. Kiln does NOT read your OpenSCAD looking for screw holes; guessing intent out of geometry would be wrong often. No argument, no advisory. |
| goal_id | string | 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. |
| motion | any | When the part has pieces that move against each other (a hinge, a gearbox, a slider): how it moves, in your source's own part names, so the reply's ``motion`` can say whether it plays and what was found. ``{"parts": {name: [x, y, z]}}`` gives each piece a point inside its material (millimetres, as modelled); ``"joints"`` lists ``{"parts": [stays, moves], "kind": "hinge" | "slider" | "fixed", "axis_point", "axis_direction", and "range": [lo, hi] or "continuous": true}``; ``"driver"`` names the piece a hand turns or slides (leave it out when each piece moves on its own, like drawers in a case); ``"gears"`` (optional) lists ``{"parts": [a, b], "teeth": [na, nb], "carrier": the piece holding both axes, "inside": true when b is a ring with its teeth inside}``. Checked with a goal (``goal_id``) on a make Kiln's servers answer; then the stage on this computer plays it too. Elsewhere the reply carries no ``motion``. |
| scad_code | string | Valid OpenSCAD source code (provide this OR scad_path). |
| scad_path | string | Path to a .scad file (provide this OR scad_code). |
| timeout | integer | Maximum compilation time in seconds (default 300). |
complete_print_recoveryMark a recovery session as completed.| Parameter | Type | Description |
|---|---|---|
| alternative_printers | array | Optional other printers the job could move to (each with ``printer_id`` plus optional ``is_idle``, ``supported_materials``, ``build_volume_mm``, ``success_rate``). Read only when ``success=False``. Single-printer setups can omit this. |
| completion_pct_at_failure | number | How far the failed print got (0.0–1.0); the recommendation weighs it. Defaults to 0. |
| notes | string | Final notes about the recovery outcome. |
| session_id * | string | The session_id to complete. |
| success * | boolean | Whether the recovery was ultimately successful. |
compose_assembly_partsCompose all assembly parts into a single output STL file.| Parameter | Type | Description |
|---|---|---|
| assembly_json * | any | JSON string of the current assembly state. |
| guide_steps | array | Optional steps of an assembly guide for these parts, each ``{"part": <part id>, "direction": [x, y, z] or null, "step": <number>}``: the direction the part travels into place and the step that places it. Kept beside the file, so the stage takes the design apart the way the guide puts it together; the reply's ``assembly.guide_kept`` says whether they were kept. |
| output_path * | string | File path where the composed STL will be written. |
compose_modelsMerge multiple mesh files into a single combined model.| Parameter | Type | Description |
|---|---|---|
| file_paths * | array | |
| output_path * | string |
compose_part_from_primitivesBuild a functional part by composing geometric primitives with booleans.| Parameter | Type | Description |
|---|---|---|
| bed_x_mm | number | |
| bed_y_mm | number | |
| center_on_bed | boolean | |
| goal_id | string | |
| operations * | array | |
| output_path | string | |
| printer_id | string |
confirm_print_recoveryConfirm that a recovery plan should proceed.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | The session_id to confirm. |
consent_window_statusWhich standing consent windows are open, for what, until when.| Parameter | Type | Description |
|---|---|---|
| printer_name | string | Show only the window covering this printer. Omit for every open window. |
consumer_onboardingGet the guided onboarding workflow for users without a 3D printer.contribute_community_printContribute a print outcome to the community registry.| Parameter | Type | Description |
|---|---|---|
| failure_mode | string | Optional failure mode, one lowercase word (``warping``, ``layer_shift``). A description is kept on this computer and not shared. |
| geometric_signature * | string | Geometric signature from fingerprinting. |
| geometric_signature_v2 | string | ``fingerprint_model``'s ``geometric_signature_v2``. Pass it: it keeps this record apart from a different design that shares the older signature. |
| job_id | string | The print's job id when known, so a print that was also watched (or recorded via ``record_print_outcome``) is shared once, not twice. |
| material * | string | Material used. |
| outcome * | string | ``"success"``, ``"failed"``, or ``"partial"``. |
| print_time_seconds | integer | Print duration in seconds. |
| printer_model * | string | Printer model name. |
| quality_grade | string | One of ``"A"``, ``"B"``, ``"C"``, ``"D"``, ``"F"`` (default ``"B"``). |
| settings * | object | The slicer settings the print used, as a flat name→value dict (e.g. ``{"layer_height_mm": 0.2, "infill_percent": 20, "nozzle_temp_c": 215}``). Kept on this computer; no key is required. |
create_assemblyCreate a new empty assembly.| Parameter | Type | Description |
|---|---|---|
| name * | string | Human-readable name for the assembly. |
create_print_service_orderCreate a Print-as-a-Service order and get a quote.| Parameter | Type | Description |
|---|---|---|
| color | string | Desired color (optional). |
| intent | string | Print intent — ``"strong"``, ``"pretty"``, or ``"cheap"``. |
| material | string | Material type (default ``"pla"``). |
| max_budget_usd | number | Maximum budget in USD (optional). |
| model_path | string | Local path to a 3D model file. |
| model_url | string | URL to download a 3D model. |
| prefer_local | boolean | Prefer local printing (default True). |
| printer_name | string | Specific local printer name (optional). |
| prompt | string | Text prompt for AI model generation. |
| quantity | integer | Number of copies (default 1). |
cross_section_viewCompute a 2D cross-section of a mesh at a cutting plane.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| offset_mm | string | |
| offset_ratio | number | |
| plane | string |
database_statusCheck database backend status and configuration.decoration_historyGet every version of a saved decoration (Kiln Pro).| Parameter | Type | Description |
|---|---|---|
| name * | string |
decoration_infoGet full details about a saved decoration.| Parameter | Type | Description |
|---|---|---|
| name * | string |
decoration_quota_statusCheck your decoration quota — how many decorations you've used this month.delete_agent_noteRemove a stored note or preference.| Parameter | Type | Description |
|---|---|---|
| key * | string | The key of the note to delete. |
| printer_name | string | If provided, targets ``"printer:<name>"`` scope. |
| scope | string | The scope namespace (default ``"global"``). |
delete_cached_modelRemove a model from the local cache (file and metadata).| Parameter | Type | Description |
|---|---|---|
| cache_id * | string | The unique cache ID of the model to delete. |
delete_shipping_profileDelete a saved local shipping profile.| Parameter | Type | Description |
|---|---|---|
| name * | string | Profile name to delete. |
design_advisorAsk which generation method to use for a design idea (triage tool — call FIRST).| Parameter | Type | Description |
|---|---|---|
| material | string | |
| printer_model | string | |
| prompt * | string |
design_improvement_planGenerate a complete structural improvement plan for a design.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| min_cross_section_mm2 | number | |
| sharp_angle_threshold_deg | number |
detect_mesh_pocketsDetect pockets and cavities in a mesh before multi-part composition.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| min_depth_mm | number |
detect_print_failureAnalyze printer telemetry to detect and classify a print failure.| Parameter | Type | Description |
|---|---|---|
| job_info | object | Optional current job metadata with keys like ``file_name``, ``layer``, ``total_layers``, ``z_mm``. |
| printer_name * | string | Identifier of the printer to analyze. |
| telemetry * | object | Current telemetry snapshot with keys like ``hotend_temp``, ``bed_temp``, ``connected``, ``filament_detected``, etc. |
| telemetry_history | array | Optional list of recent telemetry snapshots for trend analysis (newest last). |
diagnose_meshDeep mesh defect analysis — self-intersections, holes, normals, fragments (defect-focused).| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to a mesh file (STL, 3MF, OBJ, PLY, OFF, GLB, GLTF). |
diagnose_print_failure_liveDiagnose a print failure using live printer state + model geometry.| Parameter | Type | Description |
|---|---|---|
| material | string | Filament material (e.g. ``"ABS"``, ``"PLA"``). |
| model_path | string | Path to the model file that was being printed. Enables geometry-based diagnosis (adhesion, overhangs). |
| printer_id | string | Printer model ID (e.g. ``"bambu_a1"``). Enables printer-specific intelligence lookup. |
| printer_name | string | Printer to diagnose. Omit for the default printer. |
discover_printersScan the local network for 3D printers.| Parameter | Type | Description |
|---|---|---|
| timeout | number | Maximum scan duration in seconds (default 5). |
donate_infoGet crypto wallet addresses to tip/donate to the Kiln project.download_generated_modelDownload a completed generated model, check it, and open it on the stage.| Parameter | Type | Description |
|---|---|---|
| goal_id | string | 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 * | string | Job ID of a completed generation job. |
| output_path | string | Directory to save the file. Defaults to Kiln's own ``kiln_generated`` output folder. |
| provider | string | Provider that owns the job: ``"meshy"``, ``"gemini"``, ``"tripo3d"``, ``"stability"`` or ``"openscad"``. Default ``"meshy"``. |
download_modelDownload model file(s) from a marketplace to local storage.| Parameter | Type | Description |
|---|---|---|
| dest_dir | string | Local directory to save into. Default: Kiln's own downloads folder in the temp directory (the reply names the path). |
| download_all | boolean | When True, downloads all files for the model regardless of whether ``file_id`` is provided. |
| file_id | integer | Numeric file ID (from ``model_files`` results). If omitted and ``model_id`` is provided, downloads all files for the model. |
| file_name | string | Override the saved file name (single-file mode only). Defaults to the original name from the marketplace. |
| goal_id | string | 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. |
| model_id | string | Model/thing ID. When ``file_id`` is omitted, all files for this model are downloaded. |
| source | string | Marketplace source — ``"thingiverse"`` (default), ``"myminifactory"``, etc. |
encryption_statusCheck G-code encryption status and configuration.estimate_before_designEstimate print time, cost, and filament usage BEFORE generating a model.| Parameter | Type | Description |
|---|---|---|
| depth_mm | number | |
| electricity_rate | number | |
| filament_map | array | |
| height_mm | number | |
| infill_percent | number | |
| layer_height_mm | number | |
| material_fractions | string | |
| material_roles | string | |
| materials | string | |
| nozzle_mm | number | |
| printer_id | string | |
| printer_wattage | number | |
| template_id | string | |
| template_overrides | string | |
| tool_changer_addon | string | |
| wall_layers | integer | |
| width_mm | number |
estimate_costEstimate the cost of a print job from a G-code file (already-sliced only).| Parameter | Type | Description |
|---|---|---|
| electricity_rate | number | Cost per kWh in USD (default 0.12). |
| file_path * | string | Path to the G-code file. |
| material | string | Filament material (PLA, PETG, ABS, TPU, ASA, NYLON, PC, …). Leave empty to use what the file was sliced for, PLA when it names nothing; a named material prices every filament. |
| plate_number | integer | For a sliced 3MF of several plates, the plate to price (1 for the first). Omit to price every plate together; ``covers`` then says "all N plates". |
| printer_id | string | Optional registered printer the print is for; passed on with the file when kiln-pro is asked. |
| printer_wattage | number | Printer power consumption in watts (default 200). |
estimate_material_costEstimate material usage and cost for printing a mesh.| Parameter | Type | Description |
|---|---|---|
| cost_per_kg | number | |
| file_path * | string | |
| infill_pct | number | |
| material | string | |
| nozzle_mm | number | |
| wall_layers | integer |
estimate_mesh_print_timeRough print time estimate from mesh geometry (STL/OBJ/GLB; a STEP file is converted first).| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| layer_height_mm | number | |
| material | string | |
| print_speed_mm_s | number |
estimate_mesh_weightEstimate the printed weight of a model file (a STEP file is converted first).| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| infill_percent | number | |
| material | string | |
| wall_thickness_mm | number |
estimate_priceGet an instant price estimate before requesting a full quote.| Parameter | Type | Description |
|---|---|---|
| dimensions_x_mm | number | Bounding box X dimension in mm (alternative to volume). |
| dimensions_y_mm | number | Bounding box Y dimension in mm. |
| dimensions_z_mm | number | Bounding box Z dimension in mm. |
| quantity | integer | Number of copies (default 1). |
| technology * | string | Manufacturing technology: FDM, SLA, SLS, MJF, or DMLS. |
| volume_cm3 | number | Part volume in cubic centimeters (if known). |
estimate_print_cost_from_meshA tool that changes nothing the user owns.estimate_print_progressEstimate print progress and when the print running now will end.| Parameter | Type | Description |
|---|---|---|
| current_layer | integer | |
| elapsed_seconds | number | |
| printer_name * | string | |
| total_layers | integer |
estimate_print_timeEstimate print time and filament usage for a model.| Parameter | Type | Description |
|---|---|---|
| filament_map | array | |
| file_path * | string | |
| material | string | |
| mixed_nozzle_experiment | boolean | |
| placement | any | |
| plate_number | integer | |
| printer_id | string | |
| profile | string | |
| slicer_path | string | |
| soft_nozzle_confirmed | boolean |
estimate_structural_loadEstimate safe structural load for a cantilevered section.| Parameter | Type | Description |
|---|---|---|
| cantilever_length_mm * | number | Cantilever length in mm. |
| cross_section_mm2 * | number | Effective load-bearing cross section in mm^2. |
| load_across_layers | boolean | True when the load pulls the layer interfaces apart (load along the build/Z direction — the WEAK direction for FDM, so the figure is lower). False when the load acts within the layer planes (e.g. a bracket printed lying flat — the strong direction). If unsure, leave True: it is the conservative default. |
| material * | string | Material ID (e.g. "petg", "nylon", "polycarbonate"). |
estimate_support_materialEstimate support material needed for a mesh.| Parameter | Type | Description |
|---|---|---|
| file_path * | string |
estimate_supportsEstimate support volume for a 3D model.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to an STL or OBJ mesh file. |
| max_overhang_angle | number | Maximum overhang angle in degrees before supports are needed (default 45). |
| plate_number | integer | For a slicer project with several plates, which plate to check (1-based). Leave unset for a single-plate file; a project with several plates and none named is refused with the list of its plates. |
estimate_timelineEstimate order-to-delivery timeline with per-stage breakdown.| Parameter | Type | Description |
|---|---|---|
| country | string | Destination country code for shipping estimate fallback. |
| quantity | integer | Number of copies (larger quantities add production time). |
| shipping_days | integer | Known shipping days from a quote (optional). |
| technology * | string | Manufacturing technology (FDM, SLA, SLS, MJF, DMLS). |
export_audit_trailExport the safety audit trail as JSON or CSV.| Parameter | Type | Description |
|---|---|---|
| action | string | Filter by action: ``"executed"``, ``"blocked"``, ``"rate_limited"``, ``"auth_denied"``, ``"preflight_failed"`` or ``"dry_run"``. Empty for all. |
| end_time | number | Unix timestamp upper bound (0 = no filter). |
| format | string | Output format, ``"json"`` or ``"csv"``. |
| session_id | string | Filter by agent session ID. |
| start_time | number | Unix timestamp lower bound (0 = no filter). |
| tool_name | string | Filter by MCP tool name. |
export_model_3mfExport a mesh to 3MF format (preferred by modern slicers).| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| output_path | string |
extract_model_from_3mfExtract the embedded 3D model from a .3mf or .gcode.3mf file to STL.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| output_path | string |
failure_historyView failure history for a printer or failure type.| Parameter | Type | Description |
|---|---|---|
| failure_type | string | Filter by failure type. |
| limit | integer | Maximum records to return (default 20). |
| printer_name | string | Filter by printer name. |
find_design_templatesFind a ready-made parametric part for what the user is making.| Parameter | Type | Description |
|---|---|---|
| use_case * | string | What the user is making, in their words — e.g. "shelf bracket", "storage bin", "cable clip", "enclosure", "gear train", "hose adapter". |
find_printers_with_materialFind printers that have a specific material loaded.| Parameter | Type | Description |
|---|---|---|
| color | string | Optional colour filter. |
| material_type * | string | Material type to find (e.g. ``"PLA"``). |
| min_grams | number | Minimum remaining grams (default 0). |
find_similar_printsFind similar models in the print DNA knowledge base.| Parameter | Type | Description |
|---|---|---|
| complexity_score | number | Complexity (for fuzzy matching). |
| file_hash * | string | SHA-256 hash of the model file. |
| geometric_signature * | string | Geometric signature from fingerprinting. |
| geometric_signature_v2 | string | ``fingerprint_model``'s ``geometric_signature_v2``. Pass it: without it, models that merely share the older signature are reported as the same geometry. |
| limit | integer | Maximum results (default 10). |
| surface_area_mm2 | number | Surface area in mm^2 (for fuzzy matching). |
| threshold | number | Similarity threshold 0.0-1.0 (default 0.8). |
| volume_mm3 | number | Volume in mm^3 (for fuzzy matching). |
find_slicerCheck if a slicer (PrusaSlicer/OrcaSlicer) is available on the system.fingerprint_modelCompute a geometric fingerprint for a 3D model file.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the STL file to fingerprint. |
first_layer_statusCheck the status of a first-layer monitor.| Parameter | Type | Description |
|---|---|---|
| monitor_id * | string | The monitor ID returned by ``start_monitored_print``. |
fleet_analyticsGet fleet historical analytics: per-printer success rates, utilization, job throughput.fleet_job_statusRetired with ``fleet_submit_job``: a run across the fleet is followed with| Parameter | Type | Description |
|---|---|---|
| job_id * | string |
fleet_status_by_siteRetired: the fleet grouped by site is ``fleet_status(by_site=True)``.fleet_submit_jobRetired: sending prints across the fleet is ``plan_multi_copy_split``.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| idempotency_key | string | |
| material | string | |
| preview_token | string | |
| printer_name | string | |
| priority | string |
fleet_utilizationGet fleet utilization metrics — busy/idle/offline counts and utilization %.forecast_material_consumptionForecast when a material type will run out.| Parameter | Type | Description |
|---|---|---|
| days_ahead | integer | Days of history for rate estimation (default 30). |
| material_type * | string | Material type to forecast (e.g. ``"PLA"``). |
fulfillment_alertsCheck for fulfillment order alerts (stalled, failed, cancelled orders).fulfillment_cancelCancel a fulfillment order (if still cancellable).| Parameter | Type | Description |
|---|---|---|
| order_id * | string | Order ID to cancel. |
fulfillment_materialsList available materials from external manufacturing services.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of materials to return (default 50). |
| search | string | Filter materials whose name contains this term (word-boundary match, case-insensitive). E.g. ``"nylon"`` matches "Nylon 12" and "Glass-filled Nylon" but not "Carbonylon". |
| technology | string | Filter by manufacturing technology (word-boundary match, case-insensitive). Common values: ``"SLS"``, ``"FDM"``, ``"SLA"``, ``"MJF"``, ``"DMLS"``. Matches against both the technology field and the material name. |
fulfillment_orderPlace a manufacturing order based on a previous quote.| Parameter | Type | Description |
|---|---|---|
| business_tax_id | string | If the buyer is a registered business, their tax ID (EU VAT number, AU ABN, etc.). Businesses in the EU, UK, Australia, and Japan are tax-exempt via reverse charge — the tax line shows $0.00. |
| jurisdiction | string | Buyer's region (e.g. ``"US-CA"``, ``"DE"``, ``"AU"``). When provided, the response includes an accurate total with tax so the user sees exactly what they'll pay — no hidden fees. Use ``tax_jurisdictions`` to see all supported codes. On an install that orders through Kiln's servers, pass it to ``fulfillment_quote`` instead: the servers pin it to the quote and the order is taxed as the quote said. |
| payment_hold_id | string | PaymentIntent ID from the quote's ``payment_hold`` field. If provided, the previously authorized hold is captured before placing the order. This is the preferred payment flow. |
| preview_file_path | string | Exact model file path that was previewed. The preview token is validated against this file's bytes. |
| preview_token | string | Token from ``issue_preview_token`` after the rendered model preview was shown to and approved by the user. |
| quote_id * | string | Quote ID from ``fulfillment_quote``. |
| quote_token | string | The ``quote_token`` a quote through Kiln's servers returned. Optional: Kiln keeps it beside the quote, so ``quote_id`` alone works; when passed it must be that token. An order is placed only from a quote taken on this computer. |
| quoted_currency | string | Currency of ``quoted_price`` (default USD). |
| quoted_price | number | Total price returned by ``fulfillment_quote`` (the fee is calculated from it when no ``payment_hold_id`` is provided). Required when ``payment_hold_id`` is empty and a payment rail is configured. |
| shipping_address | object | Optional shipping contact/address dict for provider checkout. Keys: ``first_name``, ``last_name``, ``email``, ``phone``, ``street``, ``city``, ``postal_code``, ``country``; include ``state`` for US. |
| shipping_confirmation_token | string | Token from ``issue_shipping_confirmation_token`` after the contact and shipping address were shown to and approved by the user. |
| shipping_option_id | string | Shipping option ID from the quote's ``shipping_options`` list. |
| shipping_profile_name | string | Saved shipping profile name to use instead of passing ``shipping_address``. |
fulfillment_order_statusCheck the status of a fulfillment order.| Parameter | Type | Description |
|---|---|---|
| order_id * | string | Order ID from ``fulfillment_order``. |
fulfillment_quoteGet a manufacturing quote for a 3D model from Craftcloud.| Parameter | Type | Description |
|---|---|---|
| business_tax_id | string | The buyer's business tax id (EU VAT, AU ABN) for a reverse-charge order; pinned the same way. |
| file_path * | string | Absolute path to the model file (STL, 3MF, OBJ), or the ``artifact_token`` of a model still on Kiln's servers (a repair Kiln made, say). A model on the servers is priced exactly as it is, nothing is uploaded, and the reply's ``preview_file_path`` is the look to show the person and to name in ``fulfillment_order``. |
| jurisdiction | string | Buyer's tax region (e.g. ``"US-CA"``, ``"DE"``), for a total with tax. On an install that orders through Kiln's servers it is pinned to the quote here, so the order is taxed as the quote said; a local order service takes it at ``fulfillment_order`` instead. |
| keep_as_sent | boolean | Price the file exactly as it is, without standing it up first. Only when the person asks for it. |
| material_id * | string | Material ID from ``fulfillment_materials``. |
| quantity | integer | Number of copies to print (default 1). |
| shipping_country | string | ISO country code for shipping (default "US"). |
generate_and_printFull pipeline: generate a model, validate, slice, and upload (preview).| Parameter | Type | Description |
|---|---|---|
| filament_map | array | Only for a printer with more than one nozzle: the nozzle (1 for the first) each filament prints from, one number per filament in filament order. Leave unset to let the slicer choose; a map that does not fit is refused before slicing, as ``slice_model`` refuses it. |
| goal_id | string | 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. |
| keep_record | boolean | ``False`` only when the person asks for this print not to be kept ("print this privately", "don't keep a record of this"); never suggest it. Kiln then keeps nothing of the print once it ends, and the answer carries one line saying so. ``True`` keeps it, for a start a team's rule held (``TEAM_KEEPS_PRINTS``) after the person agreed. Omit otherwise: the print is kept the way the account says. |
| material | string | Filament material for the slice (``"PLA"``, ``"PETG"``, …). It sets the temperatures, melt rate and cooling, and its density weighs the print. Omitted, the spool the printer reports loaded answers, then PLA — ``slice.filament`` says which. |
| mixed_nozzle_experiment | boolean | The person has said yes, for this print, to a slice refused with ``MULTI_NOZZLE_MIXED_SIZES`` (nozzles of different sizes at once, an experiment). Only on their yes, each time; ``slice_model`` says what follows. |
| placement | any | Where the part goes when the plate still holds the last print: ``[x, y]`` in mm, a named region (``"front-left"``, ``"centre"``, …), or ``"keep"``. Omitted, an occupied plate refuses before slicing and lists the spots that would work. The clearance verdict is free; placing and starting a second print on an occupied plate is part of Kiln Pro. |
| printer_id | string | Optional printer model ID for bundled profile auto-selection (e.g. ``"prusa_mini"``). |
| printer_name | string | Target printer. Omit for the default printer. |
| profile | string | Slicer profile path. |
| prompt * | string | Text description of the 3D model to generate. |
| provider | string | Generation provider: ``"meshy"``, ``"gemini"``, ``"tripo3d"``, ``"stability"`` (cloud, each needs its own key) or ``"openscad"`` (local, keyless). Default ``"meshy"``. |
| soft_nozzle_confirmed | boolean | The owner has said to print anyway a slice refused with ``ABRASIVE_ON_SOFT_NOZZLE`` (an abrasive filament through a nozzle on record that is not wear-resistant). Only on their word, never on your own judgement. |
| style | string | Optional style hint for cloud providers. |
| timeout | integer | Max seconds to wait for generation (default 600). |
generate_modelGenerate a 3D model from a text prompt via external AI API (Meshy/etc).| Parameter | Type | Description |
|---|---|---|
| format | string | Desired output format (``"stl"``). Default: ``"stl"``. |
| material | string | Material the generated model is meant to print in, kept with the result for the slice; ``"PLA"`` by default. |
| prompt * | string | Text description (or OpenSCAD code for ``openscad``). |
| provider | string | Generation provider: ``"meshy"``, ``"gemini"``, ``"tripo3d"``, ``"stability"`` (cloud, each needs the person's own key) or ``"openscad"`` (local, keyless; the prompt must be OpenSCAD code). Default ``"meshy"``. |
| style | string | Optional style hint: ``"realistic"`` or ``"sculpture"`` for ``"meshy"``; ``"organic"``, ``"mechanical"`` or ``"decorative"`` for ``"gemini"``. Ignored by other providers. |
generate_model_from_imageMake a 3D model from a reference image.| Parameter | Type | Description |
|---|---|---|
| image_url * | string | URL to the reference image (PNG, JPG). Must be publicly accessible. |
| provider | string | Generation provider. Currently only ``"meshy"`` supports image-to-3D. |
| style | string | Optional style hint (``"realistic"`` or ``"sculpture"``). |
generate_model_with_providerGenerate a printable design via an external AI provider.| Parameter | Type | Description |
|---|---|---|
| build_volume_x | number | Build volume X in mm, all three or none. Used only when no printer is on record and ``printer_model`` names none Kiln knows; ``bed_used`` says which bed was used. |
| build_volume_y | number | Build volume Y in mm, all three or none. Used only when no printer is on record and ``printer_model`` names none Kiln knows; ``bed_used`` says which bed was used. |
| build_volume_z | number | Build volume Z in mm, all three or none. Used only when no printer is on record and ``printer_model`` names none Kiln knows; ``bed_used`` says which bed was used. |
| goal_id | string | 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. |
| layer_height | number | Printer layer height in mm. |
| material | string | Optional material target (e.g. ``"petg"``). |
| max_attempts | integer | Max corrective generation attempts. |
| max_overhang_angle | number | Supportless overhang threshold in degrees. Left out, the material's own limit. |
| nozzle_diameter | number | Printer nozzle diameter in mm. |
| output_dir | string | Optional directory for generated files. |
| printer_model | string | Optional printer model ID (e.g. ``"bambu_a1"``). |
| provider | string | ``auto``, ``gemini``, ``meshy``, ``tripo3d``, or ``stability``. |
| requirements * | string | Natural-language description of the part to create. |
| style | string | Optional style hint for providers that support it. |
| timeout | integer | Max seconds to wait per generation attempt. |
generate_print_certificateGenerate a print "birth certificate" for a 3D model.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the 3D model file. |
generate_template_variationsGenerate multiple variations of a parametric template.| Parameter | Type | Description |
|---|---|---|
| parameter_ranges | object | |
| printer_id | string | |
| template_id * | string | |
| variation_count | integer |
generate_textureCloud AI texture generation (requires Meshy API key + internet).| Parameter | Type | Description |
|---|---|---|
| mesh_path * | string | Absolute path to the mesh file (STL, OBJ, GLB, FBX). |
| prompt * | string | Text description of the desired texture (max 600 chars). E.g. "smooth matte wood grain with dark walnut finish". |
| provider | string | Generation provider. Currently only ``"meshy"`` supports retexturing. |
| style | string | Art style — ``"realistic"`` (default) or ``"2.5d-cartoon"``. |
generation_feedback_loop_statusCheck the status of a generation feedback loop.| Parameter | Type | Description |
|---|---|---|
| model_id * | string | The model ID of the feedback loop. |
generation_statusCheck the status of a model generation job.| Parameter | Type | Description |
|---|---|---|
| job_id * | string | Job ID returned by ``generate_model``. |
| provider | string | Provider that owns the job: ``"meshy"``, ``"gemini"``, ``"tripo3d"``, ``"stability"`` or ``"openscad"``. Default ``"meshy"``. |
get_active_materialGet the filament physically active in the AMS hardware right now (Bambu Lab).| Parameter | Type | Description |
|---|---|---|
| printer_name | string | Named printer to query. Omit to use the default printer. |
get_cached_designRetrieve a cached design by ID.| Parameter | Type | Description |
|---|---|---|
| design_id * | string | The cached design's identifier. |
get_cached_modelReturn details for a specific cached model.| Parameter | Type | Description |
|---|---|---|
| cache_id * | string | The unique cache ID of the model. |
get_community_insightGet aggregated print data for a model geometry.| Parameter | Type | Description |
|---|---|---|
| geometric_signature * | string | Geometric signature to look up (``fingerprint_model``'s ``geometric_signature``). |
| geometric_signature_v2 | string | The same mesh's ``geometric_signature_v2``, when known. Supplying it narrows the answer to THIS design: without it, prints of a different design that happens to share the older signature can be counted into the result. |
get_design_sourceRetrieve the parametric source code for a cached design.| Parameter | Type | Description |
|---|---|---|
| design_id * | string | ID of the cached design. |
get_design_template_infoLook up one design template by id — parametric part or pattern.| Parameter | Type | Description |
|---|---|---|
| template * | string | Template identifier, from either library — e.g. "shelf_bracket" (part) or "snap_fit_cantilever" (pattern). Use ``find_design_templates`` to search. |
get_fleet_material_summaryThe same answer as ``material_on_hand()``, for clients that call it by this name.get_joint_recommendationGet recommended clearance settings for a joint type and material pairing.| Parameter | Type | Description |
|---|---|---|
| joint_type * | string | Type of joint (e.g. ``"clearance_fit"``, ``"press_fit"``, ``"snap_fit"``). |
| material_a | string | Material of the first part (default ``"PLA"``). |
| material_b | string | Material of the second part (default ``"PLA"``). |
| mating | string | Optional shape hint for joints whose parts MOVE against each other (``"clearance_fit"``, ``"loose"``): ``"pin_in_bore"`` for a shaft or pin turning in a hole, ``"slot"`` for a tongue sliding in a groove, ``"planar_face"`` for two flat faces sliding, or ``"gear_flank"`` for meshing teeth. Omitted, the round-joint case is assumed, the reading that errs loose rather than tight. Ignored for joints that do not move. |
| printer_id | string | Optional printer identifier (e.g. ``"bambu_a1"``). For a joint whose parts MOVE, omitting it resolves the user's active printer rather than answering generically — pass it only to ask about a machine that is not the one they are set up on. For every other joint type, omitting it keeps the historic flat-range behaviour. |
get_material_consumption_historyGet material consumption history from completed prints.| Parameter | Type | Description |
|---|---|---|
| days | integer | Number of days to look back (default 30). |
get_material_design_profileCompatibility lookup for a material's public design floor.| Parameter | Type | Description |
|---|---|---|
| material * | string | Material ID (for example ``"pla"`` or ``"petg"``). |
get_model_print_historyGet all print attempts for a model.| Parameter | Type | Description |
|---|---|---|
| file_hash | string | SHA-256 hash of the model file, when known. |
| geometric_signature | string | v1 shape signature, if you already have one from ``fingerprint_model``. |
| geometric_signature_v2 | string | v2 shape signature, likewise. |
| material | string | Optional material filter for the success-rate metrics. Empty = all materials. |
| model_path | string | Path to the model file — the best input. Kiln fingerprints it and identifies the design itself. |
get_post_processing_guideGet bounded public post-processing help for one goal.| Parameter | Type | Description |
|---|---|---|
| goal | string | Optional: ``"surface_finish"``, ``"paint"``, ``"strengthen"``, or the name of one technique from the overview. Omit for the compact overview. |
| material * | string | Material ID (e.g. "pla", "abs", "petg", "nylon"). |
get_print_diagnosticGet a comprehensive print diagnostic combining multiple knowledge sources.| Parameter | Type | Description |
|---|---|---|
| material * | string | Material being printed (e.g. "pla", "petg"). |
| printer | string | Optional printer model for compatibility context (e.g. "ender3", "bambu_x1c"). |
| symptom * | string | What's going wrong (e.g. "stringing", "warping", "poor adhesion", "clog", "brittle"). |
get_printer_insightsQuery cross-printer learning insights for a specific printer.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum recent outcomes to include (default 20). |
| printer_name * | string | The printer to get insights for. |
get_recovery_gcode_stepsGet the G-code/commands for executing a recovery.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | The session_id to get steps for. |
get_recovery_planGet a recovery plan for a specific failure type.| Parameter | Type | Description |
|---|---|---|
| failure_type * | string | One of: spaghetti, layer_shift, adhesion_loss, nozzle_clog, stringing, thermal_runaway, power_loss, filament_runout, warping, unknown. |
| has_filament_sensor | boolean | Whether the printer has a filament runout sensor. |
| has_power_loss_recovery | boolean | Whether the printer supports power-loss recovery. |
| printer_name | string | Name of the affected printer. |
get_recovery_session_statusGet the current status of a recovery session.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | The session_id to query. |
get_recovery_statisticsGet historical recovery success rates and failure distribution.get_restock_suggestionsFind materials running low and generate purchase links.get_safety_profileGet the full safety profile for a specific printer model.| Parameter | Type | Description |
|---|---|---|
| printer_id * | string | Printer model identifier (e.g. ``"ender3"``, ``"bambu_x1c"``, ``"prusa_mk4"``). |
get_session_logReturn the full audit log for an agent session.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum records to return (default 100, max 500). |
| session_id | string | Session UUID to query. Omit to use the current session. |
get_skill_manifestGet the Kiln skill manifest for agent self-discovery.get_slicer_profileGet the full tuned slicer profile for a printer model.| Parameter | Type | Description |
|---|---|---|
| printer_id * | string | Printer model identifier (e.g. ``"ender3"``, ``"bambu_x1c"``, ``"creality_k1_max"``). |
get_startedQuick-start guide for AI agents using Kiln.| Parameter | Type | Description |
|---|---|---|
| chat_app | string | The chat app the person is writing to you from, when there is one (``telegram``, ``discord``, ``whatsapp``, ``imessage``, ``signal``, ``slack``, ``wechat``, etc.). Say it once per session; leave it out when they are typing in this app itself. Kiln uses it to lead with the way of approving a print that suits someone on a phone. |
give_print_codeRelay the code the person typed after Kiln showed one on their screen.| Parameter | Type | Description |
|---|---|---|
| words * | string | Exactly what the person typed, e.g. ``4821`` or ``4821 2h``. |
hand_back_printerTell Kiln you are taking a printer from here, so it can move on.| Parameter | Type | Description |
|---|---|---|
| printer_name | string | Printer to hand back. Omit to report only. |
health_checkReturn system health information for monitoring.hollow_mesh_modelCreate a hollow version of a mesh to save material.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| output_path | string | |
| wall_thickness_mm | number |
import_step_fileImport a STEP (.step/.stp) CAD file and convert it for Kiln's mesh pipeline.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the STEP/STP file. |
| goal_id | string | 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. |
| merge_bodies | boolean | Leave unset to follow the format: ``"auto"`` and ``"3mf"`` keep the parts, ``"stl"`` fuses them into one STL. ``True`` fuses every part into one STL (with ``"auto"`` too; refused with ``"3mf"``). ``False`` keeps them apart, one STL per part with ``"stl"``. |
| output_dir | string | Directory for output files. Defaults to the STEP file's parent directory. |
| output_format | string | ``"auto"`` (default — 3MF when colour or multiple bodies are present, else STL), ``"stl"``, or ``"3mf"``. |
improve_generation_promptGenerate an improved prompt from feedback.| Parameter | Type | Description |
|---|---|---|
| enforce_sanity | boolean | When True (default), refuse the response if the prompt sanity gate fails. Pass False to receive a contradictory prompt anyway — useful when the agent intends to repair it before sending to the generator. |
| failure_mode | string | Optional failure mode if the model was printed and failed (e.g. ``"adhesion"``, ``"spaghetti"``). |
| file_path | string | Optional path to the STL file for structural analysis. When provided, the tool also analyzes structural risks and folds them into the improved prompt. |
| has_bridges | boolean | Whether bridges were detected. |
| iteration | integer | Which retry iteration this is. |
| max_overhang_angle | number | Maximum overhang angle detected. |
| min_wall_thickness | number | Minimum wall thickness detected. |
| original_prompt * | string | The original generation prompt. |
infer_print_settingsInfer optimal slicer settings from structural analysis.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| material | string |
insert_into_scadInsert code into an OpenSCAD module without replacing it.| Parameter | Type | Description |
|---|---|---|
| code_to_insert * | string | OpenSCAD code to insert. |
| module_name * | string | Module to modify (e.g. "base_plate"). |
| position | string | "end" (before closing brace) or "start" (after opening brace). Default: "end". |
| scad_code * | string | OpenSCAD source code. |
issue_shipping_confirmation_tokenIssue a single-use token after the user confirms shipping details.| Parameter | Type | Description |
|---|---|---|
| overwrite_saved_profile | boolean | Replace an existing profile with the same name when saving. |
| quote_id * | string | Quote ID from ``fulfillment_quote``. |
| save_profile_decision | string | Required when ``shipping_address`` is provided directly. Pass ``"save"`` only after the user says yes; pass ``"do_not_save"`` after the user says no. |
| save_profile_name | string | Profile name to save when ``save_profile_decision`` is ``"save"``. |
| set_default_profile | boolean | Make the saved profile the default. |
| shipping_address | object | Explicit full shipping address. |
| shipping_option_id | string | Shipping option ID selected from the quote. |
| shipping_profile_name | string | Saved profile name to use instead of passing ``shipping_address``. |
| ttl_seconds | integer | Token lifetime, default 10 minutes. |
iterate_decorationCreate a new version of a saved decoration, archiving the current one (Kiln Pro).| Parameter | Type | Description |
|---|---|---|
| content_path | string | |
| depth_mm | number | |
| image_style | string | |
| mode | string | |
| name * | string | |
| notes | string |
iterate_designAutomated design iteration: generate -> validate -> improve -> regenerate.| Parameter | Type | Description |
|---|---|---|
| goal_id | string | |
| material | string | |
| max_iterations | integer | |
| printer_model | string | |
| prompt * | string | |
| provider | string |
job_historyGet history of completed, failed, and cancelled print jobs.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of jobs to return (default 20, max 100). |
| status | string | Optional filter by status -- "completed", "failed", or "cancelled". Omit to show all finished jobs. |
kiln_healthGet a health check for the Kiln system.kiln_signinStart a Kiln sign-in via OAuth.kiln_signin_pollCheck whether a sign-in started by ``kiln_signin`` is done.| Parameter | Type | Description |
|---|---|---|
| device_code * | string |
kiln_spend_caps_confirm_changeConfirm a cap change with the person's six-digit code (step 2 of 2).| Parameter | Type | Description |
|---|---|---|
| challenge_id * | string | From ``kiln_spend_caps_request_change``. |
| totp_code * | string | The six-digit code the PERSON reads from their own authenticator app. Never produce or guess it. |
kiln_spend_caps_confirm_order_approvalConfirm a one-order approval with the person's code (step 2 of 2).| Parameter | Type | Description |
|---|---|---|
| challenge_id * | string | From ``kiln_spend_caps_request_order_approval``. |
| totp_code * | string | The six-digit code the PERSON reads from their own authenticator app. Never produce or guess it. |
kiln_spend_caps_request_changeAsk to raise the per-order and/or monthly spend cap (step 1 of 2).| Parameter | Type | Description |
|---|---|---|
| monthly_dollars | number | New monthly cap; leave unset to keep it. |
| per_order_dollars | number | New per-order cap; leave unset to keep it. |
| reason | string | Optional note kept with the change. |
kiln_spend_caps_request_order_approvalAsk to approve ONE order over the cap (step 1 of 2).| Parameter | Type | Description |
|---|---|---|
| max_dollars * | number | The order total being approved, in dollars. |
| order_id * | string | The order Kiln refused. |
kiln_spend_caps_showShow your current Kiln spend caps and whether chat may change them.list_available_materialsList all available 3D printing materials with properties.list_cached_designsList cached designs, optionally filtered by material.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results. |
| material | string | Filter by material (e.g. "PLA", "PETG"). |
list_cached_modelsList all models in the local cache, newest first.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum results (default 50). |
| offset | integer | Number of entries to skip for pagination. |
list_credentialsList all stored credentials (metadata only, no plaintext).list_decorationsList all saved decorations in the library.| Parameter | Type | Description |
|---|---|---|
| category | string | |
| content_type | string | |
| tag | string |
list_design_componentsList available pre-built OpenSCAD components from bundled libraries.| Parameter | Type | Description |
|---|---|---|
| category | string | Optional filter by category. If not provided, lists all available components. |
list_design_materialsList public material identifiers and safety/process summaries.list_design_templates_catalogBrowse the whole design-template library, both kinds.list_fleet_sitesList all fleet sites/locations with printer counts.list_generation_providersList available text-to-3D generation providers.list_model_categoriesList available Thingiverse content categories.list_multi_material_addonsList available multi-material add-on systems for 3D printers.| Parameter | Type | Description |
|---|---|---|
| printer_id | string |
list_print_pipelinesList all available pre-validated print pipelines.list_printer_variantsShow the curated hardware variants available for a printer.| Parameter | Type | Description |
|---|---|---|
| printer_model * | string | Printer identifier (e.g. ``"ender3"``). |
list_published_modelsList models that have been published to marketplaces.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results (default 50). |
| marketplace | string | Filter by marketplace name (optional). |
list_safety_profilesList the printers Kiln has a safety profile for, by id and name.list_shipping_profilesList saved local shipping profiles.| Parameter | Type | Description |
|---|---|---|
| include_addresses | boolean | Include full contact/address fields. Defaults to ``False`` so listing profiles does not expose personal details unless the user is actively reviewing them. |
list_slicer_profilesList all bundled slicer profiles for supported printers.list_trusted_printersReturn the list of trusted printer hostnames/IPs.lock_safety_profileLock a safety profile so agents cannot modify its limits.| Parameter | Type | Description |
|---|---|---|
| printer_model * | string | Profile identifier to lock (e.g. "ender3"). |
marketplace_diagnosticsRun connectivity checks against all configured marketplaces.marketplace_statusCheck which 3D model marketplaces are connected and available.match_design_componentsFind pre-built library components matching a design description.| Parameter | Type | Description |
|---|---|---|
| description * | string | Natural language description of the design. |
match_design_requirementsIdentify which functional requirements apply to a design task.| Parameter | Type | Description |
|---|---|---|
| description * | string | What the object needs to do (e.g. "outdoor hook that holds a heavy hanging planter"). |
material_on_handWhat material is on hand: every spool on record, on the shelf and loaded.| Parameter | Type | Description |
|---|---|---|
| printer_name | string | The printer to answer for. Omit for the only printer, or for every printer at once. |
merge_mesh_filesCombine multiple STL files into a single mesh file (simple concatenation).| Parameter | Type | Description |
|---|---|---|
| file_paths * | array | |
| output_path * | string |
mesh_quality_scorecardAssess a model — a review in words for a mesh, an intake| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| material | string | |
| printer_id | string |
mirror_mesh_modelMirror (reflect) a mesh along an axis.| Parameter | Type | Description |
|---|---|---|
| axis | string | |
| file_path * | string | |
| output_path | string |
model_detailsGet full details for a Thingiverse model.| Parameter | Type | Description |
|---|---|---|
| thing_id * | integer | Numeric thing ID (from ``search_models`` results). |
The first 200 of 305 tools, in name order.
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 6.3K words.
- ✓License declaredThe repository declares the AGPL-3.0 license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 486 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiokiln/src/kiln/startup_failure.py:3
- Starts other programs
- 3 callskiln/src/kiln/run_program.py:72, npm-launcher/bin/kiln3d.js:24, npm-launcher/bin/kiln3d.js:28
- Outbound network calls
- 79 callskiln/src/kiln/_pro_order_bridge.py:285, kiln/src/kiln/account_plan.py:184, kiln/src/kiln/agent_loop.py:569
- Writes or deletes files
- 404 callskiln/setup.py:33, kiln/src/kiln/_pro_catalogue_bridge.py:326, kiln/src/kiln/_pro_catalogue_bridge.py:327
- Lockfile
- None in the repository
Pattern matches on the source text of 486 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 6.3K words, fetched yesterday. The original in the repository is authoritative.
Read full README