emergency_stop
Instantly stops all printer motion and disables heaters in safety emergencies. Use for thermal runaway, collisions, or urgent faults.
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 |