recommend_settings
Recommends print settings from historical successful prints, filtered by printer, material, or file hash. Integrates with kiln-pro for personalized calibration values.
Instructions
Recommend print settings based on historical successful outcomes.
Queries the learning database for settings that produced successful
prints, filtered by printer, material, and/or file hash. Returns
aggregated recommendations (most common temps, speeds, slicer profiles)
plus the raw successful settings for agent review.
When kiln-pro is installed AND the user has a calibrated slicer
profile for ``(printer_name, material_type)``, the calibration coach
overlays personally-tuned values (flow rate, max volumetric speed,
pressure advance, retraction distance) on top of the historical
medians. The response gains a ``calibration_used`` block and an
extra ``rationale`` line per overridden value naming the slicer +
staleness — so the user sees "Using your calibrated flow rate of
0.95 from OrcaSlicer (updated 12 days ago)" instead of the generic
aggregate. Behavior is unchanged when kiln-pro is not installed
or no calibration is available.
**Note**: Recommendations are advisory. They do NOT override safety
limits or preflight checks. Always validate settings against printer
safety profiles before use.
Args:
printer_name: Filter by printer (e.g. ``"voron-350"``).
material_type: Filter by material (e.g. ``"PLA"``, ``"PETG"``).
file_hash: Filter by file hash for exact file matching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_hash | No | ||
| printer_name | No | ||
| material_type | No |