stock_item_update
Update a stock_item you own (optionally compare-and-set via expected_updated_at).
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": {
"id": "<id>"
},
"name": "stock_item_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The stock_item id. | |
| name | No | ||
| unit | No | ||
| notes | No | ||
| category | No | ||
| quantity | No | ||
| is_active | No | ||
| expiry_date | No | ||
| sell_price_cents | No | ||
| cost_per_unit_cents | No | ||
| expected_updated_at | No | Optional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value. | |
| low_stock_threshold | No |