get_nozzle_state
Retrieve the recorded nozzle state for a specific 3D printer using its printer ID. Optionally compare sliced-file nozzle size and printer readings to verify nozzle compatibility.
Instructions
Return the recorded nozzle state for a printer.
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": "get_nozzle_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printer_id | Yes | Stable printer identifier — same key the public ``PrinterRegistry`` uses (e.g. ``"bambu_a1"``). | |
| printer_model | No | Optional explicit model lookup key (e.g. ``"bambu_a1"``) when *printer_id* is a user-named instance ID like ``"kitchen_printer"``. Falls through to longest-prefix match against the overlay otherwise. Default: "". | |
| file_nozzle_mm | No | The nozzle size in mm a sliced file states it was made for. Given one, the answer carries ``sliced_file``; a value that is not a plausible nozzle size is refused with ``VALIDATION_ERROR``. Omitted, no file check. | |
| 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. Used only where this process cannot read the printer, as data; omitted, the answer carries no printer-side comparison unless this process can read it. Leave it unset by hand. |