MCPMCP Tools/Locations/create_location_menu

create_location_menu

Writelocations:write

Create a client-owned menu with sections, items and accessible asset photos. Requires Clients access. Does not assign locations automatically.

Parameters
clientIdstringrequired
Owning client ID or public ID. Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
menuobjectrequired
namestringoptional
Menu name.
descriptionoptional
Optional description; omitted or null clears it on replacement.
currencystringoptional
Three-letter uppercase currency code; defaults to USD.
sectionsobject[]optional
Ordered sections. At most 50 sections and 1,000 items overall. Omitted sections become empty on replacement.
namestringoptional
Section name.
descriptionoptional
Optional description; omitted or null clears it on replacement.
itemsobject[]optional
Ordered items, at most 200 per section.
namestringoptional
Item name.
descriptionoptional
Optional description; omitted or null clears it on replacement.
priceoptional
Nonnegative price.
caloriesoptional
Nonnegative whole-number calories.
allergensoptional
Allergens.
ingredientsoptional
Ingredients.
photoKeysstring[]optional
At most 20 accessible asset keys, such as upload:abc. Raw URLs are not accepted.
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_location_menu",
    "arguments": {
      "clientId": "string",
      "menu": {}
    }
  }
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Response shape shown for illustration — the actual content depends on the tool and your data.