Albert Heijn: Last-Chance Items
ah_get_last_chance_itemsRetrieves today-only clearance and last-chance items from an Albert Heijn store using a store ID, postal code, or your favourite store. Returns the store used and links product names to their URLs.
Instructions
Get last-chance / vandaag-af / clearance items from an Albert Heijn store. Uses store_id if given, else the store nearest postal_code, else the member's favourite store (set in the AH app), else the store nearest the member's address. Returns the store it used. Uses the dedicated bargainItems GraphQL endpoint which returns today-only markdown deals. When you mention a product or recipe from the result, link its name to its url.
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": "ah_get_last_chance_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default 20) | |
| store_id | No | AH store ID from ah_search_stores (default: the member's favourite store) | |
| postal_code | No | Dutch postal code (e.g. '1234AB') to find the nearest store when store_id is not known. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| store | Yes |