forecast_material_consumption
Predict when a specific material type will run out by analyzing current stock and historical consumption rates, returning remaining days and urgency level.
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 |