Check a Costco receipt for price adjustments
check_receiptCheck one Costco warehouse receipt for price adjustments. An item can get one when it was bought in the last 30 days and a sale on the same item number started after the purchase and is running today, at the warehouse where it was bought (a sale only at another warehouse within 15 miles is reported as "nearby": up to the store).
Reading the receipt:
warehouse: printed as "Whse: 111", or after the city name, as in "TIGARD #111".
date: the purchase date, YYYY-MM-DD.
item: the number at the start of each item line.
price: the price paid for ONE unit. A line like "2 @ 10.99" before an item means quantity 2 at 10.99 each; the item line shows the total.
instant_savings: a line like "390305 / 1172471 4.00-". The number after the slash is the item it belongs to; 4.00 is the savings already taken on that line. Give it on that item. One receipt per call, at most 100 items. Repeat an item number if it is on the receipt twice.
Privacy: send only these values. Never send the member number, name, email address, payment details, or the receipt image or PDF.
The answer is JSON: for each item adjustment_available and, when true, amount_owed, redeem_by, sale dates and a plain note; totals; deals_as_of (when the warehouse's deals were last fetched) and status (fresh, stale, not_cached or outside_window). Tell the user each item with its amount and redeem-by date, and: bring the receipt (or membership card) to the Costco membership desk and ask for a price adjustment. This site only finds price adjustments; it cannot claim them.
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": {
"warehouse": "<warehouse>",
"date": "<date>",
"items": "<items>"
},
"name": "check_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The purchase date, YYYY-MM-DD. Within the last 30 days to find anything. | |
| items | Yes | The receipt's item lines, at most 100. | |
| warehouse | Yes | The warehouse number printed on the receipt, e.g. 111. |