emergency_stop
Instantly halt all printer motion and disable heaters during a safety emergency. Specify a printer or stop all printers with a reason code.
Instructions
Trigger an emergency stop on one or all printers.
Sends M112 (emergency stop), turns off heaters, and disables steppers.
Unlike ``cancel_print``, this does **not** allow a graceful cooldown —
all motion ceases instantly.
Use only in genuine safety emergencies (thermal runaway, collision,
spaghetti failure threatening the hotend, etc.).
WARNING: After an emergency stop the printer typically requires a
power cycle or firmware restart before it can print again.
Args:
printer_name: Specific printer to stop. If None, stops ALL printers.
reason: Reason code (e.g. ``user_request``, ``thermal_runaway``).
source: Trigger source label for audit context.
note: Optional operator note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| reason | No | user_request | |
| source | No | mcp | |
| printer_name | No |