Læg i spisekammeret
add_pantry_itemsUse this when the user says they have groceries at home, e.g. from a photo of their fridge, to save them in their Goma pantry (spisekammer), up to 30 at once. Generic names such as mælk or løg are fine; a productId from an earlier result saves that exact product. Without an amount Goma notes the item as available. An item already in the pantry gets the amount added.
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": "add_pantry_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The user's pantry (spisekammer) on goma.gg. | |
| count | Yes | Items saved. | |
| items | Yes | The saved items as they are now. |