Stock the pantry
stock_pantryAdd items to the user's grocery pantry inventory in bulk, creating the pantry list if they don't have one. Use when the user is telling you what's in their kitchen ('here's what I keep stocked', 'I have flour, sugar, rice and canned tomatoes'), which is what makes match_recipes_to_inventory and recipe_needs useful. Does not touch the shopping list — use have_items when the point is that they no longer need to buy something. Duplicates are skipped.
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": {
"items": "<items>"
},
"name": "stock_pantry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Item names to stock, e.g. ['flour', 'sugar', 'canned tomatoes']. | |
| title | No | Title for the pantry list if one has to be created. Defaults to 'Pantry'. |