set_nozzle_state
Record a printer's current nozzle material, diameter, install date and filament throughput so Kiln can track wear and warn when the nozzle needs swapping.
Instructions
Record a user-entered nozzle state for a printer.
Free door, tiered answer — Free: Warnings — always free · Pro: How long it lasts on that filament, and when to swap · Business: + Every machine’s nozzle checked against its record · Enterprise: ✓.
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_id": "<printer_id>"
},
"name": "set_nozzle_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | One of ``brass``, ``stainless_steel``, ``hardened_steel``, ``ruby_tip``, ``cht_brass``, ``cht_hardened``, ``tungsten_carbide``, ``custom``. Case-insensitive; ``unknown`` clears it. | |
| position | No | Which nozzle position ``material`` and ``diameter_mm`` describe, numbered from 1 as the printer numbers them. Omitted, they describe position 1, the printer's main nozzle. Given without either of them, or below 1, it is refused with ``VALIDATION_ERROR``. | |
| printer_id | Yes | Stable printer identifier. | |
| diameter_mm | No | Nozzle diameter in mm (typically 0.2, 0.25, 0.4, 0.6, 0.8, or 1.0). | |
| install_date | No | ISO 8601 date the nozzle was installed (e.g. ``"2026-05-26"``). | |
| grams_through | No | Cumulative grams already extruded through this nozzle. Usually omitted on a fresh swap. | |
| printer_reading | No | What the printer itself reports as its nozzle, filled in by the caller's own Kiln when it can reach the machine, so the answer can say whether the printer agrees with the new record. Used only where this process cannot read the printer; leave it unset by hand. | |
| fitted_positions | No | The positions that hold a nozzle, e.g. ``[1, 2]``; every other position is recorded as empty. It must include 1. Omitted, which positions are fitted stays as recorded. |