joiva_update_pantry_item
Correct a pantry item: new absolute quantity, storage location, best-before or note. quantity: 0 marks it as used up.
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": {
"pantryItemId": "<pantryItemId>"
},
"name": "joiva_update_pantry_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| unit | No | ||
| label | No | ||
| staple | No | Staple (Grundvorrat: salt, oil, spices): always considered available, carries no meaningful quantity, is never deducted and never goes on the shopping list. | |
| location | No | ||
| quantity | No | New absolute stock. 0 = used up. | |
| bestBefore | No | ||
| unitWeightG | No | ||
| pantryItemId | Yes | Id of the pantry item |