firmware_resume_print
Resume a failed 3D print on OctoPrint and Marlin printers by restoring the printer to the last checkpoint, reheating the bed and hotend, and priming the nozzle for continued printing.
Instructions
Execute firmware-level print resume for OctoPrint+Marlin printers.
After a power loss or failure, this tool positions the printer at the
last known checkpoint and prepares it to resume printing. Uses Marlin
M413 power-loss recovery protocol: homes X/Y (never Z), re-heats bed
then hotend, sets Z position from checkpoint, primes the nozzle, and
restores fan/flow settings.
The printer will be positioned and ready after this call. Use
start_print with a re-sliced file (starting at the target layer) or
let the printer resume from its own recovery buffer.
Only works with OctoPrint printers running Marlin firmware. Moonraker/Klipper
printers should use Klipper's SAVE_VARIABLE system instead (not yet supported).
Args:
printer_name: Name of the printer to resume on.
job_id: The failed job's identifier (for checkpoint lookup).
z_height_mm: Z height to resume from (from checkpoint).
hotend_temp_c: Hotend temperature to restore.
bed_temp_c: Bed temperature to restore.
file_name: Original file name (for logging/tracking).
layer_number: Layer number to resume from (informational).
fan_speed_pct: Fan speed to restore (0-100).
flow_rate_pct: Flow rate multiplier to restore (default 100).
prime_length_mm: Filament to extrude for nozzle priming (mm).
z_clearance_mm: How far above the part to raise the nozzle (mm).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| file_name | Yes | ||
| bed_temp_c | Yes | ||
| z_height_mm | Yes | ||
| layer_number | No | ||
| printer_name | Yes | ||
| fan_speed_pct | No | ||
| flow_rate_pct | No | ||
| hotend_temp_c | Yes | ||
| z_clearance_mm | No | ||
| prime_length_mm | No |