evaluate_fleet_reroute
Decides if a failed FDM job should move to another printer by checking progress, material, build volume, idle status, and success rate; returns blocked when no alternatives exist.
Instructions
Decide whether a failed FDM job should move to another printer (Business+).
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>",
"alternative_printers": "<alternative_printers>"
},
"name": "evaluate_fleet_reroute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | Material the job needs (e.g. ``"pla"``, ``"petg"``). Candidates whose ``supported_materials`` doesn't include this are filtered out. Empty string disables material matching. Default: "". | |
| failure_id | Yes | ID returned by ``detect_print_failure``. The original printer + failure_type are read from the stored failure report. | |
| model_size_mm | No | Optional ``[x, y, z]`` model envelope in mm. Candidates whose explicit or auto-resolved ``build_volume_mm`` is too small on any axis are filtered out. | |
| completion_pct | No | How far the failed print got (0.0–1.0). A print that had barely started is restarted on the same machine rather than moved; the decision says which way it went. Default: 0.0. | |
| alternative_printers | Yes | List of candidate printer dicts. Each must include ``printer_id``; optional fields: ``is_idle`` (default True), ``supported_materials`` (list of material strings), ``build_volume_mm`` (3-tuple of floats; auto-resolved from ``printer_id`` for supported models when omitted), ``success_rate`` (0.0–1.0 from learning engine). Empty list returns a NO_ALTERNATIVES blocked decision. |