Usual menus answer first

API

When you ask for the menu of a location Layout has not read yet, POST /v1/menus and the MCP menu tool now answer at once with the restaurant's usual menu, when Layout knows it. Before, the answer was status: "reading". See POST /v1/menus.

What changed

  • Which menu comes back. This location's own recent menu first. Then the restaurant's usual menu, marked scope: "chain". A live read starts only when Layout has neither.
  • Choices on a usual menu. Each item now carries optionGroups, in the same shape as a location's own menu: name, required, options, and moreOptions when a group has more than 24.
  • No prices. Prices belong to each location, so a usual menu's items and options carry none, and pricesUnavailable is true.
  • No allowance spent. A usual menu draws nothing from your menu read allowance. The per-person request limit still applies.
{
  "status": "menu",
  "scope": "chain",
  "pricesUnavailable": true,
  "items": [
    { "name": "Latte", "category": "Drinks",
      "optionGroups": [{ "name": "Milk", "required": true, "options": ["Whole", "Oat"] }] }
  ]
}

Why it matters

You get a menu, with each dish's choices, on the first call for most locations of a restaurant Layout already knows, instead of polling a read.

What to do

Treat scope: "chain" as what this location probably carries, not its exact menu, and show no prices for it. A later request can return the location's own priced menu, with no scope.

Breaking changes

None. No field was removed. You may see scope: "chain" more often, and status: "reading" less often.

All changes