get_stock_movements
Track an ingredient's stock movements by sales, purchases, waste, and adjustments over a date range, and optionally filter by reason to explain why inventory changed.
Instructions
Stock ledger of one ingredient (sales, purchases, waste). Explains WHY stock changed.
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": {
"ingredient_id": "<ingredient_id>"
},
"name": "get_stock_movements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| reason | No | ||
| ingredient_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |