firmware_resume_print
Resume failed or power-interrupted OctoPrint+Marlin prints by restoring the last checkpoint, repositioning the printer, and preparing it to continue from the saved layer.
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. A Kiln Pro feature. Without it, the printer's own power-loss
recovery can continue a print run from its own memory card; a print
OctoPrint streamed over USB cannot be continued by the printer itself.
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).
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>",
"job_id": "<job_id>",
"z_height_mm": "<z_height_mm>",
"hotend_temp_c": "<hotend_temp_c>",
"bed_temp_c": "<bed_temp_c>",
"file_name": "<file_name>"
},
"name": "firmware_resume_print"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The failed job's identifier (for checkpoint lookup). | |
| file_name | Yes | Original file name (for logging/tracking). | |
| bed_temp_c | Yes | Bed temperature to restore. | |
| z_height_mm | Yes | Z height to resume from (from checkpoint). | |
| layer_number | No | Layer number to resume from (informational). | |
| printer_name | Yes | Name of the printer to resume on. | |
| fan_speed_pct | No | Fan speed to restore (0-100). Default: 100.0. | |
| flow_rate_pct | No | Flow rate multiplier to restore (default 100). Default: 100.0. | |
| hotend_temp_c | Yes | Hotend temperature to restore. | |
| z_clearance_mm | No | How far above the part to raise the nozzle (mm). Default: 2.0. | |
| prime_length_mm | No | Filament to extrude for nozzle priming (mm). Default: 30.0. |