forecast_material_consumption
Estimate when a material will run out from current stock and historical consumption, showing remaining days and urgency level (ok/low/critical) to plan restocking.
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).
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": {
"material_type": "<material_type>"
},
"name": "forecast_material_consumption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days_ahead | No | Days of history for rate estimation (default 30). Default: 30. | |
| material_type | Yes | Material type to forecast (e.g. ``"PLA"``). |