get_printer_insights
Query a specific 3D printer's cross-printer learning insights: success rates, failure modes, per-material stats, unresolved prints, and outcome questions to settle with the user.
Instructions
Query cross-printer learning insights for a specific printer.
Returns success rates, failure mode breakdown, and per-material
statistics based on previously recorded outcomes — plus any
UNRESOLVED prints: jobs that started (or ended) while no Kiln
process was watching, whose outcome nobody has settled yet.
**Agent contract for ``unresolved_prints``**: these entries are
waiting on the one witness the machine can't replace — the
user, who has the part. When the moment is natural (not
mid-task), ask casually ("Your ashtray finished while Kiln
wasn't watching — did it come out OK?") and settle the answer
via ``record_print_outcome(job_id=..., outcome=...,
determined_by="user_reported")``. Never guess an outcome on
the user's behalf; an unresolved print stays out of all
success-rate math until someone who knows answers.
**Agent contract for ``endings_to_ask_about``**: recent prints
the printer stopped without a reason, or that someone stopped
before they finished. Only the person knows whether the part
was coming out bad. Each entry carries ``ask``: the question,
and the exact ``record_print_outcome`` call for each thing they
can say. Ask once, at a natural moment, and never pick an
answer for them. The same block rides as ``ask_the_person`` on
the tool that reports a print's ending.
**Agent contract for ``printer_question``**: one question about
this printer itself, or ``null``. ``seen``, ``check`` (when
present) and ``question`` are sentences to say to the person as
written; ``record`` maps each thing they can say to the exact
``set_machine_repair`` call that records it. ``check_part``
names the part ``check`` is about: offering that part's steps is
not an answer. Ask once, at a natural moment, and never pick an
answer for them. The same block can ride as ``ask_the_person``
on the tool that reports a print's ending, when that ending owes
no question of its own.
A row carrying ``ending_said`` ("Stopped: power cut") is a stop,
not a bad print: say those words to the person, never "failed".
A row carrying ``repair_said`` is a bad print made while the
printer was marked needs repair: say those words; it counts
about the printer and not against the design or the material.
``insights.printer_own_history`` counts jobs Kiln only read off
the printer's own log: it neither started nor watched them, and
nobody told Kiln how the parts came out. They are in no success
rate. Say them apart ("your printer's own log lists N earlier
jobs, M ran to the end"), never as prints that succeeded. A row
of that kind carries ``ending_said`` with the same meaning. If
the person says how one came out, ``record_print_outcome`` with
its ``job_id`` makes it count.
**Note**: Insights are advisory. They do NOT override safety limits
or preflight checks.
Args:
printer_name: The printer to get insights for.
limit: Maximum recent outcomes to include (default 20).
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": {
"printer_name": "<printer_name>"
},
"name": "get_printer_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum recent outcomes to include (default 20). Default: 20. | |
| printer_name | Yes | The printer to get insights for. |