Add to the pantry
add_to_pantryAdd or restock pantry items from what the user says in passing: "bought rice and two chickens", "here's what's in the fridge". An item already in the pantry gets the new quantity. Names are matched loosely, so 'Eggs' and 'eggs' are the same item. Returns the whole pantry after the change.
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": {
"add": "<add>"
},
"name": "add_to_pantry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | Yes | items to add or update; an item already in the pantry gets the new quantity |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |