Opret tilbudsalarm
create_offer_alertUse this when the user wants to hear when a kind of grocery goes on offer (tilbud), e.g. kaffe or bleer; searchTerms creates one alert per grocery for several at once. Goma saves each search and notifies the user of new matching offers by email or push, as their notification settings allow.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_offer_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Grocery or category, preferably in Danish. | |
| storeNames | No | Optional chains, e.g. Netto, Føtex, Rema 1000, Lidl, Bilka; Coop means all Coop chains. Omitted: a logged-in user's favourite chains, else all chains. | |
| organicOnly | No | Only organic (økologisk) products. | |
| searchTerms | No | Several groceries at once, one alert each, e.g. kaffe, bleer, smør. Use instead of query. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The user's tilbudsalarmer on goma.gg. | |
| name | Yes | ||
| query | Yes | ||
| alerts | Yes | One per search term, in the order given. | |
| alertId | Yes | The first alert. | |
| storeNames | Yes | Empty means all chains. |