Skip to main content
Glama

start_print

Destructive

Starts printing an uploaded file after automatic pre-flight safety checks, blocking the job when a check fails so the agent can diagnose and fix the issue.

Instructions

Start printing a file already uploaded to the printer (file must exist on printer).

``version_id`` / ``design_id`` / ``branch_id`` name the kept design the
file came from, when there is one, so the print's record lands on that
version's history; a file that is not a Kiln design passes none.

Use ``upload_file`` first, or use ``slice_and_print`` / ``run_quick_print``
to slice + upload + print in one step. Automatically runs pre-flight safety
checks before starting.  If any check fails the print is blocked and the
check results are returned so the agent can diagnose and fix the issue.

Args:
    file_name: Name or path of the file as shown by ``printer_files()``.
    use_ams: AMS filament feeding mode (Bambu only).  Tri-state:

        - ``"auto"`` (default): auto-detect AMS by probing the printer.
          If an AMS is connected with loaded trays, enables AMS
          automatically and selects the first loaded slot if no
          ``ams_mapping`` is provided.  Falls back to external spool
          if no AMS is detected.
        - ``"true"``: Force AMS on.  Use when you know AMS is
          connected.
        - ``"false"``: Force AMS off.  Use external spool.

    ams_mapping: The tray each extruder feeds from (Bambu only), by
        the printer's own tray id: ``unit * 4 + slot`` on a chained
        unit (unit B's first slot is 4), the unit id itself on an AMS
        HT (HT-A is 128).  ``ams_status()`` lists each tray's
        ``tray_id`` and its Studio name (``B1``, ``HT-A``).  Defaults to
        ``[0]`` when AMS feeding is on and ``[]`` (external spool) when
        it is off.  Use ``-1`` for unused positions.
    timelapse: Record a timelapse video (Bambu only).  Default ``False``.
    bed_leveling: Run automatic bed leveling before print (Bambu only).
        Default ``True``.  Set ``False`` to skip for reprints (~2 min saved).
    flow_cali: Run flow calibration (Bambu only).  Default ``True``.
    vibration_cali: Run vibration/resonance calibration (Bambu only).
        Default ``True``.
    layer_inspect: Enable first-layer lidar inspection pause (Bambu only).
        Default ``False``.
    nozzle_clog_detect: Enable nozzle clumping / blob detection by
        probing (Bambu only).  Default ``True``.  Set ``False`` to
        bypass HMS 0300-8014 errors on models that trigger false
        positives (thin first-layer geometry, certain grip/case models).
        Disables the A1/A1-mini eddy-current clump probe (first after
        the layer-3 walls, then once per ~8 g of filament; A1 series only).
        Kiln never turns the probe ON: with the default nothing is sent
        and the printer's own screen switch governs -- ``printer_status``
        and ``preflight_check`` read that switch and, when it is on,
        repeat the printer's own warning that the probe leaks onto the
        model unless the slice carries a purge tower.  ``False`` is not
        a per-print override: it turns the printer's own switch OFF --
        so Kiln reads the switch first and, when it
        found it ON, turns it back on when the print ends (or at once if
        the print never starts).  Never forced on for a printer whose
        switch was off or could not be read.
    restore_nozzle_detection: With ``nozzle_clog_detect=False``, put the
        printer's own switch back on when the print ends (default
        ``True``).  ``False`` leaves it off on purpose, for a batch that
        wants the probe off across several prints.
    bed_type: Bed surface type (Bambu only): ``"auto"`` (default),
        ``"textured_plate"``, ``"hot_plate"`` (smooth PEI),
        ``"cool_plate"``, ``"eng_plate"`` or ``"supertack_plate"``.
    plate_number: Plate index in multi-plate 3MF files (Bambu only).
        Default ``1``.
    resume_from_paused: When ``True``, the pre-flight ``printer_idle``
        check accepts ``paused`` as a valid state.  Use this when
        starting a resume-mode 3MF (mid-print decoration swap):
        the printer is paused, you upload the resume 3MF, and then
        ``start_print`` it with this flag.  The file is treated as
        a fresh print from the firmware's POV — the resume gcode
        carries its own preamble (heat → safety lift → home X/Y →
        travel → descend to resume Z).  Default ``False``.

        Auto-detected for files whose name contains ``_resume_``
        (case-insensitive) or starts with ``transformed_resume`` /
        ``original_resume`` — these are the conventional names
        produced by ``decorate_during_print`` and ``get_print_before_edit``.
    skip_preheat_reassert: When the file is a resume-mode 3MF, the
        tool re-asserts the printer's pre-start hotend + bed targets
        immediately after the MQTT start command, because Bambu's
        resume 3MFs strip the M140/M190 pre-heat block (the original
        print already heated the bed) and the firmware's
        cool-on-new-job policy will otherwise drop the bed to 0
        before the resume preamble executes.  Set ``True`` to
        disable this safety net.  Default ``False``.
    printer_name: Which printer to start the job on.  Omit for the
        default printer.  Everything the start decides — the pre-flight
        verdict, the preview token's printer, the emergency latch,
        the nozzle-wear consult, the watchdog that will be watching —
        follows the named machine, so upload the file to that same
        printer first (``upload_file(..., printer_name=...)``).
    preview_token: Token from ``issue_preview_token`` proving this file
        was shown to the person before printing.  Required beside their
        go-ahead: a print is shown to its owner before it starts; a resume
        of a paused print is exempt.
    version_id: The kept design version this file came from, so the
        print's record lands on that version's history.  A file that is
        not a Kiln design passes none.
    design_id: The design that version belongs to; passed with
        ``version_id``.
    branch_id: The branch that version is on; passed with ``version_id``.

Branch on ``print_start`` — one field, three values:

- ``"started"``: the printer, asked after the command, is printing.
- ``"accepted"``: the command was sent and not refused, and the machine
  has not confirmed it is running.  Normal during the start-up transient
  (homing, AMS load, calibration).  Call ``printer_status()`` to watch.
- ``"failed"``: the printer, asked after the command, is idle or errored
  — it did not take the job.

``success`` is ``False`` only for ``"failed"``.

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": {
      "file_name": "<file_name>"
    },
    "name": "start_print"
  }
}

Input Schema

NameRequiredDescriptionDefault
use_amsNoAMS filament feeding mode (Bambu only). Tri-state: - ``"auto"`` (default): auto-detect AMS by probing the printer. If an AMS is connected with loaded trays, enables AMS automatically and selects the first loaded slot if no ``ams_mapping`` is provided. Falls back to external spool if no AMS is detected. - ``"true"``: Force AMS on. Use when you know AMS is connected. - ``"false"``: Force AMS off. Use external spool. Default: "auto".
bed_typeNoBed surface type (Bambu only): ``"auto"`` (default), ``"textured_plate"``, ``"hot_plate"`` (smooth PEI), ``"cool_plate"``, ``"eng_plate"`` or ``"supertack_plate"``. Default: "auto".
branch_idNoThe branch that version is on; passed with ``version_id``.
design_idNoThe design that version belongs to; passed with ``version_id``.
file_nameYesName or path of the file as shown by ``printer_files()``.
flow_caliNoRun flow calibration (Bambu only). Default ``True``. Default: true.
timelapseNoRecord a timelapse video (Bambu only). Default ``False``. Default: false.
version_idNoThe kept design version this file came from, so the print's record lands on that version's history. A file that is not a Kiln design passes none.
ams_mappingNoThe tray each extruder feeds from (Bambu only), by the printer's own tray id: ``unit * 4 + slot`` on a chained unit (unit B's first slot is 4), the unit id itself on an AMS HT (HT-A is 128). ``ams_status()`` lists each tray's ``tray_id`` and its Studio name (``B1``, ``HT-A``). Defaults to ``[0]`` when AMS feeding is on and ``[]`` (external spool) when it is off. Use ``-1`` for unused positions.
bed_levelingNoRun automatic bed leveling before print (Bambu only). Default ``True``. Set ``False`` to skip for reprints (~2 min saved). Default: true.
plate_numberNoPlate index in multi-plate 3MF files (Bambu only). Default ``1``. Default: 1.
printer_nameNoWhich printer to start the job on. Omit for the default printer. Everything the start decides — the pre-flight verdict, the preview token's printer, the emergency latch, the nozzle-wear consult, the watchdog that will be watching — follows the named machine, so upload the file to that same printer first (``upload_file(..., printer_name=...)``).
layer_inspectNoEnable first-layer lidar inspection pause (Bambu only). Default ``False``. Default: false.
preview_tokenNoToken from ``issue_preview_token`` proving this file was shown to the person before printing. Required beside their go-ahead: a print is shown to its owner before it starts; a resume of a paused print is exempt.
vibration_caliNoRun vibration/resonance calibration (Bambu only). Default ``True``. Default: true.
nozzle_clog_detectNoEnable nozzle clumping / blob detection by probing (Bambu only). Default ``True``. Set ``False`` to bypass HMS 0300-8014 errors on models that trigger false positives (thin first-layer geometry, certain grip/case models). Disables the A1/A1-mini eddy-current clump probe (first after the layer-3 walls, then once per ~8 g of filament; A1 series only). Kiln never turns the probe ON: with the default nothing is sent and the printer's own screen switch governs -- ``printer_status`` and ``preflight_check`` read that switch and, when it is on, repeat the printer's own warning that the probe leaks onto the model unless the slice carries a purge tower. ``False`` is not a per-print override: it turns the printer's own switch OFF -- so Kiln reads the switch first and, when it found it ON, turns it back on when the print ends (or at once if the print never starts). Never forced on for a printer whose switch was off or could not be read. Default: true.
resume_from_pausedNoWhen ``True``, the pre-flight ``printer_idle`` check accepts ``paused`` as a valid state. Use this when starting a resume-mode 3MF (mid-print decoration swap): the printer is paused, you upload the resume 3MF, and then ``start_print`` it with this flag. The file is treated as a fresh print from the firmware's POV — the resume gcode carries its own preamble (heat → safety lift → home X/Y → travel → descend to resume Z). Default ``False``. Auto-detected for files whose name contains ``_resume_`` (case-insensitive) or starts with ``transformed_resume`` / ``original_resume`` — these are the conventional names produced by ``decorate_during_print`` and ``get_print_before_edit``. Default: false.
skip_preheat_reassertNoWhen the file is a resume-mode 3MF, the tool re-asserts the printer's pre-start hotend + bed targets immediately after the MQTT start command, because Bambu's resume 3MFs strip the M140/M190 pre-heat block (the original print already heated the bed) and the firmware's cool-on-new-job policy will otherwise drop the bed to 0 before the resume preamble executes. Set ``True`` to disable this safety net. Default ``False``. Default: false.
restore_nozzle_detectionNoWith ``nozzle_clog_detect=False``, put the printer's own switch back on when the print ends (default ``True``). ``False`` leaves it off on purpose, for a batch that wants the probe off across several prints. Default: true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changedv1.5.1
    • addedInput schema / properties / ams_mapping / description
      Added value: +"The tray each extruder feeds from (Bambu only), by the printer's own tray id: ``unit * 4 + slot`` on a chained unit (unit B's first slot is 4), the unit id itself on an AMS HT (HT-A is 128).  ``ams_status()`` lists each tray's ``tray_id`` and its Studio name (``B1``, ``HT-A``).  Defaults to ``[0]`` when AMS feeding is on and ``[]`` (external spool) when it is off.  Use ``-1`` for unused positions."
    • changedInput schema / properties / bed_leveling / description
      Previous value: -"Default: true."New value: +"Run automatic bed leveling before print (Bambu only). Default ``True``.  Set ``False`` to skip for reprints (~2 min saved). Default: true."
    • changedInput schema / properties / bed_type / description
      Previous value: -"Default: \"auto\"."New value: +"Bed surface type (Bambu only): ``\"auto\"`` (default), ``\"textured_plate\"``, ``\"hot_plate\"`` (smooth PEI), ``\"cool_plate\"``, ``\"eng_plate\"`` or ``\"supertack_plate\"``. Default: \"auto\"."
    • addedInput schema / properties / branch_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The branch that version is on; passed with ``version_id``.",
      +  "title": "Branch Id"
      +}
    • addedInput schema / properties / design_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The design that version belongs to; passed with ``version_id``.",
      +  "title": "Design Id"
      +}
    • addedInput schema / properties / file_name / description
      Added value: +"Name or path of the file as shown by ``printer_files()``."
    • changedInput schema / properties / flow_cali / description
      Previous value: -"Default: true."New value: +"Run flow calibration (Bambu only).  Default ``True``. Default: true."
    • changedInput schema / properties / layer_inspect / description
      Previous value: -"Default: false."New value: +"Enable first-layer lidar inspection pause (Bambu only). Default ``False``. Default: false."
    • changedInput schema / properties / nozzle_clog_detect / description
      Previous value: -"Default: true."New value: +"Enable nozzle clumping / blob detection by probing (Bambu only).  Default ``True``.  Set ``False`` to bypass HMS 0300-8014 errors on models that trigger false positives (thin first-layer geometry, certain grip/case models). Disables the A1/A1-mini eddy-current clump probe (first after the layer-3 walls, then once per ~8 g of filament; A1 series only). Kiln never turns the probe ON: with the default nothing is sent and the printer's own screen switch governs -- ``printer_status`` and ``preflight_check`` read that switch and, when it is on, repeat the printer's own warning that the probe leaks onto the model unless the slice carries a purge tower.  ``False`` is not a per-print override: it turns the printer's own switch OFF -- so Kiln reads the switch first and, when it found it ON, turns it back on when the print ends (or at once if the print never starts).  Never forced on for a printer whose switch was off or could not be read. Default: true."
    • changedInput schema / properties / plate_number / description
      Previous value: -"Default: 1."New value: +"Plate index in multi-plate 3MF files (Bambu only). Default ``1``. Default: 1."
    • addedInput schema / properties / preview_token / description
      Added value: +"Token from ``issue_preview_token`` proving this file was shown to the person before printing.  Required beside their go-ahead: a print is shown to its owner before it starts; a resume of a paused print is exempt."
    • addedInput schema / properties / printer_name / description
      Added value: +"Which printer to start the job on.  Omit for the default printer.  Everything the start decides — the pre-flight verdict, the preview token's printer, the emergency latch, the nozzle-wear consult, the watchdog that will be watching — follows the named machine, so upload the file to that same printer first (``upload_file(..., printer_name=...)``)."
    • changedInput schema / properties / restore_nozzle_detection / description
      Previous value: -"Default: true."New value: +"With ``nozzle_clog_detect=False``, put the printer's own switch back on when the print ends (default ``True``).  ``False`` leaves it off on purpose, for a batch that wants the probe off across several prints. Default: true."
    • changedInput schema / properties / resume_from_paused / description
      Previous value: -"Default: false."New value: +"When ``True``, the pre-flight ``printer_idle`` check accepts ``paused`` as a valid state.  Use this when starting a resume-mode 3MF (mid-print decoration swap): the printer is paused, you upload the resume 3MF, and then ``start_print`` it with this flag.  The file is treated as a fresh print from the firmware's POV — the resume gcode carries its own preamble (heat → safety lift → home X/Y → travel → descend to resume Z).  Default ``False``. Auto-detected for files whose name contains ``_resume_`` (case-insensitive) or starts with ``transformed_resume`` / ``original_resume`` — these are the conventional names produced by ``decorate_during_print`` and ``get_print_before_edit``. Default: false."
    • changedInput schema / properties / skip_preheat_reassert / description
      Previous value: -"Default: false."New value: +"When the file is a resume-mode 3MF, the tool re-asserts the printer's pre-start hotend + bed targets immediately after the MQTT start command, because Bambu's resume 3MFs strip the M140/M190 pre-heat block (the original print already heated the bed) and the firmware's cool-on-new-job policy will otherwise drop the bed to 0 before the resume preamble executes.  Set ``True`` to disable this safety net.  Default ``False``. Default: false."
    • changedInput schema / properties / timelapse / description
      Previous value: -"Default: false."New value: +"Record a timelapse video (Bambu only).  Default ``False``. Default: false."
    • changedInput schema / properties / use_ams / description
      Previous value: -"Default: \"auto\"."New value: +"AMS filament feeding mode (Bambu only).  Tri-state: - ``\"auto\"`` (default): auto-detect AMS by probing the printer. If an AMS is connected with loaded trays, enables AMS automatically and selects the first loaded slot if no ``ams_mapping`` is provided.  Falls back to external spool if no AMS is detected. - ``\"true\"``: Force AMS on.  Use when you know AMS is connected. - ``\"false\"``: Force AMS off.  Use external spool. Default: \"auto\"."
    • addedInput schema / properties / version_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The kept design version this file came from, so the print's record lands on that version's history.  A file that is not a Kiln design passes none.",
      +  "title": "Version Id"
      +}
    • changedInput schema / properties / vibration_cali / description
      Previous value: -"Default: true."New value: +"Run vibration/resonance calibration (Bambu only). Default ``True``. Default: true."
  2. Changed26 schema fields changedv1.5.0
    • removedInput schema / properties / ams_mapping / default
      Removed value: -null
    • removedInput schema / properties / bed_leveling / default
      Removed value: -true
    • addedInput schema / properties / bed_leveling / description
      Added value: +"Default: true."
    • removedInput schema / properties / bed_type / default
      Removed value: -"auto"
    • addedInput schema / properties / bed_type / description
      Added value: +"Default: \"auto\"."
    • removedInput schema / properties / flow_cali / default
      Removed value: -true
    • addedInput schema / properties / flow_cali / description
      Added value: +"Default: true."
    • removedInput schema / properties / layer_inspect / default
      Removed value: -false
    • addedInput schema / properties / layer_inspect / description
      Added value: +"Default: false."
    • removedInput schema / properties / nozzle_clog_detect / default
      Removed value: -true
    • addedInput schema / properties / nozzle_clog_detect / description
      Added value: +"Default: true."
    • removedInput schema / properties / plate_number / default
      Removed value: -1
    • addedInput schema / properties / plate_number / description
      Added value: +"Default: 1."
    • removedInput schema / properties / preview_token / default
      Removed value: -null
    • removedInput schema / properties / printer_name / default
      Removed value: -null
    • addedInput schema / properties / restore_nozzle_detection
      Added value: +{
      +  "description": "Default: true.",
      +  "title": "Restore Nozzle Detection",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / resume_from_paused / default
      Removed value: -false
    • addedInput schema / properties / resume_from_paused / description
      Added value: +"Default: false."
    • removedInput schema / properties / skip_preheat_reassert / default
      Removed value: -false
    • addedInput schema / properties / skip_preheat_reassert / description
      Added value: +"Default: false."
    • removedInput schema / properties / timelapse / default
      Removed value: -false
    • addedInput schema / properties / timelapse / description
      Added value: +"Default: false."
    • removedInput schema / properties / use_ams / default
      Removed value: -"auto"
    • addedInput schema / properties / use_ams / description
      Added value: +"Default: \"auto\"."
    • removedInput schema / properties / vibration_cali / default
      Removed value: -true
    • addedInput schema / properties / vibration_cali / description
      Added value: +"Default: true."
  3. Changed1 schema field changedv1.3.1
    • addedInput schema / properties / printer_name
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Printer Name"
      +}
  4. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare destructiveHint=true, and the description adds real behavior beyond that: pre-flight safety checks run automatically, a failing check blocks the print and returns check results for diagnosis, and the print_start field is documented with all three values (started / accepted / failed) plus the rule that success is False only for failed. The nozzle_clog_detect / restore_nozzle_detection passages go deep on a printer-side switch that gets turned off and restored, which is genuinely useful side-effect disclosure. Docked one point because the description is silent on things like whether a failed start leaves any partial state and there is no note on how long pre-flight takes or how to abort mid-start.

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 behavior paragraphs are front-loaded and readable, but the entire Args block re-renders the 19 parameter descriptions that already sit verbatim in the input schema, so a large share of the text earns nothing. For a tool with 100% schema coverage this is significant redundancy that buries the genuinely new information (print_start branching, pre-flight blocking, resume auto-detection).

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

Completeness5/5

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

There is no output schema, and the description compensates by documenting the return contract through print_start's three values and what success means, plus the failure path where check results come back. For a 19-parameter, destructive, hardware-touching tool this covers what an agent needs to call it and interpret the result.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description does add cross-parameter meaning the schema can't easily express: ams_mapping defaults depend on whether AMS feeding is on, the version_id/design_id/branch_id triple is described as a group ('a file that is not a Kiln design passes none'), and preview_token is tied to the human-approval workflow. It largely restates the schema's own text, which caps it below 5.

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

Purpose5/5

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

The first sentence states a specific verb and resource with its precondition ("Start printing a file already uploaded to the printer (file must exist on printer)"), which immediately separates it from slice_and_print and run_quick_print, both of which are named later. An agent knows exactly what this call does without opening the schema.

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

Usage Guidelines5/5

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

It explicitly routes the agent: use upload_file first, or use slice_and_print / run_quick_print to slice+upload+print in one step, and upload against the same printer_name. It also names when to use resume_from_paused (paused printer + resume 3MF) and when preview_token is required versus exempt (resume of a paused print).

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