Set the comparison's currency and alert
update_comparisonSets a price comparison's display currency and configures alerts that notify you when another country's converted price drops below your home price by a chosen percentage.
Instructions
Set the comparison's currency and alert. The currency prices are converted into, and the "cheaper in another country" alert: an email (and chat channels) when another country's converted price is at least alert_percent below home's, once when it gets there, then again only after…
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": {
"product_id": "<product_id>"
},
"name": "update_comparison"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert | No | Turn the alert on or off | |
| currency | No | Currency the prices are converted into; the comparison keeps the last one chosen (EUR or USD at first, after the account's language) Allowed values: EUR, USD, GBP. | |
| product_id | Yes | product_id of any of the compared products | |
| alert_percent | No | How much cheaper, in %, another country has to be Default: 10. |