Opret prisalarm
create_price_alertUse this when the user wants to hear when one product gets cheaper. Needs productId from compare_prices or search_offers. Without targetPrice Goma notifies on any price drop.
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": {
"productId": "<productId>"
},
"name": "create_price_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | ||
| targetPrice | No | Notify when the price is at or below this, in DKK. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The user's tilbudsalarmer on goma.gg. | |
| alertId | Yes | ||
| product | Yes | ||
| targetPrice | Yes | In DKK; null means any price drop. |