check_power_loss_recovery
Assess and plan a safe resume for a 3D print interrupted by power loss, checking a confirmed bare probe spot when needed to generate a recovery contract.
Instructions
Assess how to recover an interrupted print after a power loss (Pro).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_power_loss_recovery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| probe_xy | No | ``[x, y]`` of a confirmed-bare patch of bed, in machine coordinates. Omit for an assessment-only call. | |
| failure_id | No | Optional recorded print failure whose original G-code Kiln looks up, so the Klipper probe path can suggest a bare spot. Ignored when ``gcode_path`` is given; an unknown id simply skips the suggestion. Default: "". | |
| gcode_path | No | Optional path to the interrupted print's G-code, used the same way and taking precedence over ``failure_id``. Default: "". | |
| print_bbox | No | Optional declared part bbox for a fast pre-check; the resume generator derives the real footprint from the G-code regardless, so this is rarely needed. | |
| printer_name | No | Registered printer to assess. Empty = your only registered printer; with several, pass a name. Default: "". | |
| bare_confirmed | No | Must be True (with ``probe_xy``) to get a contract — your attestation the patch is physically empty. Default: false. | |
| moonraker_config | No | Optional pre-fetched ``configfile.config`` dict (``GET /printer/objects/query?configfile``). Supply it when the server can't reach the printer's Moonraker directly (e.g. the hosted API) — the client fetches, the server plans. | |
| probe_clearance_mm | No | Min margin the probe must clear the print by. Default: 5.0. |