Skip to main content
Glama

add_feature_during_print

Adds a new shape to a paused 3D print and opens an interactive 3D stage to orbit, zoom, and verify placement before resuming.

Instructions

Add a new shape to a paused print (Pro). 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": {
      "feature": "<feature>",
      "gcode_path": "<gcode_path>",
      "current_layer": "<current_layer>"
    },
    "name": "add_feature_during_print"
  }
}

Input Schema

NameRequiredDescriptionDefault
orientNo``"auto"`` / ``"identity"`` / ``"upright"``. ``"auto"`` lets the slicer choose. Default: "auto".
featureYesNormie spec ("a small top hat", "/path/to/hat.stl", "library:halo_v2", etc.).
bed_tempNoBed temperature for the same three, read and checked the same way. The feature slice heats the bed itself, so this is the bed the rest of the print runs at.
placementNo``[x, y]`` bed coords where the feature's XY centroid lands. ``None`` = resolved bed centre.
gcode_pathYesOriginal sliced .gcode of the in-flight job.
output_dirNoEngine session directory. Default: "".
pause_z_mmNoPhysical Z of the pause point in mm. REQUIRED if the source gcode's layer markers don't carry Z comments; the engine will error with ``FEATURE_PAUSE_Z_UNKNOWN`` in that case if this is left ``None``.
hotend_tempNoNozzle temperature for the feature slice, the resume pre-heat and Bambu 3MF metadata. Leave unset to use the print's own (read off ``gcode_path`` at the pause). A value that differs from the print's own is kept and said in ``warnings``.
printer_nameNoPrinter identifier. Default: "default".
current_layerYes1-indexed layer the printer is paused at.
filament_typeNoThe print's material, for Bambu 3MF metadata and material-routing provenance. Leave it out and Kiln reads the print's own material; when nothing says which, the call is refused (``PRINT_MATERIAL_UNKNOWN``).
printer_z_knownNoREQUIRED ``True`` (same safety gate as ``decorate_during_print``). Default: false.
source_3mf_pathNoOptional original .3mf for thumbnail pass-through. Default: "".
target_ams_slotNoOptional 0-indexed AMS slot that must feed the injected feature. ``-1`` means no explicit material route was requested. Default: -1.
parent_design_idNoOptional design this print derives from, recorded in the session's provenance. Default: "".
print_model_pathNoPath to the model this print was sliced from. Given, the rest of the print is kept and ``feature`` is read in this model's coordinates. Default: "".
printer_bed_sizeNoExplicit ``[x, y]`` in mm. If omitted, Kiln resolves ``printer_name`` through bundled printer intelligence and fails closed when the bed size is unknown.
require_ams_matchNoWhen True, refuse to emit the feature resume unless AMS status proves the requested material route. Default: true.
slicer_config_iniNoPath to a prusaslicer .ini. Empty = use the slicer's default / installed profile discovered by the auto-discovery. Default: "".
target_filament_typeNoOptional expected tray material. Without an explicit slot, Kiln resolves exactly one matching loaded AMS tray from ``ams_status`` or fails closed. Default: "".
first_layer_height_mmNoFirst-layer height of the sliced feature — the slicer rests this on top of the paused print's top face. Default: 0.2.
replace_rest_of_printNoThe person agreed that the layers the print still had will not be printed. Left False, a print with layers left is refused with what would be lost. Default: false.
target_filament_colorNoOptional expected tray color (``#RRGGBB`` or a common name like ``blue``). Default: "".
manual_material_change_confirmedNoNon-Bambu safety gate for material/color changes. Set True only after the target material is loaded in the active feed path; otherwise Kiln refuses before emitting an artifact. Default: false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.6.0
    • addedInput schema / properties / print_model_path
      Added value: +{
      +  "description": "Path to the model this print was sliced from.  Given, the rest of the print is kept and ``feature`` is read in this model's coordinates. Default: \"\".",
      +  "title": "Print Model Path",
      +  "type": "string"
      +}
    • addedInput schema / properties / replace_rest_of_print
      Added value: +{
      +  "description": "The person agreed that the layers the print still had will not be printed.  Left False, a print with layers left is refused with what would be lost. Default: false.",
      +  "title": "Replace Rest Of Print",
      +  "type": "boolean"
      +}
  2. Changed22 schema fields changedv1.5.1
    • changedInput schema / properties / bed_temp / description
      Previous value: -"Default: 65."New value: +"Bed temperature for the same three, read and checked the same way.  The feature slice heats the bed itself, so this is the bed the rest of the print runs at."
    • addedInput schema / properties / current_layer / description
      Added value: +"1-indexed layer the printer is paused at."
    • addedInput schema / properties / feature / description
      Added value: +"Normie spec (\"a small top hat\", \"/path/to/hat.stl\", \"library:halo_v2\", etc.)."
    • changedInput schema / properties / filament_type / description
      Previous value: -"Default: \"PLA\"."New value: +"The print's material, for Bambu 3MF metadata and material-routing provenance.  Leave it out and Kiln reads the print's own material; when nothing says which, the call is refused (``PRINT_MATERIAL_UNKNOWN``)."
    • changedInput schema / properties / first_layer_height_mm / description
      Previous value: -"Default: 0.2."New value: +"First-layer height of the sliced feature — the slicer rests this on top of the paused print's top face. Default: 0.2."
    • addedInput schema / properties / gcode_path / description
      Added value: +"Original sliced .gcode of the in-flight job."
    • changedInput schema / properties / hotend_temp / description
      Previous value: -"Default: 220."New value: +"Nozzle temperature for the feature slice, the resume pre-heat and Bambu 3MF metadata.  Leave unset to use the print's own (read off ``gcode_path`` at the pause). A value that differs from the print's own is kept and said in ``warnings``."
    • changedInput schema / properties / manual_material_change_confirmed / description
      Previous value: -"Default: false."New value: +"Non-Bambu safety gate for material/color changes. Set True only after the target material is loaded in the active feed path; otherwise Kiln refuses before emitting an artifact. Default: false."
    • changedInput schema / properties / orient / description
      Previous value: -"Default: \"auto\"."New value: +"``\"auto\"`` / ``\"identity\"`` / ``\"upright\"``. ``\"auto\"`` lets the slicer choose. Default: \"auto\"."
    • changedInput schema / properties / output_dir / description
      Previous value: -"Default: \"\"."New value: +"Engine session directory. Default: \"\"."
    • changedInput schema / properties / parent_design_id / description
      Previous value: -"Default: \"\"."New value: +"Optional design this print derives from, recorded in the session's provenance. Default: \"\"."
    • addedInput schema / properties / pause_z_mm / description
      Added value: +"Physical Z of the pause point in mm. REQUIRED if the source gcode's layer markers don't carry Z comments; the engine will error with ``FEATURE_PAUSE_Z_UNKNOWN`` in that case if this is left ``None``."
    • addedInput schema / properties / placement / description
      Added value: +"``[x, y]`` bed coords where the feature's XY centroid lands.  ``None`` = resolved bed centre."
    • addedInput schema / properties / printer_bed_size / description
      Added value: +"Explicit ``[x, y]`` in mm.  If omitted, Kiln resolves ``printer_name`` through bundled printer intelligence and fails closed when the bed size is unknown."
    • changedInput schema / properties / printer_name / description
      Previous value: -"Default: \"default\"."New value: +"Printer identifier. Default: \"default\"."
    • changedInput schema / properties / printer_z_known / description
      Previous value: -"Default: false."New value: +"REQUIRED ``True`` (same safety gate as ``decorate_during_print``). Default: false."
    • changedInput schema / properties / require_ams_match / description
      Previous value: -"Default: true."New value: +"When True, refuse to emit the feature resume unless AMS status proves the requested material route. Default: true."
    • changedInput schema / properties / slicer_config_ini / description
      Previous value: -"Default: \"\"."New value: +"Path to a prusaslicer .ini. Empty = use the slicer's default / installed profile discovered by the auto-discovery. Default: \"\"."
    • changedInput schema / properties / source_3mf_path / description
      Previous value: -"Default: \"\"."New value: +"Optional original .3mf for thumbnail pass-through. Default: \"\"."
    • changedInput schema / properties / target_ams_slot / description
      Previous value: -"Default: -1."New value: +"Optional 0-indexed AMS slot that must feed the injected feature. ``-1`` means no explicit material route was requested. Default: -1."
    • changedInput schema / properties / target_filament_color / description
      Previous value: -"Default: \"\"."New value: +"Optional expected tray color (``#RRGGBB`` or a common name like ``blue``). Default: \"\"."
    • changedInput schema / properties / target_filament_type / description
      Previous value: -"Default: \"\"."New value: +"Optional expected tray material. Without an explicit slot, Kiln resolves exactly one matching loaded AMS tray from ``ams_status`` or fails closed. Default: \"\"."
  3. Addedv1.5.0

TDQS

C2.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is partly given. The description does add genuine non-annotated behavior — that success opens an interactive orbit/zoom panel in MCP Apps hosts, that a browser stage link is attached otherwise, and that oversized meshes get decimated — which the agent could not learn from structured fields. However, it omits the refusal/fail-closed paths and, notably, never mentions that layers the print still had may be discarded (replace_rest_of_print), a destructive capability that sits awkwardly with destructiveHint=false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The operation itself gets one front-loaded sentence, which is good, but the remainder is a duplicated explanation of the same inline 3D stage — once parenthetically in the first paragraph and again under an 'INLINE 3D STAGE' heading. The closing 'PNG preview is the floor, not the whole experience' is marketing filler that does not help an agent invoke the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 24-parameter mutation engine call with no output schema, the schema covers the inputs thoroughly, so the description's remaining obligations are the return artifact and failure modes — neither is addressed (no mention of the emitted gcode/artifact, session directory output, or warnings). Coverage of side effects on the UI is unusually complete, but a tool that emits files should say what it produces.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% across all 24 parameters, so the schema already carries the semantics and the baseline of 3 applies. The description contributes essentially nothing parameter-specific beyond the vague word 'shape' for the feature argument; it does not clarify the interaction between feature, print_model_path, and placement coordinates.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource ('Add a new shape') and a specific target state ('to a paused print'), plus a Pro tier note. It clearly differs from mesh-editing siblings, but it never names or contrasts the closest alternatives in its own namespace (decorate_during_print, deboss_during_print), so the agent must infer the distinction from the names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the phrase 'paused print'; there is no explicit when-to-use vs when-to-use-another-tool statement, no mention of the decorate/deboss alternatives, and no surfaced prerequisites such as the printer_z_known safety gate or the replace_rest_of_print agreement, all of which live only in the schema.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools