{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "basketwatchireland.com",
    "site": "basketwatchireland.com",
    "addresses": [
      {
        "address": "66.241.125.248",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2a09:8280:1::116:d1ff:0",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "66.241.125.248",
          "2a09:8280:1::116:d1ff:0"
        ],
        "first_seen": "2026-11-22T07:59:00.776Z",
        "last_seen": "2026-11-24T08:09:01.082Z",
        "checks": 3
      }
    ],
    "hosting": [
      {
        "value": "Fly.io",
        "evidence": "Server header \"Fly/a0014a77a (2026-11-20)\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "basketwatch",
      "version": "1.27.1",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "Fly/a0014a77a (2026-11-20)",
      "strict-transport-security": "max-age=31536000; includeSubDomains; preload"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.basketwatchireland",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "7221",
    "server_name": "com.basketwatchireland/basketwatch",
    "url": "https://basketwatchireland.com/mcp",
    "host": "basketwatchireland.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-24T08:09:01.082Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "bf1a3dc066fcae23dacfc24b36cdeac7777d59d4268f20da9691766be416d0d5",
    "first_listed_at": "2026-11-21T07:21:01.708Z",
    "created_at": "2026-11-21T05:20:09.167Z",
    "resolved_addresses": [
      "66.241.125.248",
      "2a09:8280:1::116:d1ff:0"
    ]
  },
  "server": {
    "name": "com.basketwatchireland/basketwatch",
    "title": "BasketWatch",
    "description": "Irish grocery prices at Aldi, Tesco, SuperValu, Dunnes and Lidl: compare, baskets, offers, history",
    "version": "1.0.1",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://basketwatchireland.com/agent-access",
    "published_at": "2026-10-18T16:21:03.747Z",
    "updated_at": "2026-10-18T16:21:03.747Z",
    "first_seen": "2026-11-21T05:20:08.571Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:02:06.165Z"
  },
  "operator": {
    "key": "basketwatchireland.com",
    "name": "basketwatchireland.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 4,
    "answered": 4,
    "answered_percent": 100,
    "avg_listing_latency_ms": 735,
    "first_check_in_window": "2026-11-21T07:21:01.708Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-24",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "bf1a3dc066fcae23dacfc24b36cdeac7777d59d4268f20da9691766be416d0d5",
    "tools": 17,
    "resources": 2,
    "prompts": 3,
    "first_seen": "2026-11-21T07:21:02.491Z",
    "tool_names": [
      "status",
      "search_products",
      "compare_prices",
      "compare_price_across_stores",
      "lookup_barcode",
      "get_promotions",
      "best_deals",
      "recent_price_changes",
      "newly_added_products",
      "removed_products",
      "get_price_history",
      "get_product_details",
      "find_products",
      "price_basket",
      "price_basket_over_time",
      "price_movements",
      "check_credits"
    ],
    "declared": {
      "tools": [
        {
          "name": "status",
          "title": "Data freshness and coverage",
          "description": "A freshness snapshot per supermarket: products tracked, products on promotion, the last collection date and the status of the most recent run. Free to call.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "StoreFreshness": {
                "type": "object",
                "title": "StoreFreshness",
                "properties": {
                  "products": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Products",
                    "default": null
                  },
                  "on_promotion": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "On Promotion",
                    "default": null
                  },
                  "last_run_status": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Run Status",
                    "default": null
                  },
                  "last_scrape_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Scrape Date",
                    "default": null
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "Freshness",
            "properties": {
              "as_of": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "As Of",
                "default": null
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Status",
                "default": null
              },
              "stores": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {
                      "$ref": "#/$defs/StoreFreshness"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Stores",
                "default": null
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Data freshness and coverage",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_products",
          "title": "Search products by name",
          "description": "Search products by name across one or all Irish supermarkets: each shop's closest matches for the words, for a product that can be named (\"kerrygold butter\"). Matches on the name only: no ingredient, nutrition or offer filters, and no price sorting.\n\nThe answer has total (every match, with total_by_store when all five shops are searched) and as_of, the day the prices are from; when nothing matches, hint says which word no product has. unit_price is in the shop's own measure (unit_basis); price_per_kg or price_per_litre is the same figure per kilo or per litre. A row marked removed has left the shop's online range: its price is its last one, of the day in its scrape_date. Each product returned costs one credit.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 200,
                "minimum": 1,
                "description": "How many products to return in all; with no shop named they are shared out between the five (default 10, at most 200)."
              },
              "query": {
                "type": "string",
                "description": "Words from the product's name, e.g. 'heinz baked beans' or 'kerrygold butter'. Every word has to be in the name, so search one kind of product at a time: 'lentils', not 'lentils chickpeas beans'."
              },
              "store": {
                "anyOf": [
                  {
                    "enum": [
                      "aldi",
                      "tesco",
                      "supervalu",
                      "dunnes",
                      "lidl"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "One shop to look in only that one: aldi, tesco, supervalu, dunnes or lidl. Leave it out for all five."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "Product": {
                "type": "object",
                "title": "Product",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "description": "The shop's own product id, e.g. tesco:12345 (an Aldi id has no shop in front): the form a product_ids parameter takes"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Url",
                    "default": null
                  },
                  "name": {
                    "type": "string",
                    "title": "Name",
                    "description": "Product name as the shop lists it"
                  },
                  "brand": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Brand",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "Shelf price in euro: what anyone pays"
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null,
                    "description": "aldi, tesco, supervalu, dunnes or lidl"
                  },
                  "removed": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Removed",
                    "default": null,
                    "description": "1 when it has left the shop's online range; left out when it is on sale"
                  },
                  "available": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Available",
                    "default": null,
                    "description": "0 when the shop shows it as out of stock; left out when it is in stock"
                  },
                  "last_seen": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Seen",
                    "default": null,
                    "description": "The last day the shop listed it: given for a product that has left its range"
                  },
                  "pack_size": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack Size",
                    "default": null
                  },
                  "was_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Was Price",
                    "default": null,
                    "description": "The price the shop says it was before the offer"
                  },
                  "first_seen": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "First Seen",
                    "default": null,
                    "description": "The first day the shop listed it: given for a newly listed product"
                  },
                  "last_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Price",
                    "default": null,
                    "description": "Its price on that last day"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null,
                    "description": "The offer as the shop words it"
                  },
                  "shelf_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Shelf Path",
                    "default": null,
                    "description": "Where the retailer shelves it, every level, e.g. 'Fresh Food > Yoghurts > Kefir > Kefir Drinks'"
                  },
                  "unit_basis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Basis",
                    "default": null,
                    "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'"
                  },
                  "unit_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Price",
                    "default": null,
                    "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows"
                  },
                  "scrape_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Scrape Date",
                    "default": null,
                    "description": "The day this row's price was recorded, YYYY-MM-DD: given when it is not the answer's as_of"
                  },
                  "price_per_kg": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Kg",
                    "default": null,
                    "description": "unit_price worked out per kilo, where the shop prices the product by weight: the figure to compare packs of different sizes on (per kilo drained, where unit_basis says drained weight)"
                  },
                  "category_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Category Path",
                    "default": null
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  },
                  "price_per_litre": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Litre",
                    "default": null,
                    "description": "unit_price worked out per litre, where the shop prices the product by volume"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "ProductList",
            "properties": {
              "hint": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Hint",
                "default": null,
                "description": "Why nothing was found and what to try, when nothing was"
              },
              "more": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "More",
                "default": null,
                "description": "True when the page is full, so there may be more than limit allowed"
              },
              "as_of": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "As Of",
                "default": null,
                "description": "The day these prices were recorded, YYYY-MM-DD: the latest, where the shops differ"
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Query",
                "default": null
              },
              "store": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Store",
                "default": null,
                "description": "The shop asked for; missing for all five"
              },
              "total": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total",
                "default": null,
                "description": "How many products match in all. products holds only the first of them"
              },
              "errors": {
                "type": "object",
                "title": "Errors",
                "description": "A shop that could not be read, and why",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Offset",
                "default": null,
                "description": "How many rows this page skipped"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "products": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/Product"
                },
                "title": "Products"
              },
              "next_offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Next Offset",
                "default": null,
                "description": "The offset of the next page; missing on the last"
              },
              "total_by_store": {
                "type": "object",
                "title": "Total By Store",
                "description": "total at each shop",
                "additionalProperties": {
                  "type": "integer"
                }
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Search products by name",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "compare_prices",
          "title": "Where is a product cheapest",
          "description": "Find where a product is cheapest right now. Matches the same product at Aldi, Tesco, SuperValu, Dunnes Stores and Lidl and returns each store's current price side by side, with unit prices, offers and member prices (Tesco Clubcard, SuperValu Real Rewards, Lidl Plus). It answers for one product a call. To list the products matched at several stores, leave out query and set min_stores, e.g. min_stores=5 for every product matched at all five. Free: no BasketWatch account needed.\n\ntotal is how many matched products the search found in all. cheapest_match is the cheapest product of the kind asked for, by shelf price; matches lists the closest matches first, not the cheapest, so the first of them is not the cheapest. In each match, prices is keyed by store; cheapest_store goes by shelf price and cheapest_store_with_card by the loyalty-card price where a shop has one. unit_price is in the shop's own measure (unit_basis); price_per_kg or price_per_litre is the same figure per kilo or per litre. A store missing from \"prices\" did not have that product in its online range today and may still sell it in store: say \"not found online\", not that the store lacks it. offer_ends is the last day an offer applies (Irish time): say when an offer ends, as online orders are priced for the delivery or collection day.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 5,
                "maximum": 50,
                "minimum": 1,
                "description": "How many matched products to return (default 5, at most 50)."
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "The one product to compare, e.g. 'heinz ketchup' or 'kerrygold butter 454g'. Leave it out only to list what several shops stock (min_stores)."
              },
              "min_stores": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 2
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Only products matched at this many shops or more, 2 to 5. With no query, lists them: 5 for what all five sell."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "StorePrice": {
                "type": "object",
                "title": "StorePrice",
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Id",
                    "default": null,
                    "description": "This store's product id"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Url",
                    "default": null
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Name",
                    "default": null,
                    "description": "The product as this store lists it"
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "Shelf price in euro"
                  },
                  "was_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Was Price",
                    "default": null
                  },
                  "offer_ends": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Ends",
                    "default": null,
                    "description": "Last day the offer applies, YYYY-MM-DD, Irish time, where the retailer states it"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null
                  },
                  "unit_basis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Basis",
                    "default": null,
                    "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'"
                  },
                  "unit_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Price",
                    "default": null,
                    "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows"
                  },
                  "price_per_kg": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Kg",
                    "default": null,
                    "description": "unit_price worked out per kilo, where the shop prices the product by weight: the figure to compare packs of different sizes on (per kilo drained, where unit_basis says drained weight)"
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  },
                  "price_per_litre": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Litre",
                    "default": null,
                    "description": "unit_price worked out per litre, where the shop prices the product by volume"
                  }
                },
                "additionalProperties": true
              },
              "CheapestMatch": {
                "type": "object",
                "title": "CheapestMatch",
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Id",
                    "default": null,
                    "description": "That shop's product id"
                  },
                  "pack": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "That shelf price in euro"
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null,
                    "description": "The shop with its lowest shelf price"
                  },
                  "product": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Product",
                    "default": null,
                    "description": "The matched product, as in matches"
                  }
                },
                "additionalProperties": true
              },
              "ComparedProduct": {
                "type": "object",
                "title": "ComparedProduct",
                "properties": {
                  "pack": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack",
                    "default": null
                  },
                  "prices": {
                    "type": "object",
                    "title": "Prices",
                    "description": "Keyed by store (aldi, tesco, supervalu, dunnes, lidl); a store missing here did not have this product in its online range today (it may still sell it in store)",
                    "additionalProperties": {
                      "$ref": "#/$defs/StorePrice"
                    }
                  },
                  "product": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Product",
                    "default": null,
                    "description": "The matched product"
                  },
                  "cheapest_store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cheapest Store",
                    "default": null,
                    "description": "Lowest shelf price"
                  },
                  "cheapest_store_with_card": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cheapest Store With Card",
                    "default": null,
                    "description": "Lowest price for someone holding every shop's loyalty card: clubcard_price where a shop has one, else its shelf price"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "Comparison",
            "properties": {
              "hint": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Hint",
                "default": null,
                "description": "What to try, when nothing matched"
              },
              "as_of": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "As Of",
                "default": null,
                "description": "Price date, YYYY-MM-DD"
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Query",
                "default": null
              },
              "total": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total",
                "default": null,
                "description": "How many matched products the search found in all; matches holds the first of them (raise limit for more)"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "matches": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/ComparedProduct"
                },
                "title": "Matches"
              },
              "cheapest_match": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/CheapestMatch"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "With a query: the cheapest product that is the kind of thing asked for (butter for 'butter', never butter popcorn), by shelf price at any shop. It is one of matches"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Where is a product cheapest",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "compare_price_across_stores",
          "title": "Each shop's own matches for a product name",
          "description": "Raw per-store search results for a product name at all five supermarkets: every matching line at each store, including other pack sizes, without matching the same product across stores, so its rows are not like for like.\n\nstores is keyed by store, each shop's closest matches first; total_by_store is how many each has in all; as_of is the day the prices are from. Each product returned costs one credit, up to limit_per_store at each of the five stores.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "query": {
                "type": "string",
                "description": "Words from the product's name, e.g. 'heinz baked beans'. Every word has to be in the name."
              },
              "limit_per_store": {
                "type": "integer",
                "default": 5,
                "maximum": 50,
                "minimum": 1,
                "description": "How many matches to return from each shop (default 5, at most 50)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "Product": {
                "type": "object",
                "title": "Product",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "description": "The shop's own product id, e.g. tesco:12345 (an Aldi id has no shop in front): the form a product_ids parameter takes"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Url",
                    "default": null
                  },
                  "name": {
                    "type": "string",
                    "title": "Name",
                    "description": "Product name as the shop lists it"
                  },
                  "brand": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Brand",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "Shelf price in euro: what anyone pays"
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null,
                    "description": "aldi, tesco, supervalu, dunnes or lidl"
                  },
                  "removed": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Removed",
                    "default": null,
                    "description": "1 when it has left the shop's online range; left out when it is on sale"
                  },
                  "available": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Available",
                    "default": null,
                    "description": "0 when the shop shows it as out of stock; left out when it is in stock"
                  },
                  "last_seen": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Seen",
                    "default": null,
                    "description": "The last day the shop listed it: given for a product that has left its range"
                  },
                  "pack_size": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack Size",
                    "default": null
                  },
                  "was_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Was Price",
                    "default": null,
                    "description": "The price the shop says it was before the offer"
                  },
                  "first_seen": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "First Seen",
                    "default": null,
                    "description": "The first day the shop listed it: given for a newly listed product"
                  },
                  "last_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Price",
                    "default": null,
                    "description": "Its price on that last day"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null,
                    "description": "The offer as the shop words it"
                  },
                  "shelf_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Shelf Path",
                    "default": null,
                    "description": "Where the retailer shelves it, every level, e.g. 'Fresh Food > Yoghurts > Kefir > Kefir Drinks'"
                  },
                  "unit_basis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Basis",
                    "default": null,
                    "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'"
                  },
                  "unit_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Price",
                    "default": null,
                    "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows"
                  },
                  "scrape_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Scrape Date",
                    "default": null,
                    "description": "The day this row's price was recorded, YYYY-MM-DD: given when it is not the answer's as_of"
                  },
                  "price_per_kg": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Kg",
                    "default": null,
                    "description": "unit_price worked out per kilo, where the shop prices the product by weight: the figure to compare packs of different sizes on (per kilo drained, where unit_basis says drained weight)"
                  },
                  "category_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Category Path",
                    "default": null
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  },
                  "price_per_litre": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Litre",
                    "default": null,
                    "description": "unit_price worked out per litre, where the shop prices the product by volume"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "StoreSearch",
            "properties": {
              "hint": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Hint",
                "default": null,
                "description": "Why nothing was found and what to try, when nothing was"
              },
              "as_of": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "As Of",
                "default": null,
                "description": "The day these prices were recorded, YYYY-MM-DD: the latest, where the shops differ"
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Query",
                "default": null
              },
              "errors": {
                "type": "object",
                "title": "Errors",
                "description": "A shop that could not be read, and why",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "stores": {
                "type": "object",
                "title": "Stores",
                "description": "Each shop's own matches, closest first. A shop with none found nothing online by these words; it may still sell the product",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/Product"
                  }
                }
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "total_by_store": {
                "type": "object",
                "title": "Total By Store",
                "description": "How many products match at each shop in all",
                "additionalProperties": {
                  "type": "integer"
                }
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Each shop's own matches for a product name",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "lookup_barcode",
          "title": "Look up products by barcode",
          "description": "Find the products carrying one or more barcodes (GTIN, EAN or UPC) at Aldi, Tesco, SuperValu, Dunnes Stores and Lidl in one call: what a scanned or printed code is, and its price at each shop that lists it. Needs a signed-in BasketWatch account.\n\nReturns products (each with its store, matched_barcodes: which of the codes asked for it carries, name, brand, pack_size and price), not_found and invalid. One credit per barcode found, however many retailers stock it; codes with no match cost nothing.",
          "inputSchema": {
            "type": "object",
            "required": [
              "codes"
            ],
            "properties": {
              "codes": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "One barcode or up to 100 (GTIN, EAN or UPC), as a list or separated by commas, written as printed: leading zeros, spaces and hyphens are ignored. E.g. '5000127014084'."
              },
              "store": {
                "anyOf": [
                  {
                    "enum": [
                      "aldi",
                      "tesco",
                      "supervalu",
                      "dunnes",
                      "lidl"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "One shop to look in only that one: aldi, tesco, supervalu, dunnes or lidl. Leave it out for all five."
              },
              "include_copy": {
                "type": "boolean",
                "default": false,
                "description": "True to add each product's ingredients and nutrition per 100g where the shop publishes them."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "Product": {
                "type": "object",
                "title": "Product",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "description": "The shop's own product id, e.g. tesco:12345 (an Aldi id has no shop in front): the form a product_ids parameter takes"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Url",
                    "default": null
                  },
                  "name": {
                    "type": "string",
                    "title": "Name",
                    "description": "Product name as the shop lists it"
                  },
                  "brand": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Brand",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "Shelf price in euro: what anyone pays"
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null,
                    "description": "aldi, tesco, supervalu, dunnes or lidl"
                  },
                  "removed": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Removed",
                    "default": null,
                    "description": "1 when it has left the shop's online range; left out when it is on sale"
                  },
                  "available": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Available",
                    "default": null,
                    "description": "0 when the shop shows it as out of stock; left out when it is in stock"
                  },
                  "last_seen": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Seen",
                    "default": null,
                    "description": "The last day the shop listed it: given for a product that has left its range"
                  },
                  "pack_size": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack Size",
                    "default": null
                  },
                  "was_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Was Price",
                    "default": null,
                    "description": "The price the shop says it was before the offer"
                  },
                  "first_seen": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "First Seen",
                    "default": null,
                    "description": "The first day the shop listed it: given for a newly listed product"
                  },
                  "last_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Price",
                    "default": null,
                    "description": "Its price on that last day"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null,
                    "description": "The offer as the shop words it"
                  },
                  "shelf_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Shelf Path",
                    "default": null,
                    "description": "Where the retailer shelves it, every level, e.g. 'Fresh Food > Yoghurts > Kefir > Kefir Drinks'"
                  },
                  "unit_basis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Basis",
                    "default": null,
                    "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'"
                  },
                  "unit_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Price",
                    "default": null,
                    "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows"
                  },
                  "scrape_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Scrape Date",
                    "default": null,
                    "description": "The day this row's price was recorded, YYYY-MM-DD: given when it is not the answer's as_of"
                  },
                  "price_per_kg": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Kg",
                    "default": null,
                    "description": "unit_price worked out per kilo, where the shop prices the product by weight: the figure to compare packs of different sizes on (per kilo drained, where unit_basis says drained weight)"
                  },
                  "category_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Category Path",
                    "default": null
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  },
                  "price_per_litre": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Litre",
                    "default": null,
                    "description": "unit_price worked out per litre, where the shop prices the product by volume"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "BarcodeLookup",
            "properties": {
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "invalid": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Invalid",
                "description": "Codes that are not a barcode"
              },
              "matched": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Matched",
                "default": null,
                "description": "How many of the codes asked for were found"
              },
              "products": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/Product"
                },
                "title": "Products",
                "description": "Every shop's product carrying one of the codes, each with matched_barcodes: which of the codes asked for it carries"
              },
              "not_found": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Not Found",
                "description": "Codes no shop's product carries"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Look up products by barcode",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_promotions",
          "title": "Everything on offer at one shop",
          "description": "List products currently on promotion at a given supermarket, the biggest saving the shop states first. Every promotion can be reached: each call returns one page, and offset moves through the whole list. These are the shop's own offers, as it states them, on the products it still lists. Aldi runs no multibuys or member prices: its list is the price cuts and offers its own site shows.\n\nReturns offer label (e.g. \"3 for €5\", \"SAVE €0.75\"), was-price, validity window, offer_ends (the last day the offer applies, Irish time), and where applicable Tesco Clubcard prices, SuperValu Real Rewards prices, Dunnes member offers or Lidl Plus prices (scan the Lidl Plus app at the till). next_offset is the next page's offset, and is missing on the last page. Each offer returned costs one credit.",
          "inputSchema": {
            "type": "object",
            "required": [
              "store"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 25,
                "maximum": 200,
                "minimum": 1,
                "description": "How many offers to return in one page (default 25, at most 200)."
              },
              "store": {
                "enum": [
                  "aldi",
                  "tesco",
                  "supervalu",
                  "dunnes",
                  "lidl"
                ],
                "type": "string",
                "description": "The shop: aldi, tesco, supervalu, dunnes or lidl."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "How many rows to skip, for the next page: the next_offset of the page before (default 0)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "Promotion": {
                "type": "object",
                "title": "Promotion",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "description": "The shop's own product id, e.g. tesco:12345 (an Aldi id has no shop in front): the form a product_ids parameter takes"
                  },
                  "name": {
                    "type": "string",
                    "title": "Name"
                  },
                  "brand": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Brand",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "Price while on promotion"
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null
                  },
                  "pack_size": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack Size",
                    "default": null
                  },
                  "was_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Was Price",
                    "default": null,
                    "description": "Price before the promotion"
                  },
                  "offer_ends": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Ends",
                    "default": null,
                    "description": "Last day the offer applies, YYYY-MM-DD, Irish time, where the retailer states it"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null,
                    "description": "Offer label as displayed"
                  },
                  "unit_basis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Basis",
                    "default": null,
                    "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'"
                  },
                  "unit_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Price",
                    "default": null,
                    "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows"
                  },
                  "offer_valid": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Valid",
                    "default": null,
                    "description": "Validity window in the retailer's own wording"
                  },
                  "price_per_kg": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Kg",
                    "default": null,
                    "description": "unit_price worked out per kilo, where the shop prices the product by weight: the figure to compare packs of different sizes on (per kilo drained, where unit_basis says drained weight)"
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  },
                  "price_per_litre": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Litre",
                    "default": null,
                    "description": "unit_price worked out per litre, where the shop prices the product by volume"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "PromotionList",
            "properties": {
              "hint": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Hint",
                "default": null,
                "description": "What to try, when the page is empty"
              },
              "as_of": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "As Of",
                "default": null,
                "description": "The day these offers were recorded, YYYY-MM-DD"
              },
              "store": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Store",
                "default": null
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Offset",
                "default": null,
                "description": "How many rows this page skipped"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "promotions": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/Promotion"
                },
                "title": "Promotions",
                "description": "One page, the biggest saving the shop states first"
              },
              "next_offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Next Offset",
                "default": null,
                "description": "The offset of the next page; missing on the last"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Everything on offer at one shop",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "best_deals",
          "title": "Best real deals today",
          "description": "Today's real deals at Aldi, Tesco, SuperValu, Dunnes Stores and Lidl: offers at the lowest price on record for that product at that shop, or the first offer it has ever had. Each is measured against the product's own price history, not the shop's was price, so a recurring or long-running price does not count as a deal.\n\nThe biggest saving comes first, against the usual price or the price it typically sold at, whichever is less, so a product that is usually on offer does not lead. By that saving, the shops take turns among deals that save alike, so one shop does not fill the top of the list, and no deal comes ahead of one that saves more than twice as much. Every promotion on sale is judged, so this covers them all, and offset reaches every deal. Covers food, drinks, alcohol, household, baby and pet products unless another aisle is named. Tobacco, infant formula and medicines are never included.\n\nReturns {\"as_of\", \"note\", \"total\", \"deals\"}. total counts every deal for this search, across all pages, and next_offset is the next page's offset, missing on the last page. Each deal has name, store, pack, you_pay, regular_price, saving_eur, saving_pct, card_needed, buy_quantity, offer_ends, url and category, and the record behind it: kind, lowest_since, low_before, low_before_date, offer_start, run_start, days_on_offer, started_today, cut_today, yesterday_price, back_after_days, typical_price, offer_share and abv. started_today is true only for an offer that began on the collection day; an offer running for weeks whose price fell that day has cut_today instead, and offer_start says since when it has been on offer. One credit per deal returned.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 200,
                "minimum": 1,
                "description": "How many deals to return in one page (default 20, at most 200)."
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Words in the product's name or brand, e.g. \"heinz\" or \"baileys\": a product or a brand, never an aisle (few wines have the word wine in their name)."
              },
              "store": {
                "anyOf": [
                  {
                    "enum": [
                      "aldi",
                      "tesco",
                      "supervalu",
                      "dunnes",
                      "lidl"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "One shop to look in only that one: aldi, tesco, supervalu, dunnes or lidl. Leave it out for all five."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "How many rows to skip, for the next page: the next_offset of the page before (default 0)."
              },
              "category": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "An aisle or shelf, e.g. \"frozen\", \"household\" or \"toiletries\". \"alcohol\" is every drink above 0.5% ABV at the five chains, low-alcohol ones included. \"alcohol free\" is the drinks of 0.5% ABV or less: by the strength on record, by a name that says alcohol free, non-alcoholic, 0.0 or de-alcoholised, or, with no strength on record, by a shelf that says so (a shop's shared \"low and no\" shelf alone does not count); \"low and no\" adds the low-alcohol drinks on those shelves. The drinks aisles are \"wine\", \"beer\", \"cider\", \"spirits\" (liqueurs included), \"liqueurs\" and \"premixes\" (alcopops and canned cocktails), or a list such as \"beer and cider\". Together they hold all of \"alcohol\" but a drink whose shelf, name, type and strength place it in none of them, such as a beer shelved only under a shop's whole drinks department with only its brand for a name. \"drinks\" is every drink, alcohol included; \"soft drinks\" leaves alcohol out."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Deal": {
                "type": "object",
                "title": "Deal",
                "required": [
                  "id",
                  "name",
                  "store",
                  "you_pay",
                  "regular_price",
                  "saving_eur",
                  "saving_pct",
                  "kind"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "description": "Stable per-retailer product id, e.g. tesco:12345"
                  },
                  "abv": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Abv",
                    "default": null,
                    "description": "Alcohol by volume in percent, as the product's record has it. Empty when none is stated, and when the record cannot be right: over 100, over what a drink of its aisle reaches, or over 0.5 for a drink named alcohol free"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Url",
                    "default": null
                  },
                  "kind": {
                    "type": "string",
                    "title": "Kind",
                    "description": "lowest_ever: under every earlier price on record. first_time: the first offer on record for a product long known at this shop"
                  },
                  "name": {
                    "type": "string",
                    "title": "Name",
                    "description": "Product name as the retailer lists it"
                  },
                  "pack": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack",
                    "default": null,
                    "description": "Pack size as the retailer lists it"
                  },
                  "store": {
                    "type": "string",
                    "title": "Store",
                    "description": "aldi, tesco, supervalu, dunnes or lidl"
                  },
                  "you_pay": {
                    "type": "number",
                    "title": "You Pay",
                    "description": "What one item costs today at this offer, in euro"
                  },
                  "category": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Category",
                    "default": null,
                    "description": "The shop's department for this product"
                  },
                  "cut_today": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cut Today",
                    "default": null,
                    "description": "True when the price fell on the collection day on an offer that was running the day before too"
                  },
                  "run_start": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Run Start",
                    "default": null,
                    "description": "The day this price, or a lower one, began, YYYY-MM-DD: the saving is measured against the 90 days before it"
                  },
                  "low_before": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Low Before",
                    "default": null,
                    "description": "The lowest price on record before this offer"
                  },
                  "offer_ends": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Ends",
                    "default": null,
                    "description": "Last day the offer applies, YYYY-MM-DD, Irish time. Empty when the retailer states no end"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null,
                    "description": "Offer label as displayed"
                  },
                  "saving_eur": {
                    "type": "number",
                    "title": "Saving Eur",
                    "description": "regular_price minus you_pay, in euro"
                  },
                  "saving_pct": {
                    "type": "number",
                    "title": "Saving Pct",
                    "description": "The saving as a percentage of regular_price"
                  },
                  "card_needed": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Card Needed",
                    "default": null,
                    "description": "The loyalty card this price needs: Clubcard, Real Rewards or Lidl Plus. Empty when anyone gets it"
                  },
                  "offer_share": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Share",
                    "default": null,
                    "description": "The share of those 90 days it was on any offer, from 0 to 1"
                  },
                  "offer_start": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Start",
                    "default": null,
                    "description": "On offer since: the first day of the unbroken run of days on any offer, shelf or card price, that reaches the collection day, YYYY-MM-DD. The price can have changed during it"
                  },
                  "buy_quantity": {
                    "type": "integer",
                    "title": "Buy Quantity",
                    "default": 1,
                    "description": "How many to buy together to pay you_pay"
                  },
                  "lowest_since": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Lowest Since",
                    "default": null,
                    "description": "First day of this product's price record at this shop: the low holds from this day, YYYY-MM-DD"
                  },
                  "days_on_offer": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Days On Offer",
                    "default": null,
                    "description": "Days on offer without a break from offer_start to the collection day, both included"
                  },
                  "regular_price": {
                    "type": "number",
                    "title": "Regular Price",
                    "description": "The product's usual price at this shop, from its own price record: what the saving is measured against, in euro"
                  },
                  "started_today": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Started Today",
                    "default": null,
                    "description": "True only for an offer that began on the collection day: on offer that day, on none of the three days before, in stock the day before with no offer, and begun that day by the shop's own dates where it states them. A lower price on an offer already running is cut_today, not a new offer"
                  },
                  "typical_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Typical Price",
                    "default": null,
                    "description": "The median price over the 90 days before this offer, offer days included, in euro: below regular_price when it was often on offer"
                  },
                  "similar_offers": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Similar Offers",
                    "default": null,
                    "description": "More products at this shop with the same brand, price and label, not listed separately"
                  },
                  "back_after_days": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Back After Days",
                    "default": null,
                    "description": "For an offer that began on the collection day: the days with no offer right before it, 14 or more, after an earlier offer. Given only when the whole break is on the price record, so it is never a guess"
                  },
                  "low_before_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Low Before Date",
                    "default": null,
                    "description": "The last day it was at low_before, YYYY-MM-DD"
                  },
                  "yesterday_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Yesterday Price",
                    "default": null,
                    "description": "With cut_today, what it cost the day before, in euro, with the same card if one is needed"
                  }
                },
                "additionalProperties": true
              },
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "BestDeals",
            "required": [
              "note"
            ],
            "properties": {
              "hint": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Hint",
                "default": null,
                "description": "What to try, when no deal matched"
              },
              "note": {
                "type": "string",
                "title": "Note",
                "description": "What these savings are measured against, and the limits of the data"
              },
              "as_of": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "As Of",
                "default": null,
                "description": "Latest collection day behind these deals, YYYY-MM-DD"
              },
              "deals": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/Deal"
                },
                "title": "Deals",
                "description": "Biggest saving first, with the shops mixed unless one was named"
              },
              "total": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total",
                "default": null,
                "description": "How many deals there are today for this search, all pages"
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Offset",
                "default": null,
                "description": "How many deals this page skipped"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "next_offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Next Offset",
                "default": null,
                "description": "The offset of the next page; missing on the last"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Best real deals today",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "recent_price_changes",
          "title": "Yesterday to today at one shop",
          "description": "Price movements at one supermarket between the latest nightly snapshot and the previous one: shelf price rises and falls with old price, new price and % change, and promotions starting or ending listed separately (an offer ending is not a price rise). It covers those two snapshots only. The lists' _total fields say how many changed in all. Each product returned costs one credit.",
          "inputSchema": {
            "type": "object",
            "required": [
              "store"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 25,
                "maximum": 200,
                "minimum": 1,
                "description": "How many products to return in each list (default 25, at most 200)."
              },
              "store": {
                "enum": [
                  "aldi",
                  "tesco",
                  "supervalu",
                  "dunnes",
                  "lidl"
                ],
                "type": "string",
                "description": "The shop: aldi, tesco, supervalu, dunnes or lidl."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "PriceChange": {
                "type": "object",
                "title": "PriceChange",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id"
                  },
                  "pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pct",
                    "default": null,
                    "description": "Percentage change, signed"
                  },
                  "name": {
                    "type": "string",
                    "title": "Name"
                  },
                  "price_now": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Now",
                    "default": null
                  },
                  "prev_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Prev Price",
                    "default": null
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "PriceChanges",
            "properties": {
              "date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Date",
                "default": null,
                "description": "Snapshot being reported"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "prev_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Prev Date",
                "default": null,
                "description": "Snapshot compared against"
              },
              "promotions": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/PriceChange"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Promotions",
                "default": null,
                "description": "Offers starting or ending, not shelf moves"
              },
              "shelf_decreases": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/PriceChange"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Shelf Decreases",
                "default": null
              },
              "shelf_increases": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/PriceChange"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Shelf Increases",
                "default": null
              },
              "clubcard_changes": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/PriceChange"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Clubcard Changes",
                "default": null,
                "description": "Member price changes: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
              },
              "promotions_total": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Promotions Total",
                "default": null
              },
              "shelf_decreases_total": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Shelf Decreases Total",
                "default": null
              },
              "shelf_increases_total": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Shelf Increases Total",
                "default": null
              },
              "clubcard_changes_total": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Clubcard Changes Total",
                "default": null
              }
            },
            "description": "The /changes payload.\n\nShelf moves, promotions and loyalty-card changes are deliberately SEPARATE\nbuckets, not one blended list: an expiring offer is not a price rise, and\nmerging them turns a price report into a promotions calendar.",
            "additionalProperties": true
          },
          "annotations": {
            "title": "Yesterday to today at one shop",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "newly_added_products",
          "title": "Newly listed products at one shop",
          "description": "Products newly listed at a supermarket within a configurable lookback window: range additions and new launches, each with first_seen, the day it appeared. more is true when the page is full, so there may be more. Each product returned costs one credit.",
          "inputSchema": {
            "type": "object",
            "required": [
              "store"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 25,
                "maximum": 200,
                "minimum": 1,
                "description": "How many products to return (default 25, at most 200)."
              },
              "store": {
                "enum": [
                  "aldi",
                  "tesco",
                  "supervalu",
                  "dunnes",
                  "lidl"
                ],
                "type": "string",
                "description": "The shop: aldi, tesco, supervalu, dunnes or lidl."
              },
              "days_back": {
                "type": "integer",
                "default": 7,
                "maximum": 90,
                "minimum": 1,
                "description": "How many days back to look (default 7, at most 90)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "Product": {
                "type": "object",
                "title": "Product",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "description": "The shop's own product id, e.g. tesco:12345 (an Aldi id has no shop in front): the form a product_ids parameter takes"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Url",
                    "default": null
                  },
                  "name": {
                    "type": "string",
                    "title": "Name",
                    "description": "Product name as the shop lists it"
                  },
                  "brand": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Brand",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "Shelf price in euro: what anyone pays"
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null,
                    "description": "aldi, tesco, supervalu, dunnes or lidl"
                  },
                  "removed": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Removed",
                    "default": null,
                    "description": "1 when it has left the shop's online range; left out when it is on sale"
                  },
                  "available": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Available",
                    "default": null,
                    "description": "0 when the shop shows it as out of stock; left out when it is in stock"
                  },
                  "last_seen": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Seen",
                    "default": null,
                    "description": "The last day the shop listed it: given for a product that has left its range"
                  },
                  "pack_size": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack Size",
                    "default": null
                  },
                  "was_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Was Price",
                    "default": null,
                    "description": "The price the shop says it was before the offer"
                  },
                  "first_seen": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "First Seen",
                    "default": null,
                    "description": "The first day the shop listed it: given for a newly listed product"
                  },
                  "last_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Price",
                    "default": null,
                    "description": "Its price on that last day"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null,
                    "description": "The offer as the shop words it"
                  },
                  "shelf_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Shelf Path",
                    "default": null,
                    "description": "Where the retailer shelves it, every level, e.g. 'Fresh Food > Yoghurts > Kefir > Kefir Drinks'"
                  },
                  "unit_basis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Basis",
                    "default": null,
                    "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'"
                  },
                  "unit_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Price",
                    "default": null,
                    "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows"
                  },
                  "scrape_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Scrape Date",
                    "default": null,
                    "description": "The day this row's price was recorded, YYYY-MM-DD: given when it is not the answer's as_of"
                  },
                  "price_per_kg": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Kg",
                    "default": null,
                    "description": "unit_price worked out per kilo, where the shop prices the product by weight: the figure to compare packs of different sizes on (per kilo drained, where unit_basis says drained weight)"
                  },
                  "category_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Category Path",
                    "default": null
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  },
                  "price_per_litre": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Litre",
                    "default": null,
                    "description": "unit_price worked out per litre, where the shop prices the product by volume"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "ProductList",
            "properties": {
              "hint": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Hint",
                "default": null,
                "description": "Why nothing was found and what to try, when nothing was"
              },
              "more": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "More",
                "default": null,
                "description": "True when the page is full, so there may be more than limit allowed"
              },
              "as_of": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "As Of",
                "default": null,
                "description": "The day these prices were recorded, YYYY-MM-DD: the latest, where the shops differ"
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Query",
                "default": null
              },
              "store": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Store",
                "default": null,
                "description": "The shop asked for; missing for all five"
              },
              "total": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total",
                "default": null,
                "description": "How many products match in all. products holds only the first of them"
              },
              "errors": {
                "type": "object",
                "title": "Errors",
                "description": "A shop that could not be read, and why",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Offset",
                "default": null,
                "description": "How many rows this page skipped"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "products": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/Product"
                },
                "title": "Products"
              },
              "next_offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Next Offset",
                "default": null,
                "description": "The offset of the next page; missing on the last"
              },
              "total_by_store": {
                "type": "object",
                "title": "Total By Store",
                "description": "total at each shop",
                "additionalProperties": {
                  "type": "integer"
                }
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Newly listed products at one shop",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "removed_products",
          "title": "Products one shop stopped listing",
          "description": "Products that have disappeared from a supermarket's catalogue: delistings and range cuts, each with last_seen, the last day it was listed, and last_price. A product counts as removed once it has been off the shop's site for 8 days (3 at Lidl, whose whole range is read every night), so the window runs from days_back days ago to that many days ago and never covers the last days. A product missing online may still be sold in store: it is no longer listed online, which is not the same as discontinued. more is true when the page is full, so there may be more. Each product returned costs one credit.",
          "inputSchema": {
            "type": "object",
            "required": [
              "store"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 25,
                "maximum": 200,
                "minimum": 1,
                "description": "How many products to return (default 25, at most 200)."
              },
              "store": {
                "enum": [
                  "aldi",
                  "tesco",
                  "supervalu",
                  "dunnes",
                  "lidl"
                ],
                "type": "string",
                "description": "The shop: aldi, tesco, supervalu, dunnes or lidl."
              },
              "days_back": {
                "type": "integer",
                "default": 21,
                "maximum": 90,
                "minimum": 4,
                "description": "How many days back to look (default 21, from 4 to 90). A product counts as removed once it has been off the shop's site for 8 days (3 at Lidl, whose whole range is read every night), so the newest day covered is that many days ago, and a shorter look-back is widened to reach it."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "Product": {
                "type": "object",
                "title": "Product",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "description": "The shop's own product id, e.g. tesco:12345 (an Aldi id has no shop in front): the form a product_ids parameter takes"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Url",
                    "default": null
                  },
                  "name": {
                    "type": "string",
                    "title": "Name",
                    "description": "Product name as the shop lists it"
                  },
                  "brand": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Brand",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "Shelf price in euro: what anyone pays"
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null,
                    "description": "aldi, tesco, supervalu, dunnes or lidl"
                  },
                  "removed": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Removed",
                    "default": null,
                    "description": "1 when it has left the shop's online range; left out when it is on sale"
                  },
                  "available": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Available",
                    "default": null,
                    "description": "0 when the shop shows it as out of stock; left out when it is in stock"
                  },
                  "last_seen": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Seen",
                    "default": null,
                    "description": "The last day the shop listed it: given for a product that has left its range"
                  },
                  "pack_size": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack Size",
                    "default": null
                  },
                  "was_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Was Price",
                    "default": null,
                    "description": "The price the shop says it was before the offer"
                  },
                  "first_seen": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "First Seen",
                    "default": null,
                    "description": "The first day the shop listed it: given for a newly listed product"
                  },
                  "last_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Price",
                    "default": null,
                    "description": "Its price on that last day"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null,
                    "description": "The offer as the shop words it"
                  },
                  "shelf_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Shelf Path",
                    "default": null,
                    "description": "Where the retailer shelves it, every level, e.g. 'Fresh Food > Yoghurts > Kefir > Kefir Drinks'"
                  },
                  "unit_basis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Basis",
                    "default": null,
                    "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'"
                  },
                  "unit_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Price",
                    "default": null,
                    "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows"
                  },
                  "scrape_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Scrape Date",
                    "default": null,
                    "description": "The day this row's price was recorded, YYYY-MM-DD: given when it is not the answer's as_of"
                  },
                  "price_per_kg": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Kg",
                    "default": null,
                    "description": "unit_price worked out per kilo, where the shop prices the product by weight: the figure to compare packs of different sizes on (per kilo drained, where unit_basis says drained weight)"
                  },
                  "category_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Category Path",
                    "default": null
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  },
                  "price_per_litre": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Litre",
                    "default": null,
                    "description": "unit_price worked out per litre, where the shop prices the product by volume"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "ProductList",
            "properties": {
              "hint": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Hint",
                "default": null,
                "description": "Why nothing was found and what to try, when nothing was"
              },
              "more": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "More",
                "default": null,
                "description": "True when the page is full, so there may be more than limit allowed"
              },
              "as_of": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "As Of",
                "default": null,
                "description": "The day these prices were recorded, YYYY-MM-DD: the latest, where the shops differ"
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Query",
                "default": null
              },
              "store": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Store",
                "default": null,
                "description": "The shop asked for; missing for all five"
              },
              "total": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total",
                "default": null,
                "description": "How many products match in all. products holds only the first of them"
              },
              "errors": {
                "type": "object",
                "title": "Errors",
                "description": "A shop that could not be read, and why",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Offset",
                "default": null,
                "description": "How many rows this page skipped"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "products": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/Product"
                },
                "title": "Products"
              },
              "next_offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Next Offset",
                "default": null,
                "description": "The offset of the next page; missing on the last"
              },
              "total_by_store": {
                "type": "object",
                "title": "Total By Store",
                "description": "total at each shop",
                "additionalProperties": {
                  "type": "integer"
                }
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Products one shop stopped listing",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_price_history",
          "title": "Price history",
          "description": "A product's recorded daily prices over a date range. BasketWatch has kept every night's price at Aldi, Tesco, SuperValu and Dunnes Stores since May 2026 and at Lidl since 17 October 2026, and, with with_nutrition_and_ingredients, each day's nutrition per 100g or 100ml and ingredients list as the retailer's own data stated them, kept since 16 October 2026: for questions like \"has the sugar in Frosties changed\".\n\nTakes product ids (as returned in product results; an Aldi id has no store prefix, and \"aldi:\" in front of one is accepted) or a query; with a query, the closest matching product at each shop is looked up first, one a shop, so a month of days fits whole, and each row names the product it is for. A range returns one row per product per day, and each row costs one credit; with from_date equal to to_date, one day's price is returned. One credit per row comes to about 31 for one product for a month and about 155 for a product at five shops, and a look-up by name adds one for each shop that has the product.\n\nEvery product gets the same days. When products x days would pass the row limit, the range is shortened to its most recent days for all of them and note says so; ids with no price in the range are listed in not_found.\n\nReturns rows (id, name, store, scrape_date, price, unit_price, unit_basis, clubcard_price, offer_text, was_price), the days covered, not_found, note.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 200,
                    "minimum": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Most rows to return in all (default and most 200). Fewer than products x days cuts the range to its most recent days for every product."
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Product name words, used when no product_ids are given: the closest match at each shop is looked up, one a shop."
              },
              "store": {
                "anyOf": [
                  {
                    "enum": [
                      "aldi",
                      "tesco",
                      "supervalu",
                      "dunnes",
                      "lidl"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "One shop to look in only that one: aldi, tesco, supervalu, dunnes or lidl. Leave it out for all five."
              },
              "to_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Last day, YYYY-MM-DD. Left out: today."
              },
              "from_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "First day, YYYY-MM-DD. Left out: 30 days before to_date."
              },
              "product_ids": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Product ids exactly as another tool gave them, e.g. ['tesco:300793546', 'dunnes:100873410', '000000000000387044'], up to 50. The sure way to name a product."
              },
              "with_nutrition_and_ingredients": {
                "type": "boolean",
                "default": false,
                "description": "True to add each day's nutrition per 100g or 100ml to every row, and the ingredients list on a product's first day and on any day it changed. Days before 16 October 2026 have none."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "Nutrition": {
                "type": "object",
                "title": "Nutrition",
                "properties": {
                  "fat_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Fat G",
                    "default": null
                  },
                  "salt_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Salt G",
                    "default": null
                  },
                  "sugars_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sugars G",
                    "default": null
                  },
                  "energy_kj": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Energy Kj",
                    "default": null
                  },
                  "protein_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Protein G",
                    "default": null
                  },
                  "energy_kcal": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Energy Kcal",
                    "default": null
                  },
                  "carbohydrate_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Carbohydrate G",
                    "default": null
                  }
                },
                "additionalProperties": true
              },
              "PricePoint": {
                "type": "object",
                "title": "PricePoint",
                "required": [
                  "id",
                  "scrape_date"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "description": "Per-retailer product id, e.g. tesco:12345"
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Name",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "Shelf price in euro that day"
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null
                  },
                  "was_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Was Price",
                    "default": null
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null
                  },
                  "unit_basis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Basis",
                    "default": null,
                    "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'"
                  },
                  "unit_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Price",
                    "default": null,
                    "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows"
                  },
                  "ingredients": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Ingredients",
                    "default": null,
                    "description": "The ingredients list, on a product's first day and on any day it changed (with_nutrition_and_ingredients)"
                  },
                  "scrape_date": {
                    "type": "string",
                    "title": "Scrape Date",
                    "description": "The day this price was recorded, YYYY-MM-DD"
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price that day: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  },
                  "nutrition_per_100": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/Nutrition"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "That day's nutrition per 100g or 100ml, as the retailer's own data stated it (with_nutrition_and_ingredients)"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "PriceHistory",
            "properties": {
              "note": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Note",
                "default": null,
                "description": "What was left out and why, when anything was"
              },
              "rows": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/PricePoint"
                },
                "title": "Rows",
                "description": "One row per product per day recorded, each product's days in order"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "to_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "To Date",
                "default": null,
                "description": "Last day covered, YYYY-MM-DD"
              },
              "products": {
                "type": "integer",
                "title": "Products",
                "default": 0,
                "description": "How many products have rows"
              },
              "from_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "From Date",
                "default": null,
                "description": "First day covered, YYYY-MM-DD"
              },
              "not_found": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Not Found",
                "description": "Requested ids with no price recorded in the range: an unknown id, or a product not on sale then"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Price history",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_product_details",
          "title": "Nutrition, ingredients and product details",
          "description": "Nutrition per 100g or 100ml (energy, fat, carbohydrate, sugars, protein, salt), the ingredients list as printed (allergens included), how many ingredients it lists, country of origin, a quality mark the pack shows (Bord Bia Quality Assured), alcohol strength, pack size, description and today's price, for particular products.\n\nProducts are looked up by product id (store-prefixed, as returned in product results), by the retailer's own item numbers (skus with store, as printed on its receipts), or by name (query). ingredients_incomplete marks an ingredient list on record that is cut short, which cannot show that an ingredient is absent. A product looked up by id or item number answers even after it has left the shop's range: in_range_today false marks one, and its price is then the last one recorded (price_date), not today's. Ids with no product on record are listed in not_found. Results carry a note that nutrition and ingredients are for information only. Each product returned costs one credit.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "skus": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "The shop's own item numbers, as printed on its receipts, e.g. ['100873410'], up to 50. Needs store. An Aldi article number can return several variants."
              },
              "limit": {
                "type": "integer",
                "default": 5,
                "maximum": 50,
                "minimum": 1,
                "description": "Most products to return for a query (default 5, at most 50)."
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Product name words, e.g. 'kellogg's corn flakes'."
              },
              "store": {
                "anyOf": [
                  {
                    "enum": [
                      "aldi",
                      "tesco",
                      "supervalu",
                      "dunnes",
                      "lidl"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "aldi, tesco, supervalu, dunnes or lidl: needed with skus; narrows a query; left out, all five."
              },
              "product_ids": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Product ids exactly as another tool gave them, e.g. ['tesco:300793546', 'dunnes:100873410', '000000000000387044'], up to 50. The sure way to name a product."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "Nutrition": {
                "type": "object",
                "title": "Nutrition",
                "properties": {
                  "fat_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Fat G",
                    "default": null
                  },
                  "salt_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Salt G",
                    "default": null
                  },
                  "sugars_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sugars G",
                    "default": null
                  },
                  "energy_kj": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Energy Kj",
                    "default": null
                  },
                  "protein_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Protein G",
                    "default": null
                  },
                  "energy_kcal": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Energy Kcal",
                    "default": null
                  },
                  "carbohydrate_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Carbohydrate G",
                    "default": null
                  }
                },
                "additionalProperties": true
              },
              "ProductDetail": {
                "type": "object",
                "title": "ProductDetail",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Url",
                    "default": null
                  },
                  "name": {
                    "type": "string",
                    "title": "Name"
                  },
                  "brand": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Brand",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "Shelf price in euro on price_date: today's, unless in_range_today is false"
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null
                  },
                  "origin": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Origin",
                    "default": null,
                    "description": "Every country the label states, where it was made and where its main ingredient is from, e.g. 'Ireland', 'Ireland, EU, non-EU' (produced in Ireland using EU and non-EU chicken) or 'China, Spain, Argentina' for a blend; missing where none is stated"
                  },
                  "pack_size": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack Size",
                    "default": null
                  },
                  "offer_ends": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Ends",
                    "default": null,
                    "description": "Last day the offer applies, YYYY-MM-DD, Irish time, where the retailer states it"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null,
                    "description": "The offer as the shop words it"
                  },
                  "price_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Date",
                    "default": null,
                    "description": "The day price was recorded, YYYY-MM-DD"
                  },
                  "shelf_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Shelf Path",
                    "default": null,
                    "description": "Where the retailer shelves it, every level, e.g. 'Fresh Food > Yoghurts > Kefir > Kefir Drinks'"
                  },
                  "unit_basis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Basis",
                    "default": null,
                    "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'"
                  },
                  "unit_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Price",
                    "default": null,
                    "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows"
                  },
                  "alcohol_abv": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Alcohol Abv",
                    "default": null,
                    "description": "Alcohol by volume, percent"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Description",
                    "default": null
                  },
                  "ingredients": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Ingredients",
                    "default": null,
                    "description": "As printed, allergens included"
                  },
                  "origin_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Origin Text",
                    "default": null,
                    "description": "The origin statement in the source's own words"
                  },
                  "price_per_kg": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Kg",
                    "default": null,
                    "description": "unit_price worked out per kilo, where the shop prices the product by weight: the figure to compare packs of different sizes on (per kilo drained, where unit_basis says drained weight)"
                  },
                  "origin_source": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Origin Source",
                    "default": null,
                    "description": "Where the origin came from"
                  },
                  "quality_marks": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Quality Marks",
                    "default": null,
                    "description": "Quality marks on record for the product, e.g. 'Bord Bia Quality Assured' or 'Organic': read off the shop's photo of the pack, or said in the shop's own words about the product; missing where none is on record, which does not say the pack has none"
                  },
                  "allergy_advice": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Allergy Advice",
                    "default": null,
                    "description": "The retailer's allergy advice, kept apart from the ingredients: what the product contains and may contain, e.g. 'Contains: Milk. May contain: Nuts.'; missing where the retailer publishes none"
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  },
                  "in_range_today": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "In Range Today",
                    "default": null,
                    "description": "For a product looked up by id or item number: false when the shop's latest catalogue day does not list it, so price is its last recorded price and not a price to buy at today"
                  },
                  "price_per_litre": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Litre",
                    "default": null,
                    "description": "unit_price worked out per litre, where the shop prices the product by volume"
                  },
                  "ingredient_count": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Ingredient Count",
                    "default": null,
                    "description": "How many ingredients the label lists (a compound ingredient's own bracketed list counts as one); missing when it cannot be told reliably"
                  },
                  "nutrition_source": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Nutrition Source",
                    "default": null,
                    "description": "Where the nutrition values came from"
                  },
                  "nutrition_per_100": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/Nutrition"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Per 100g, or per 100ml for drinks"
                  },
                  "alcohol_abv_source": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Alcohol Abv Source",
                    "default": null,
                    "description": "Where the strength came from: the retailer's own listing, worked out from its alcohol units per bottle or can, or the same barcode at another store"
                  },
                  "ingredients_source": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Ingredients Source",
                    "default": null,
                    "description": "Where the ingredient list came from: the retailer, the same product (same barcode) at another retailer, or Open Food Facts"
                  },
                  "ingredients_incomplete": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Ingredients Incomplete",
                    "default": null,
                    "description": "True when the list on record appears cut short, so it is not the full list and cannot show that something is absent"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "ProductDetails",
            "required": [
              "note"
            ],
            "properties": {
              "hint": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Hint",
                "default": null,
                "description": "What to try, when a name found nothing"
              },
              "note": {
                "type": "string",
                "title": "Note"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "products": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/ProductDetail"
                },
                "title": "Products"
              },
              "not_found": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Not Found",
                "description": "Requested product_ids with no product on record"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Nutrition, ingredients and product details",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "find_products",
          "title": "Find products by ingredients, nutrition, quality mark, offers or price",
          "description": "Find products that meet ingredient, nutrition, alcohol or offer conditions, optionally sorted. For questions like \"biscuits without palm oil\", \"nut-free snacks at Tesco\", \"vegan chocolate\", \"cereal with the least sugar\", \"high protein yoghurt\", \"bread with the fewest ingredients\", \"alcohol-free beer\", \"low salt soup\" or \"cheapest olive oil at Aldi\". Fibre and saturated fat are not recorded. quality_mark finds products by mark (Bord Bia, organic, free range), with or without a query.\n\nA search is for one kind of product: every word of query has to be in a product's name, so several kinds in one query (\"lentils chickpeas beans\") match nothing. A search on price or offers alone returns short rows: name, pack, shop, shelf, price, offer and unit price (unit_price in the shop's own measure, price_per_kg or price_per_litre the same figure per kilo or per litre). A search with an ingredient, nutrition, additive, origin or strength condition, or sorted on one, returns each product's label as well: nutrition, ingredients, ingredient count, allergy advice and where they came from. detail chooses either for any search.\n\nWith no store, results alternate across the stores (each store's best match, then each store's next), and matched_by_store gives each store's full count: the first row is one store's best, and the best of a kind across the stores is among each store's first rows. The counts add up: of_kind, the products that are the kind searched for, is matched + left_out_unknown + left_out_failed_filters + left_out_partly_from_origin + left_out_may_contain, and \"N of M\" is matched of of_kind.\n\nA product whose ingredient list or nutrition is not on record, or whose ingredient list on record is incomplete, is left out, never assumed to pass: left_out_unknown counts them, left_out_by_reason gives the reasons, and caveats lists known gaps (Aldi's own ingredient lists are often cut short, so an Aldi product is offered as free from something only when its full list comes from the same barcode at Tesco, SuperValu or Dunnes). Claims printed in a product's NAME, such as \"gluten free\", \"lactose free\", \"alcohol free\" or \"vegan\", are matched through query; exclude_ingredients also checks the ingredients. Alcohol strength is recorded for most SuperValu, Dunnes and Tesco drinks but few at Aldi or Lidl; \"alcohol free\" and \"0.0\" in query match drinks named that way.\n\nAnswers come from the ingredient lists and nutrition the retailers publish. Where a retailer gives no list, it may come from the same barcode at another retailer or from Open Food Facts (ingredients_source); an Open Food Facts list is never used to show a product is free from something. \"Free from\" means none of the listed ingredients names it; not every \"may contain\" warning is covered. Results that show ingredients or nutrition carry a note that this is information only. Each product returned costs one credit. When a search excludes an allergen, every product carries allergy_check. Show that line with every product you mention, word for word.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 50,
                "minimum": 1,
                "description": "Most products to return (default 10, at most 50)."
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "The kind of product, in the words on its name: 'biscuits', 'dark chocolate', 'olive oil'. One kind a call: every word has to be in the name. A claim printed in the name can be part of it ('gluten free', 'alcohol free', 'vegan', '0.0'), and so can a provenance word ('Irish honey'). Needed unless category is given."
              },
              "store": {
                "anyOf": [
                  {
                    "enum": [
                      "aldi",
                      "tesco",
                      "supervalu",
                      "dunnes",
                      "lidl"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "One shop to look in only that one: aldi, tesco, supervalu, dunnes or lidl. Leave it out for all five."
              },
              "detail": {
                "anyOf": [
                  {
                    "enum": [
                      "short",
                      "full"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "'short' rows hold name, pack, shop, shelf, price, offer and unit price; 'full' rows hold each product's label as well (nutrition, ingredients, allergy advice). Left out: short for a search on price or offers alone, full for a search with any condition or sort on the label."
              },
              "origin": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Country of origin, e.g. 'Ireland' (or 'Irish'); several separated by commas. A product matches only when every country its label states is one asked for: 'Made in Ireland' with 'EU chicken' is not Irish chicken, and is counted in left_out_partly_from_origin. Northern Ireland answers for Ireland (one island, one Bord Bia scheme), not the other way round. Products with no stated origin are counted in left_out_unknown."
              },
              "max_abv": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Most alcohol by volume, in percent: 0.5 for alcohol-free drinks."
              },
              "min_abv": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Least alcohol by volume, in percent. A drink with no strength on record never passes it, and few Aldi and Lidl drinks have one on record: a search for ordinary wine, beer or spirits with a minimum leaves them all out."
              },
              "sort_by": {
                "anyOf": [
                  {
                    "enum": [
                      "price",
                      "unit_price",
                      "sugar",
                      "salt",
                      "fat",
                      "carbs",
                      "protein",
                      "kcal",
                      "abv",
                      "ingredients",
                      "additives"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Sort by this, lowest first: price, unit_price (per kg or litre, to compare pack sizes), sugar, salt, fat, carbs, protein, kcal, abv, ingredients (how many) or additives. Products that are the kind searched for come before name-only matches (name_match_only), so 'chocolate' by price does not lead with chocolate-flavour popcorn."
              },
              "category": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "An aisle or shelf to narrow by, e.g. 'Breakfast Cereals' or 'Kefir'. A shop with no shelf of that name is searched by product name instead, and caveats names the shops where that happened."
              },
              "max_kcal": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Most kilocalories per 100g or 100ml."
              },
              "on_offer": {
                "type": "boolean",
                "default": false,
                "description": "True for only products on promotion or with a member price today (Tesco Clubcard, SuperValu Real Rewards, Lidl Plus)."
              },
              "max_fat_g": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Most fat, in grams per 100g or 100ml."
              },
              "descending": {
                "type": "boolean",
                "default": false,
                "description": "True for highest first, e.g. most protein."
              },
              "max_salt_g": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Most salt, in grams per 100g or 100ml."
              },
              "max_carbs_g": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Most carbohydrate, in grams per 100g or 100ml."
              },
              "max_sugar_g": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Most sugars, in grams per 100g or 100ml, e.g. 5."
              },
              "quality_mark": {
                "anyOf": [
                  {
                    "enum": [
                      "bord_bia",
                      "organic",
                      "free_range",
                      "guaranteed_irish",
                      "love_irish_food"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Only products on record with this quality mark: 'bord_bia' (Bord Bia Quality Assured), 'organic', 'free_range', 'guaranteed_irish' or 'love_irish_food'. It works with no query at all, listing them (matched_by_store gives each shop's count; a store, category or query narrows it), and with any other condition. The mark's own words are not search words. A mark is on record where the shop's own words about the product say it (its name, label or description), or where it was read off Aldi's or Lidl's photo of the pack. The answer's caveats say how far each mark's record reaches: a product not found here may still carry it."
              },
              "max_additives": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "At most this many additives in the whole ingredient list, 0 for none: each E-number or additive by name once (preservatives, emulsifiers, raising agents, acidity regulators, thickeners, colours and the like); flavourings, vitamins, minerals and colouring foods are not additives. A list that is cut short or comes from Open Food Facts is left out as unknown, unless what it shows is already too many."
              },
              "min_protein_g": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Least protein, in grams per 100g or 100ml."
              },
              "max_ingredients": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "At most this many listed ingredients, e.g. 5. A compound ingredient's own bracketed list counts as one."
              },
              "exclude_ingredients": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Ingredients the product has to be free of, e.g. ['palm oil'], ['nuts', 'sesame'], ['vegan']. These words cover every label term under them: palm oil, nuts (peanuts too), peanuts, gluten, milk (dairy), eggs, soya, sesame, mustard, celery, fish, crustaceans, molluscs, shellfish, sulphites, lupin, gelatine, alcohol, added sugar, sweeteners, pork, meat, vegetarian, vegan. Any other word is matched as written ('coconut'). A product whose allergy advice says it contains or may contain one is left out too (left_out_may_contain)."
              },
              "include_ingredients": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Ingredients the product has to contain, e.g. ['oats']."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "Nutrition": {
                "type": "object",
                "title": "Nutrition",
                "properties": {
                  "fat_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Fat G",
                    "default": null
                  },
                  "salt_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Salt G",
                    "default": null
                  },
                  "sugars_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sugars G",
                    "default": null
                  },
                  "energy_kj": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Energy Kj",
                    "default": null
                  },
                  "protein_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Protein G",
                    "default": null
                  },
                  "energy_kcal": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Energy Kcal",
                    "default": null
                  },
                  "carbohydrate_g": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Carbohydrate G",
                    "default": null
                  }
                },
                "additionalProperties": true
              },
              "FoundProduct": {
                "type": "object",
                "title": "FoundProduct",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Url",
                    "default": null
                  },
                  "name": {
                    "type": "string",
                    "title": "Name"
                  },
                  "brand": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Brand",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "Today's shelf price in euro"
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null
                  },
                  "origin": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Origin",
                    "default": null,
                    "description": "Every country the label states, e.g. 'Ireland' or 'Ireland, EU, non-EU'"
                  },
                  "pack_size": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack Size",
                    "default": null
                  },
                  "offer_ends": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Ends",
                    "default": null,
                    "description": "Last day the offer applies, YYYY-MM-DD, Irish time, where the retailer states it"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null
                  },
                  "shelf_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Shelf Path",
                    "default": null,
                    "description": "Where the retailer shelves it, every level, e.g. 'Fresh Food > Yoghurts > Kefir > Kefir Drinks'"
                  },
                  "unit_basis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Basis",
                    "default": null,
                    "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'"
                  },
                  "unit_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Price",
                    "default": null,
                    "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows"
                  },
                  "alcohol_abv": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Alcohol Abv",
                    "default": null,
                    "description": "Alcohol by volume, percent"
                  },
                  "ingredients": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Ingredients",
                    "default": null,
                    "description": "As printed; very long lists are shortened"
                  },
                  "price_per_kg": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Kg",
                    "default": null,
                    "description": "unit_price worked out per kilo, where the shop prices the product by weight: the figure to compare packs of different sizes on (per kilo drained, where unit_basis says drained weight)"
                  },
                  "origin_source": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Origin Source",
                    "default": null,
                    "description": "Where the origin came from"
                  },
                  "quality_marks": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Quality Marks",
                    "default": null,
                    "description": "Quality marks on record for the product, e.g. 'Bord Bia Quality Assured' or 'Organic': read off the shop's photo of the pack, or said in the shop's own words about the product; missing where none is on record, which does not say the pack has none"
                  },
                  "additive_count": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Additive Count",
                    "default": null,
                    "description": "How many additives the whole ingredient list names (each E-number or additive by name once; flavourings, vitamins, minerals and colouring foods are not counted), given when the search sorted or filtered on additives"
                  },
                  "allergy_advice": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Allergy Advice",
                    "default": null,
                    "description": "The retailer's allergy advice: what the product contains and may contain, e.g. 'May contain: Nuts.'"
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  },
                  "name_match_only": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Name Match Only",
                    "default": null,
                    "description": "True when only the name matched the search, not the kind of product: chocolate popcorn for 'chocolate'. Sorted results list these last"
                  },
                  "price_per_litre": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Litre",
                    "default": null,
                    "description": "unit_price worked out per litre, where the shop prices the product by volume"
                  },
                  "ingredient_count": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Ingredient Count",
                    "default": null,
                    "description": "How many ingredients the label lists (a compound ingredient's own bracketed list counts as one)"
                  },
                  "nutrition_per_100": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/Nutrition"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Per 100g, or per 100ml for drinks"
                  },
                  "alcohol_abv_source": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Alcohol Abv Source",
                    "default": null,
                    "description": "Where the strength came from: the retailer's own listing, worked out from its alcohol units per bottle or can, or the same barcode at another store"
                  },
                  "ingredients_source": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Ingredients Source",
                    "default": null,
                    "description": "Where the ingredient list came from: the retailer, the same product (same barcode) at another retailer, or Open Food Facts"
                  },
                  "ingredients_incomplete": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Ingredients Incomplete",
                    "default": null,
                    "description": "True when the list on record appears cut short"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "FoundProducts",
            "properties": {
              "hint": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Hint",
                "default": null,
                "description": "Why nothing was found and what to try, when nothing was"
              },
              "note": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Note",
                "default": null,
                "description": "What the ingredients and nutrition shown are and are not: given whenever a row carries either"
              },
              "as_of": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "As Of",
                "default": null,
                "description": "Price date, YYYY-MM-DD"
              },
              "caveats": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Caveats",
                "description": "Limits of this answer: pass them on"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "matched": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Matched",
                "default": null,
                "description": "Products that passed every filter"
              },
              "of_kind": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Of Kind",
                "default": null,
                "description": "Products that are the kind of thing searched for, whatever the filters made of them: matched + left_out_unknown + left_out_failed_filters + left_out_partly_from_origin + left_out_may_contain. Use it for 'N of M': matched of of_kind"
              },
              "products": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/FoundProduct"
                },
                "title": "Products"
              },
              "considered": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Considered",
                "default": null,
                "description": "Every product the search looked at: of_kind + left_out_other_kind"
              },
              "left_out_unknown": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Left Out Unknown",
                "default": null,
                "description": "Of the kind, but left out because the ingredients, nutrition or value a filter or sort needs is not on record for them, or the ingredient list is incomplete"
              },
              "matched_by_store": {
                "type": "object",
                "title": "Matched By Store",
                "description": "How many products passed at each store (more than are returned)",
                "additionalProperties": {
                  "type": "integer"
                }
              },
              "of_kind_by_store": {
                "type": "object",
                "title": "Of Kind By Store",
                "description": "of_kind at each store",
                "additionalProperties": {
                  "type": "integer"
                }
              },
              "candidates_capped": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Candidates Capped",
                "default": null,
                "description": "True when the search words matched more products than one search looks at: every count is then of the best matches only, so say 'at least'"
              },
              "left_out_by_store": {
                "type": "object",
                "title": "Left Out By Store",
                "description": "left_out_unknown at each store",
                "additionalProperties": {
                  "type": "integer"
                }
              },
              "left_out_by_reason": {
                "type": "object",
                "title": "Left Out By Reason",
                "description": "Why the left_out_unknown products could not be judged, with counts",
                "additionalProperties": {
                  "type": "integer"
                }
              },
              "left_out_other_kind": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Left Out Other Kind",
                "default": null,
                "description": "Products that only mention the search words but are a different kind of product (honey roast ham for 'honey'), left out"
              },
              "left_out_may_contain": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Left Out May Contain",
                "default": null,
                "description": "With ingredients excluded: products whose ingredient list passed but whose allergy advice says they contain or may contain one, left out"
              },
              "left_out_failed_filters": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Left Out Failed Filters",
                "default": null,
                "description": "Of the kind and judged, but a filter said no: over a limit, an ingredient named, not on offer, or from another country"
              },
              "left_out_partly_from_origin": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Left Out Partly From Origin",
                "default": null,
                "description": "With an origin asked for: products whose label names that country AND another ('Made in Ireland' from 'EU chicken'), left out as not wholly from it"
              },
              "left_out_may_contain_examples": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Left Out May Contain Examples",
                "description": "A few of those, each with its allergy advice"
              },
              "left_out_partly_from_origin_examples": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Left Out Partly From Origin Examples",
                "description": "A few of those, each with the origin it states"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Find products by ingredients, nutrition, quality mark, offers or price",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "price_basket",
          "title": "Price a shopping list or receipt",
          "description": "Price a whole shopping list, or every line of a grocery receipt (up to 100 lines in one call), at Aldi, Tesco, SuperValu, Dunnes Stores and Lidl: each item matched to the same product at every store, the cheapest store for each item, each store's basket total, and a cheaper product of the same kind (often own-label) where one exists.\n\nEach line takes name (plain words with brand and size, e.g. \"avonmore fresh milk 2l\"; receipt abbreviations such as \"AVNMR FRSH MLK 2L\" match poorly) and optionally sku (the retailer's item number as printed on its receipts; the name is used when the number is not found), barcode, store, quantity, and paid (the line total, which gives the saving against what was paid). Irish product names say \"low fat milk\" for what the UK calls \"semi skimmed\". Bags, deposits, discounts and totals are not products.\n\nReturns, per line, the match and matched_by (sku, barcode or name), the cheapest store and price, a cheaper alternative with its pack size and, for a receipt, price_at_store_bought; then each store's total with its items_missing, cheapest_complete_store, mix_and_match_total and not_found. A store's total covers only the lines found in its online range, so a total with items_missing is a smaller basket, not a cheaper shop. Prices are each retailer's online shelf price from the overnight collection; in-store prices can differ. Member prices (Tesco Clubcard, SuperValu Real Rewards, Lidl Plus) are reported separately. Each matched item costs one credit; items not found are free.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "BasketItem": {
                "type": "object",
                "properties": {
                  "sku": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "The retailer's own item number printed on the receipt line, when there is one"
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Brand, product and size in plain words, e.g. 'avonmore fresh milk 2l', '12 eggs', 'dozen eggs'"
                  },
                  "paid": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "The line total printed on the receipt, in euro"
                  },
                  "size": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "The pack size wanted, when not in name, e.g. '2L', '500g': chooses that size at each store"
                  },
                  "count": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "How many items in the pack, when not in name, e.g. 12 for a dozen eggs, 6 for a six pack. Not how many packs were bought: that is quantity"
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "aldi, tesco, supervalu, dunnes or lidl; defaults to the basket's store"
                  },
                  "barcode": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "The product's barcode (EAN), when known"
                  },
                  "quantity": {
                    "type": "number",
                    "default": 1,
                    "description": "How many were bought"
                  }
                }
              }
            },
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/BasketItem"
                },
                "description": "The lines, up to 100, e.g. [{'name': 'avonmore fresh milk 2l', 'quantity': 2}, {'name': 'brennans wholemeal bread'}]; for a receipt add sku and paid: {'sku': '100685955', 'name': 'dunnes baked beans', 'quantity': 2, 'paid': 1.30}."
              },
              "store": {
                "anyOf": [
                  {
                    "enum": [
                      "aldi",
                      "tesco",
                      "supervalu",
                      "dunnes",
                      "lidl"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "The shop the receipt is from (aldi, tesco, supervalu, dunnes or lidl), used for any line that names none. Leave it out for a shopping list."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "BasketLine": {
                "type": "object",
                "title": "BasketLine",
                "required": [
                  "item",
                  "matched"
                ],
                "properties": {
                  "item": {
                    "type": "string",
                    "title": "Item"
                  },
                  "paid": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Paid",
                    "default": null
                  },
                  "asked": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Asked",
                    "default": null,
                    "description": "The size or count the line asked for, read from its name or its size and count: {'size': '2 L'}, {'count': 12}, {'count': 6, 'each': '330 ml'}"
                  },
                  "matched": {
                    "$ref": "#/$defs/BasketMatch"
                  },
                  "quantity": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Quantity",
                    "default": null
                  },
                  "searched_as": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Searched As",
                    "default": null,
                    "description": "The words that found the match"
                  },
                  "pack_differs": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack Differs",
                    "default": null,
                    "description": "True when this was priced at another pack size or count than the one the line asked for: not like for like, in the line or in a total"
                  },
                  "saving_vs_paid": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Saving Vs Paid",
                    "default": null,
                    "description": "What was paid minus the cheapest price for the same quantity"
                  },
                  "cheapest_alternative": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/BasketAlternative"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "A cheaper product of the same kind, often own-label, where there is one"
                  }
                },
                "additionalProperties": true
              },
              "StoreTotal": {
                "type": "object",
                "title": "StoreTotal",
                "properties": {
                  "total": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Total",
                    "default": null
                  },
                  "items_priced": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Items Priced",
                    "default": null
                  },
                  "items_missing": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Items Missing",
                    "default": null,
                    "description": "Matched items not found in this store's online range today (it may still sell them in store)"
                  }
                },
                "additionalProperties": true
              },
              "BasketMatch": {
                "type": "object",
                "title": "BasketMatch",
                "properties": {
                  "pack": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack",
                    "default": null
                  },
                  "prices": {
                    "type": "object",
                    "title": "Prices",
                    "description": "Keyed by store; a store missing here did not have this product in its online range today (it may still sell it in store)",
                    "additionalProperties": {
                      "$ref": "#/$defs/BasketStorePrice"
                    }
                  },
                  "product": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Product",
                    "default": null
                  },
                  "cheapest_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cheapest Price",
                    "default": null
                  },
                  "cheapest_store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cheapest Store",
                    "default": null
                  }
                },
                "additionalProperties": true
              },
              "BasketStorePrice": {
                "type": "object",
                "title": "BasketStorePrice",
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Id",
                    "default": null
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Name",
                    "default": null,
                    "description": "The product as this store lists it"
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "Shelf price in euro"
                  },
                  "offer_ends": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Ends",
                    "default": null,
                    "description": "Last day the offer applies, YYYY-MM-DD, Irish time, where the retailer states it"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null
                  },
                  "unit_basis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Basis",
                    "default": null,
                    "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'"
                  },
                  "unit_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Price",
                    "default": null,
                    "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows"
                  },
                  "price_per_kg": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Kg",
                    "default": null,
                    "description": "unit_price worked out per kilo, where the shop prices the product by weight: the figure to compare packs of different sizes on (per kilo drained, where unit_basis says drained weight)"
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  },
                  "price_per_litre": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Litre",
                    "default": null,
                    "description": "unit_price worked out per litre, where the shop prices the product by volume"
                  }
                },
                "additionalProperties": true
              },
              "BasketAlternative": {
                "type": "object",
                "title": "BasketAlternative",
                "properties": {
                  "pack": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null
                  },
                  "product": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Product",
                    "default": null
                  },
                  "unit_basis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Basis",
                    "default": null,
                    "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'"
                  },
                  "unit_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Price",
                    "default": null,
                    "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows"
                  },
                  "price_per_kg": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Kg",
                    "default": null,
                    "description": "unit_price worked out per kilo, where the shop prices the product by weight: the figure to compare packs of different sizes on (per kilo drained, where unit_basis says drained weight)"
                  },
                  "price_per_litre": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Per Litre",
                    "default": null,
                    "description": "unit_price worked out per litre, where the shop prices the product by volume"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "Basket",
            "properties": {
              "note": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Note",
                "default": null
              },
              "as_of": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "As Of",
                "default": null,
                "description": "Price date, YYYY-MM-DD"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/BasketLine"
                },
                "title": "Items"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "not_found": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Not Found",
                "description": "Items with no match"
              },
              "paid_total": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Paid Total",
                "default": null
              },
              "different_pack": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Different Pack",
                "description": "Items priced at another pack size than the one asked for, so not like for like"
              },
              "saving_vs_paid": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Saving Vs Paid",
                "default": null
              },
              "lidl_plus_total": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lidl Plus Total",
                "default": null,
                "description": "Lidl total using Lidl Plus prices where Lidl has one"
              },
              "totals_by_store": {
                "type": "object",
                "title": "Totals By Store",
                "additionalProperties": {
                  "$ref": "#/$defs/StoreTotal"
                }
              },
              "mix_and_match_total": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Mix And Match Total",
                "default": null,
                "description": "Each item bought at its cheapest store"
              },
              "tesco_clubcard_total": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Tesco Clubcard Total",
                "default": null,
                "description": "Tesco total using Clubcard prices where Tesco has one"
              },
              "cheapest_complete_store": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Cheapest Complete Store",
                "default": null,
                "description": "The cheapest store among those with every matched item found in its online range today"
              },
              "with_alternatives_total": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "With Alternatives Total",
                "default": null,
                "description": "As mix_and_match_total, taking each cheaper alternative where there is one"
              },
              "supervalu_real_rewards_total": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Supervalu Real Rewards Total",
                "default": null,
                "description": "SuperValu total using Real Rewards prices where SuperValu has one"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Price a shopping list or receipt",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "price_basket_over_time",
          "title": "What a basket cost on an earlier date",
          "description": "How the cost of the same basket changed between two dates, at the store it was bought from: each product's price on both dates, whether it was on promotion, the basket total on each date, and the products that moved it. BasketWatch has recorded every product's price every night since May 2026 (Lidl's since 17 October 2026). Up to 100 lines per call; each line takes name, sku (the retailer's printed item number, with the line's words in name), barcode, store and quantity.\n\nchange_pct is the change in what the basket cost (promotions included); shelf_change_pct is regular prices only, so the gap between the two is promotions starting or ending, not price rises. biggest_rises and biggest_falls list the lines that moved most; pack_changed marks a product whose pack size changed, confirmed over three days of records (a smaller pack at the same price is a hidden rise). Lines in not_compared were not found, or not sold on one of the dates.\n\nEach product compared costs one credit.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "BasketItem": {
                "type": "object",
                "properties": {
                  "sku": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "The retailer's own item number printed on the receipt line, when there is one"
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Brand, product and size in plain words, e.g. 'avonmore fresh milk 2l', '12 eggs', 'dozen eggs'"
                  },
                  "paid": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "The line total printed on the receipt, in euro"
                  },
                  "size": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "The pack size wanted, when not in name, e.g. '2L', '500g': chooses that size at each store"
                  },
                  "count": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "How many items in the pack, when not in name, e.g. 12 for a dozen eggs, 6 for a six pack. Not how many packs were bought: that is quantity"
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "aldi, tesco, supervalu, dunnes or lidl; defaults to the basket's store"
                  },
                  "barcode": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "The product's barcode (EAN), when known"
                  },
                  "quantity": {
                    "type": "number",
                    "default": 1,
                    "description": "How many were bought"
                  }
                }
              }
            },
            "required": [
              "items",
              "from_date"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/BasketItem"
                },
                "description": "The lines, up to 100, e.g. [{'name': 'avonmore fresh milk 2l', 'quantity': 2}, {'name': 'brennans wholemeal bread'}]; for a receipt add sku and paid: {'sku': '100685955', 'name': 'dunnes baked beans', 'quantity': 2, 'paid': 1.30}."
              },
              "store": {
                "anyOf": [
                  {
                    "enum": [
                      "aldi",
                      "tesco",
                      "supervalu",
                      "dunnes",
                      "lidl"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "The shop the receipt is from (aldi, tesco, supervalu, dunnes or lidl), used for any line that names none. Leave it out for a shopping list."
              },
              "to_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "The later date, YYYY-MM-DD. Left out: today."
              },
              "from_date": {
                "type": "string",
                "description": "The earlier date, YYYY-MM-DD, e.g. 2026-08-06."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "PriceOnDate": {
                "type": "object",
                "title": "PriceOnDate",
                "properties": {
                  "date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Date",
                    "default": null,
                    "description": "The day this price was recorded (the latest record on or before the date asked)"
                  },
                  "pack": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "What it cost that day, promotions included"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null
                  },
                  "shelf_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Shelf Price",
                    "default": null,
                    "description": "Its regular price that day, without promotions"
                  },
                  "on_promotion": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "On Promotion",
                    "default": null
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  }
                },
                "additionalProperties": true
              },
              "LineOverTime": {
                "type": "object",
                "title": "LineOverTime",
                "required": [
                  "item"
                ],
                "properties": {
                  "now": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/PriceOnDate"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "item": {
                    "type": "string",
                    "title": "Item"
                  },
                  "then": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/PriceOnDate"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null
                  },
                  "change": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Change",
                    "default": null,
                    "description": "Price change per unit, euro"
                  },
                  "product": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Product",
                    "default": null
                  },
                  "quantity": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Quantity",
                    "default": null
                  },
                  "change_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Change Pct",
                    "default": null
                  },
                  "matched_by": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Matched By",
                    "default": null,
                    "description": "sku, barcode or name"
                  },
                  "line_change": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Line Change",
                    "default": null,
                    "description": "Change for the quantity bought, euro"
                  },
                  "pack_changed": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack Changed",
                    "default": null,
                    "description": "The pack size changed between the dates"
                  },
                  "shelf_change": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Shelf Change",
                    "default": null,
                    "description": "Regular-price change per unit, euro"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "BasketOverTime",
            "properties": {
              "note": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Note",
                "default": null
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/LineOverTime"
                },
                "title": "Items"
              },
              "change": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Change",
                "default": null,
                "description": "total_now minus total_then, euro"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "to_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "To Date",
                "default": null
              },
              "from_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "From Date",
                "default": null
              },
              "total_now": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Now",
                "default": null
              },
              "change_pct": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Change Pct",
                "default": null
              },
              "total_then": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Then",
                "default": null
              },
              "not_compared": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Not Compared",
                "description": "Lines not found, or not sold on one date"
              },
              "biggest_falls": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Biggest Falls"
              },
              "biggest_rises": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Biggest Rises"
              },
              "items_unchanged": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Items Unchanged",
                "default": null
              },
              "shelf_total_now": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Shelf Total Now",
                "default": null
              },
              "shelf_change_pct": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Shelf Change Pct",
                "default": null,
                "description": "Change in regular prices only: real price moves, without promotions"
              },
              "shelf_total_then": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Shelf Total Then",
                "default": null
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "What a basket cost on an earlier date",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "price_movements",
          "title": "How a kind of product's prices moved",
          "description": "How a whole category's prices moved between two dates, in one call: the biggest regular-price rises and falls, promotions starting and ending, member price changes (Tesco Clubcard, SuperValu Real Rewards, Lidl Plus) and pack-size changes, kept apart, with a summary over every product compared (average and median shelf change, counts of rises and falls) overall and per store.\n\nshelf_rise and shelf_fall are changes to the regular price; promotion_started and promotion_ended are changes in what was paid while the regular price stayed the same (a product at 18 euro on promotion and 23 euro after is a promotion ending, not a 27.8% price rise); loyalty_change is a member price moving; pack_change is the same product in a different pack size, confirmed over three days of records (a smaller pack at the same price is a hidden rise); was_price_change is an offer running at both dates while only its \"was\" price moved, kept out of the shelf figures because nobody paid it. Averages are geometric, so a half-price offer starting and ending cancel out; average_member_paid_change_pct uses member prices where they apply.\n\nEach mover returned costs one credit; the summaries are free.",
          "inputSchema": {
            "type": "object",
            "required": [
              "from_date"
            ],
            "properties": {
              "group": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "A kind of product: beer, cider, wine, spirits, alcohol, or any product type such as breakfast cereal, butter, coffee, crisps, nappies. Narrower words work too ('vodka', 'red wine')."
              },
              "kinds": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "enum": [
                        "shelf_rise",
                        "shelf_fall",
                        "promotion_started",
                        "promotion_ended",
                        "loyalty_change",
                        "pack_change",
                        "was_price_change"
                      ],
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Which lists to return. Left out: all seven."
              },
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 50,
                "minimum": 1,
                "description": "Most products in each list (default 10, at most 50)."
              },
              "query": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Product or brand words, with or without group, e.g. 'guinness'."
              },
              "store": {
                "anyOf": [
                  {
                    "enum": [
                      "aldi",
                      "tesco",
                      "supervalu",
                      "dunnes",
                      "lidl"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "One shop to look in only that one: aldi, tesco, supervalu, dunnes or lidl. Leave it out for all five."
              },
              "rank_by": {
                "enum": [
                  "pct",
                  "eur"
                ],
                "type": "string",
                "default": "pct",
                "description": "Rank each list by the percentage change (pct, the default) or the change in euro (eur)."
              },
              "to_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "The later date, YYYY-MM-DD. Left out: today."
              },
              "category": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "An aisle name to narrow by."
              },
              "from_date": {
                "type": "string",
                "description": "The earlier date, YYYY-MM-DD (prices are kept since May 2026)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Mover": {
                "type": "object",
                "title": "Mover",
                "required": [
                  "kind"
                ],
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Id",
                    "default": null
                  },
                  "now": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/PriceOnDate"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "kind": {
                    "type": "string",
                    "title": "Kind",
                    "description": "shelf_rise, shelf_fall, promotion_started, promotion_ended, loyalty_change, pack_change or was_price_change"
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Name",
                    "default": null
                  },
                  "then": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/PriceOnDate"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "brand": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Brand",
                    "default": null
                  },
                  "store": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Store",
                    "default": null
                  },
                  "paid_change": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Paid Change",
                    "default": null,
                    "description": "Change in what it cost, promotions included"
                  },
                  "pack_changed": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack Changed",
                    "default": null
                  },
                  "shelf_change": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Shelf Change",
                    "default": null,
                    "description": "Regular-price change, euro"
                  },
                  "paid_change_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Paid Change Pct",
                    "default": null
                  },
                  "shelf_change_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Shelf Change Pct",
                    "default": null
                  },
                  "on_promotion_both_dates": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "On Promotion Both Dates",
                    "default": null,
                    "description": "An offer ran at both dates: a shelf change here is the label's regular ('was') price moving while shoppers paid the offer price"
                  }
                },
                "additionalProperties": true
              },
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              },
              "PriceOnDate": {
                "type": "object",
                "title": "PriceOnDate",
                "properties": {
                  "date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Date",
                    "default": null,
                    "description": "The day this price was recorded (the latest record on or before the date asked)"
                  },
                  "pack": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Pack",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null,
                    "description": "What it cost that day, promotions included"
                  },
                  "offer_text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offer Text",
                    "default": null
                  },
                  "shelf_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Shelf Price",
                    "default": null,
                    "description": "Its regular price that day, without promotions"
                  },
                  "on_promotion": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "On Promotion",
                    "default": null
                  },
                  "clubcard_price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Clubcard Price",
                    "default": null,
                    "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "Movements",
            "properties": {
              "note": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Note",
                "default": null
              },
              "movers": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/Mover"
                },
                "title": "Movers"
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "summary": {
                "type": "object",
                "title": "Summary",
                "description": "Over EVERY product compared, not only those listed",
                "additionalProperties": true
              },
              "to_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "To Date",
                "default": null
              },
              "from_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "From Date",
                "default": null
              },
              "summary_by_store": {
                "type": "object",
                "title": "Summary By Store",
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "How a kind of product's prices moved",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "check_credits",
          "title": "Your credit balance",
          "description": "How many BasketWatch credits the signed-in account has left, and when they expire. Free to call. One credit is one record returned.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Credits": {
                "type": "object",
                "title": "Credits",
                "required": [
                  "used"
                ],
                "properties": {
                  "left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Left",
                    "default": null,
                    "description": "Credits left on the account after it"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null,
                    "description": "Said when the balance is low, or when it cut this answer short"
                  },
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "description": "Credits this answer cost: one for each record it returned"
                  }
                },
                "additionalProperties": true
              }
            },
            "title": "CreditBalance",
            "properties": {
              "plan": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Plan",
                "default": null
              },
              "credits": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Credits"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
              },
              "metered": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Metered",
                "default": null,
                "description": "True when the account pays per record from credits"
              },
              "expiring": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Expiring",
                "description": "Credits still to expire, soonest first: credits, expires_at (UTC) and bought_at. Credits last 30 days from purchase and the soonest to expire are spent first"
              },
              "next_expiry": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Next Expiry",
                "default": null,
                "description": "When the next credits expire (UTC), or null"
              },
              "never_expires": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Never Expires",
                "default": null,
                "description": "Credits bought before 15 October 2026, which never expire"
              },
              "credits_remaining": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Credits Remaining",
                "default": null,
                "description": "One credit is one record returned"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Your credit balance",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "What BasketWatch covers",
          "uri": "basketwatch://catalogue",
          "mimeType": "text/markdown",
          "description": "The stores, datasets and conventions, so a model does not have to guess."
        },
        {
          "name": "Today's data freshness",
          "uri": "basketwatch://freshness",
          "mimeType": "application/json",
          "description": "Per-retailer coverage and last run status. Free and unmetered."
        }
      ],
      "prompts": [
        {
          "name": "cheapest_shop",
          "description": "Compare a shopping list across all five supermarkets.\n\n    Args:\n        items: comma-separated products, e.g. \"butter, teabags, chicken breasts\".\n    ",
          "arguments": [
            {
              "name": "items",
              "required": true
            }
          ]
        },
        {
          "name": "price_watch",
          "description": "Summarise recent price movements at one retailer.\n\n    Args:\n        store: aldi, tesco, supervalu, dunnes or lidl.\n    ",
          "arguments": [
            {
              "name": "store",
              "required": false
            }
          ]
        },
        {
          "name": "promotion_sweep",
          "description": "Find the promotions actually worth acting on at one retailer.\n\n    Args:\n        store: aldi, tesco, supervalu, dunnes or lidl.\n        budget: optional cap, e.g. \"under 3 euro\".\n    ",
          "arguments": [
            {
              "name": "store",
              "required": false
            },
            {
              "name": "budget",
              "required": false
            }
          ]
        }
      ]
    },
    "instructions": "Irish grocery prices and labels at Aldi, Tesco, SuperValu, Dunnes Stores and Lidl, read from each shop's website every night: shelf prices, offers, loyalty-card prices, daily price history (since May 2026; Lidl since 17 October 2026), ingredients, nutrition and country of origin.\n\nCost. compare_prices, status and check_credits are free. Every other tool uses credits from the person's BasketWatch account, one for each record it returns, and its answer says what it used and what is left (credits). Make sure the person knows: the first time a tool uses credits in a conversation, say that it did and how many are left. For a call likely to use more than about 30 (a long price history, a full page of offers), say what it is likely to cost and go ahead; for a job likely to use more than about 150 in all, ask first. It answers questions and exports no shop's range: an account can look up only so many different products a day.\n\nWhich tool. Where one product is cheapest: compare_prices. A shopping list or a receipt: price_basket, once, with every line. Products by what is in them, their nutrition, an offer or a quality mark, or sorted by price: find_products. A product by name with nothing to filter or sort: search_products. The label of particular products: get_product_details. Today's offers: best_deals for those that are a real low, get_promotions for everything one shop has on offer. How prices moved: get_price_history for products, price_movements for a whole kind of product, price_basket_over_time for a basket.\n\nReading an answer. Prices are each shop's online price on the day in as_of; prices in store can differ. price is what anyone pays, clubcard_price what a member pays (Tesco Clubcard, SuperValu Real Rewards, Lidl Plus). Compare packs on price_per_kg or price_per_litre, never on unit_price, which each shop states in its own measure. A shop with no price for a product did not have it in its online range that day: say \"not found online\", never that the shop does not sell it. A product id goes back into another tool exactly as it was given. Nutrition and ingredients are for information only: tell people to check the pack, and never to rely on them for an allergy."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}