plan_failure_recovery
Generate a recovery plan from a detected print failure ID, including preparation steps, parameter adjustments, and risk assessment.
Instructions
Generate a recovery plan for a previously detected failure.
Uses the failure ID from a prior ``detect_print_failure`` call
to look up the failure report and generate an appropriate recovery
strategy with preparation steps, parameter adjustments, and risk
assessment.
**Which recovery tool to use:**
- Have a printer_name + job_id from a failed print? → ``plan_print_recovery``
- Have a failure_id from ``detect_print_failure``? → ``plan_failure_recovery`` (this tool)
With kiln-pro installed the answer can also carry
``nozzle_wear_hypothesis`` (Kiln Pro), or below Pro
``nozzle_wear_hypothesis_gated``, as for
``analyze_print_failure_smart``.
Picking the print back up where it stopped is offered only on a
printer model a Kiln-built resume has been shown to work on, and
only when the half-printed part is still on the plate; otherwise
the plan is the next safe move and ``plan.not_offered`` says why
and what to answer.
Args:
failure_id: The failure_id from a detect_print_failure result.
printer_capabilities: Accepted for compatibility and ignored;
the plan is built from the failure record and the
printer's own recorded capabilities.
safety_profile: Accepted for compatibility and ignored; the
plan reads the printer's own safety profile.
part_attached: Your word on whether the half-printed part is
still stuck to the plate (true / false). Left out, the
plan asks once before it offers a resume.
try_untested_resume: Opt this printer in to a resume Kiln has
not yet seen work on its model; Kiln learns from how it goes.
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": {
"failure_id": "<failure_id>"
},
"name": "plan_failure_recovery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failure_id | Yes | The failure_id from a detect_print_failure result. | |
| part_attached | No | Your word on whether the half-printed part is still stuck to the plate (true / false). Left out, the plan asks once before it offers a resume. | |
| safety_profile | No | Accepted for compatibility and ignored; the plan reads the printer's own safety profile. | |
| try_untested_resume | No | Opt this printer in to a resume Kiln has not yet seen work on its model; Kiln learns from how it goes. Default: false. | |
| printer_capabilities | No | Accepted for compatibility and ignored; the plan is built from the failure record and the printer's own recorded capabilities. |