rename_printer
Rename a saved 3D printer and carry its print history, loaded material, queued jobs, e-stop state and standing permissions to the new name. Refuses when busy or the name is taken, leaving the printer unchanged.
Instructions
Give a saved printer a new name; its records come with it.
The printer's print history and outcomes, what is loaded in it,
its queued jobs, its emergency-stop state and the standing
permissions on this computer that name it all move to the new
name, so the machine's record stays one record. The reply
says what came along (``carried``), which standing permissions
followed and which were turned off (``permissions``), and the
names the printer has had (``formerly``). The machine itself,
its address and its credentials are untouched.
Refused, with nothing changed, when the printer is printing or
Kiln is following a print on it (``PRINTER_BUSY``), when the new
name is already another printer's (``NAME_TAKEN``), or when the
new name carries the printer's address, serial or a code
(``NAME_HAS_IDENTIFIER``: the reply's ``suggested_name`` is a
clean one to offer instead). Runs on the computer the printer
is set up on, never on Kiln's servers.
Args:
printer_name: The printer's current name.
new_name: What to call it from now on.
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>",
"new_name": "<new_name>"
},
"name": "rename_printer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | What to call it from now on. | |
| printer_name | Yes | The printer's current name. |