emergency_trip_input
Triggers a software emergency stop on a specified 3D printer when an external hardware input such as a button or PLC calls in, with optional token authorization and trigger note.
Instructions
Trip emergency stop from an external hardware bridge.
Designed for physical input devices (ESP32, PLC, wired push buttons)
that call this endpoint over HTTP to trigger a software e-stop. This
is different from ``emergency_stop()`` which is for agent/software-
initiated stops.
If ``KILN_ESTOP_INPUT_TOKEN`` is configured, the request must include
a matching ``token`` or it will be rejected.
:param printer_name: Printer to emergency-stop.
:param input_name: Label for the input source (default
``"external_button"``).
:param token: Authorization token -- required when
``KILN_ESTOP_INPUT_TOKEN`` is set.
:param note: Optional free-text note describing the trigger reason.
See also: ``emergency_stop()``, ``emergency_status()``.
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": "emergency_trip_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional free-text note describing the trigger reason. | |
| token | No | Authorization token -- required when ``KILN_ESTOP_INPUT_TOKEN`` is set. | |
| input_name | No | Label for the input source (default ``"external_button"``). Default: "external_button". | |
| printer_name | Yes | Printer to emergency-stop. |