Get one deal
get_promotionFull details of one promotion by its id (from a search result): dates, conditions, outlets, source link, and links to add it to a calendar or save it with a start reminder. Pass lat/lng to sort outlets nearest first and get nearest_outlet.
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": {
"id": "<id>"
},
"name": "get_promotion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The deal's id, from a search or list result. | |
| lat | No | Optional: where the person is, to find the nearest outlet. | |
| lng | No | Optional: longitude, used together with lat. |