forecast_material_consumption
Predict when a material type will run out by combining current stock with historical consumption rate, estimating remaining days and urgency level to prevent print interruptions.
Instructions
Forecast when a material type will run out.
Combines current stock with historical consumption rate to
estimate remaining days and urgency level (ok/low/critical).
Args:
material_type: Material type to forecast (e.g. ``"PLA"``).
days_ahead: Days of history for rate estimation (default 30).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days_ahead | No | ||
| material_type | Yes |