light
Switches a printer lamp on, off, or into flashing mode and selects the target node, such as chamber or work lamp.
Instructions
Switch a light: on, off or flashing. node: chamber_light (default), work_light, chamber_light2, heatbed_light (availability depends on model).
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": {
"mode": "<mode>"
},
"name": "light"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| node | No | ||
| printer | No | Printer name or serial from the config. Default: the first printer. |