correct_stock
Override an item's stock estimate with a user-reported count or out-of-stock status, resetting the estimate clock for accurate inventory tracking. Record the purchase first.
Instructions
Ground truth from the user: what they can actually see. quantity=0
means "we're out". A correction outranks the interval model and resets
the estimate's clock, so this is the one call that makes an estimate
right rather than merely plausible.
Use it whenever the user volunteers stock in conversation ("we're out of milk", "still got two bags of rice"). The item must already be known — stock is inferred from purchases, so record the receipt first.
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": {
"item": "<item>",
"quantity": "<quantity>"
},
"name": "correct_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| unit | No | ||
| quantity | Yes |