Plan an unattended (overnight) print
plan_unattended_printPlan an unattended 3D print by calculating finish time, expected failure detection delay and wasted filament/cost, and finding a start time that keeps first layers watched.
Instructions
NEW. For a print that runs partly while nobody is watching: finish time, share unattended, expected time until a failure is noticed, expected wasted filament/hours/$, and optionally the best start time in a window so the first layers are watched. Errors: bad clock times, away_from == back_at, only one of the search bounds.
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": {
"print_time_h": "<print_time_h>",
"filament_g": "<filament_g>",
"start_time": "<start_time>",
"away_from": "<away_from>",
"back_at": "<back_at>"
},
"name": "plan_unattended_print"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| back_at | Yes | When someone checks again, e.g. wake-up 'HH:MM' | |
| away_from | Yes | When nobody will be watching from, e.g. bedtime 'HH:MM' | |
| detection | No | none: you find failures yourself; auto_stop: printer camera detection pauses the job | none |
| filament_g | Yes | Slicer filament mass [g, 0.1–10000] | |
| start_time | Yes | 24-hour clock time 'HH:MM' | |
| latest_start | No | Search start times until (with earliest_start) | |
| print_time_h | Yes | Slicer print time [h, 0.05–200] | |
| earliest_start | No | Search start times from (with latest_start) | |
| early_window_h | No | How long the 'first layers' last; default 0.5 [h, 0.05–5] | |
| check_interval_min | No | How often you look while present; default 60 [min, 1–480] | |
| detection_coverage | No | Share of failures auto_stop catches; default 0.6 (assumption) [-, 0–1] | |
| machine_cost_per_h | No | Machine time cost; default 0.5 [$/h, 0–200] | |
| detection_delay_min | No | Delay before auto_stop pauses; default 10 [min, 0–600] | |
| early_failure_share | No | Share of failures in the first layers; default 0.5 (assumption) [-, 0–1] | |
| failure_probability | No | Chance this attempt fails; default 0.15 (assumption) [-, 0–0.9] | |
| filament_price_per_kg | No | Filament price; default 23 [$/kg, 0–500] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| checks | Yes | ||
| inputs | Yes | Every input actually used, after defaults. | |
| results | Yes | ||
| summary | Yes | ||
| verdict | Yes | Worst status among the checks. | |
| decision | No | Recommended action (new tools only). | |
| features | No | Per-feature table (check_deviated_part). | |
| warnings | Yes | ||
| assumptions | Yes | ||
| human_checks | No | What a person must verify before acting. | |
| defaults_used | Yes | Inputs the user did not give and the default applied. |