Merge two pantry rows
merge_pantry_foodsMerge two pantry rows the household says are the same food. The first stops being its own row and reads as the second, which keeps its name. The food keys are the ones get_inventory gives. The household can split them again in the app.
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": {
"fromFoodKey": "<fromFoodKey>",
"toFoodKey": "<toFoodKey>"
},
"name": "merge_pantry_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toFoodKey | Yes | Canonical lowercase key of the row that survives and gives the merged row its name, e.g. 'pasta'. | |
| fromFoodKey | Yes | Canonical lowercase key of the row that stops being its own, e.g. 'fusilli'. |