set_machine_repair
Mark a 3D printer as needing repair or repaired, or clear the latest mark, to stop routing prints while out of service and restore normal use after repair.
Instructions
Tell Kiln a printer needs repair, or that you have repaired it.
Kiln judges a printer by its own prints. Mark it ``needed`` when
you are taking it out of service: routing stops choosing it, and
a print you start on it yourself still runs, with a warning.
Mark it ``done`` once it is fixed: from that moment it is judged
by what it prints next, and its earlier prints stop counting
against it. Nothing is deleted, and the record stays yours.
Signed in, a mark follows the printer to your Kiln account and
to your other computers, and marks made elsewhere (another
computer, the web) come back here. When your account cannot
tell whether a printer marked from another computer is this
one, the reply carries a ``questions`` list; answer one with
``same_as`` (it is this printer) or ``different_from`` (it is
not), passing the question's id and no status.
A question Kiln asked about this printer (a ``printer_question``
in ``get_printer_insights``, or an ``ask_the_person`` block whose
``about`` is ``printer``) is answered here too: pass its
``episode`` as ``answer_to`` and what the person said as
``answer``, exactly as the block's ``record`` gives the call, and
no status. Kiln then marks the printer needs repair or repaired
when that is what they said, and keeps the answer on this
computer either way, so the question is not asked again.
Args:
machine_name: The printer, by its name here.
status: ``needed`` (out of service until repaired), ``done``
(repaired; ``kind`` required), or ``clear`` (take back
the latest mark). Left out only to answer a question.
kind: What was repaired: nozzle, hotend, extruder, bed,
belts, or other. Required for ``done``; optional for
``needed``.
note: What you did, in your own words (optional; kept on
this computer, never sent to your account).
when: When it happened, ISO 8601 (``2026-10-20T14:00``).
Left out, now. A repair may be dated up to 30 days
back; never ahead.
same_as: The id of a question from an earlier reply: this
printer IS the one marked from the other computer.
different_from: The id of a question: it is NOT (also undoes
a wrong yes; never asked again for that pair).
answer_to: The ``episode`` of a question about this printer.
answer: The id of the answer the person gave to it.
Returns ``recorded``, the printer, ``status``, ``kind``,
``marked_at``, the printer's ``condition`` now, ``next`` (one
sentence), for ``done`` a ``reset`` block saying how many
earlier prints no longer count, and, signed in, ``account``
(whether the mark reached it) and any ``questions``. Refuses,
by name, a printer Kiln cannot tell apart from another, a time
ahead or too far back, and the hosted server, where the record
is not kept.
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": {
"machine_name": "<machine_name>"
},
"name": "set_machine_repair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | What was repaired: nozzle, hotend, extruder, bed, belts, or other. Required for ``done``; optional for ``needed``. | |
| note | No | What you did, in your own words (optional; kept on this computer, never sent to your account). | |
| when | No | When it happened, ISO 8601 (``2026-10-20T14:00``). Left out, now. A repair may be dated up to 30 days back; never ahead. | |
| answer | No | The id of the answer the person gave to it. Default: "". | |
| status | No | ``needed`` (out of service until repaired), ``done`` (repaired; ``kind`` required), or ``clear`` (take back the latest mark). Left out only to answer a question. Default: "". | |
| same_as | No | The id of a question from an earlier reply: this printer IS the one marked from the other computer. Default: "". | |
| answer_to | No | The ``episode`` of a question about this printer. Default: "". | |
| machine_name | Yes | The printer, by its name here. | |
| different_from | No | The id of a question: it is NOT (also undoes a wrong yes; never asked again for that pair). Default: "". |