Koskamo

Lokand Restaurant MCP

An official MCP server provided by Lokand that allows AI agents to programmatically create, manage, and publish restaurant websites and menus. It supports importing menus from photos or URLs, updating dish availability, and handling billing links without requiring the restaurant owner to log in.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Lokand Restaurant MCP logo, by LokandVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-30Operated by Lokand
You need:Connect your account when prompted — you'll sign in and approve what Claude may manageSign in with your Lokand account when prompted
MCP endpoint (Streamable HTTP)
https://api.lokand.com/mcp
Vendor documentation

What its tools do

99 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

99 of 99 have a description · 99 of 99 declare behavior hints · 5 of 97 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to lokand.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 4 of 4 checks passed in 30 days

What you can do with it

  • Create a restaurant website from a menu photo
  • Import menu data from an existing website or PDF
  • Update menu items and publish changes
  • Generate upgrade payment links

Source and maintenance

Vendor evidenceRegistry 1.0.2

Protocol and capabilities

Server
lokand 1.0.14
MCP protocol negotiated in check
2025-11-25
Tools
99 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools

99 advertised

get_started — Get started
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

How to use Lokand as an agent: the recipes for creating a restaurant for a customer, editing menus, and handing over ownership. Call this first if you're unsure what to do.

get_started input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {}
}
get_started annotations
{
  "title": "Get started",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
list_businesses — List businesses
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List the businesses the signed-in user is a member of (id, name, slug, role). Use it to pick the business_id other ops need.

list_businesses input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {}
}
list_businesses annotations
{
  "title": "List businesses",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
get_business — Get business
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Look up a public Lokand restaurant/business by its slug. Returns profile, hours, contact info, locale and theme metadata.

get_business input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "slug"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "description": "The business's public slug"
    }
  },
  "additionalProperties": false
}
get_business annotations
{
  "title": "Get business",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
list_menus — List menus
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List the active menus of a public Lokand restaurant by its slug.

list_menus input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "slug"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "description": "The business's public slug"
    }
  },
  "additionalProperties": false
}
list_menus annotations
{
  "title": "List menus",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
get_menu — Get menu
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Fetch a single menu (categories + items with prices) of a public Lokand restaurant.

get_menu input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "slug",
    "menu_id"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "description": "The business's public slug"
    },
    "menu_id": {
      "type": "string",
      "minLength": 1,
      "description": "The menu id from list_menus"
    }
  },
  "additionalProperties": false
}
get_menu annotations
{
  "title": "Get menu",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
get_status — Get status
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Private status of a business the caller manages: profile (including unpublished state), all menus (active and inactive), and plan. Requires the menu:read scope and membership.

get_status input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1,
      "description": "The business id"
    }
  },
  "additionalProperties": false
}
get_status annotations
{
  "title": "Get status",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
create_full_menu — Create full menu
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Create a COMPLETE menu (sections + items) in one call — prefer this over separate create_menu/add_category/add_item calls. With replace=true, existing menus are deactivated so this becomes the business's live menu (their data is kept, just hidden).

create_full_menu input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "menu"
  ],
  "properties": {
    "menu": {
      "type": "object",
      "required": [
        "categories"
      ],
      "properties": {
        "name": {
          "type": "string",
          "default": "Menu",
          "maxLength": 100,
          "minLength": 1,
          "description": "Menu name, e.g. \"Menu\" or \"Dinner\""
        },
        "categories": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "items"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1,
                "description": "Section name, e.g. \"Burgers\""
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 100,
                      "minLength": 1
                    },
                    "price": {
                      "type": "number",
                      "maximum": 1000000,
                      "minimum": 0,
                      "description": "Price in the business's currency. Required unless `variations` is given."
                    },
                    "variations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "name",
                          "price"
                        ],
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "minLength": 1
                          },
                          "price": {
                            "type": "number",
                            "maximum": 1000000,
                            "minimum": 0
                          }
                        },
                        "additionalProperties": false
                      },
                      "maxItems": 12,
                      "minItems": 1,
                      "description": "Variations of this dish (sizes, volumes, portions), each with its own ABSOLUTE price — see add_item. Use instead of one item per variation."
                    },
                    "description": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "dietary_info": {
                      "type": "object",
                      "properties": {
                        "contains": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "alcohol",
                              "pork",
                              "tobacco"
                            ],
                            "type": "string"
                          },
                          "maxItems": 3
                        },
                        "allergens": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "gluten",
                              "crustaceans",
                              "eggs",
                              "fish",
                              "peanuts",
                              "soybeans",
                              "milk",
                              "nuts",
                              "celery",
                              "mustard",
                              "sesame",
                              "sulphites",
                              "lupin",
                              "molluscs"
                            ],
                            "type": "string"
                          },
                          "maxItems": 14
                        },
                        "declaredAt": {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        },
                        "suitableFor": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "vegetarian",
                              "vegan",
                              "halal",
                              "kosher",
                              "gluten_free",
                              "dairy_free",
                              "nut_free",
                              "spicy",
                              "organic"
                            ],
                            "type": "string"
                          },
                          "maxItems": 9
                        },
                        "caloriesKcal": {
                          "type": "integer",
                          "maximum": 20000,
                          "minimum": 0
                        },
                        "portionGrams": {
                          "type": "integer",
                          "maximum": 100000,
                          "minimum": 0
                        }
                      },
                      "description": "Allergen/dietary declaration for this dish — see add_item",
                      "additionalProperties": false
                    },
                    "is_available": {
                      "type": "boolean",
                      "default": true
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100
              }
            },
            "additionalProperties": false
          },
          "maxItems": 50,
          "minItems": 1,
          "description": "Sections in display order; items in display order"
        },
        "description": {
          "type": "string",
          "maxLength": 2000
        }
      },
      "additionalProperties": false
    },
    "replace": {
      "type": "boolean",
      "default": false,
      "description": "Deactivate the business's other menus in the same step"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
create_full_menu annotations
{
  "title": "Create full menu",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
create_menu — Create menu
Advertised by the server during the last successful anonymous check.
Open-world

Create an EMPTY menu on a business the caller manages (add sections with add_category, dishes with add_item). For a whole menu at once, use create_full_menu instead. Returns the new menu_id.

create_menu input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "name"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,64}$",
      "description": "Optional caller-chosen id (8-64 chars). Reuse the same id when retrying so a retry can never create a duplicate."
    },
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Menu name, e.g. \"Dinner\""
    },
    "is_active": {
      "type": "boolean",
      "default": true,
      "description": "Whether the menu is live on the public site"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "description": {
      "type": "string",
      "maxLength": 2000
    }
  },
  "additionalProperties": false
}
create_menu annotations
{
  "title": "Create menu",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
add_category — Add category
Advertised by the server during the last successful anonymous check.
Open-world

Add a category (section) to a menu. Returns the new category_id.

add_category input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "menu_id",
    "name"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,64}$",
      "description": "Optional caller-chosen id (8-64 chars). Reuse the same id when retrying so a retry can never create a duplicate."
    },
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Category name, e.g. \"Starters\""
    },
    "menu_id": {
      "type": "string",
      "minLength": 1
    },
    "sort_order": {
      "type": "integer",
      "minimum": 0
    }
  },
  "additionalProperties": false
}
add_category annotations
{
  "title": "Add category",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
add_item — Add item
Advertised by the server during the last successful anonymous check.
Open-world

Add a dish/item to a menu (optionally inside a category). Returns the new item_id.

add_item input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "menu_id",
    "name"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,64}$",
      "description": "Optional caller-chosen id (8-64 chars). Reuse the same id when retrying so a retry can never create a duplicate."
    },
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Item name, e.g. \"Cacio e pepe\""
    },
    "price": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0,
      "description": "Price in the business's currency. Required unless `variations` is given, in which case it is derived from the cheapest variation."
    },
    "menu_id": {
      "type": "string",
      "minLength": 1
    },
    "sort_order": {
      "type": "integer",
      "minimum": 0
    },
    "variations": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "price"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 60,
            "minLength": 1
          },
          "price": {
            "$ref": "#/properties/price"
          },
          "is_available": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "maxItems": 12,
      "minItems": 1,
      "description": "Variations of this dish — sizes, volumes, portions, cuts — each with its own ABSOLUTE price (not a surcharge): e.g. [{name:'Small',price:3},{name:'Large',price:4.5}]. Use this instead of creating one item per variation. The item's own `price` becomes the 'from' price (the cheapest variation) automatically, so you may omit `price` when you pass variations. Names must be unique."
    },
    "category_id": {
      "type": "string",
      "minLength": 1
    },
    "description": {
      "type": "string",
      "maxLength": 2000
    },
    "dietary_info": {
      "type": "object",
      "properties": {
        "contains": {
          "type": "array",
          "items": {
            "enum": [
              "alcohol",
              "pork",
              "tobacco"
            ],
            "type": "string"
          },
          "maxItems": 3
        },
        "allergens": {
          "type": "array",
          "items": {
            "enum": [
              "gluten",
              "crustaceans",
              "eggs",
              "fish",
              "peanuts",
              "soybeans",
              "milk",
              "nuts",
              "celery",
              "mustard",
              "sesame",
              "sulphites",
              "lupin",
              "molluscs"
            ],
            "type": "string"
          },
          "maxItems": 14
        },
        "declaredAt": {
          "type": "integer",
          "exclusiveMinimum": 0
        },
        "suitableFor": {
          "type": "array",
          "items": {
            "enum": [
              "vegetarian",
              "vegan",
              "halal",
              "kosher",
              "gluten_free",
              "dairy_free",
              "nut_free",
              "spicy",
              "organic"
            ],
            "type": "string"
          },
          "maxItems": 9
        },
        "caloriesKcal": {
          "type": "integer",
          "maximum": 20000,
          "minimum": 0
        },
        "portionGrams": {
          "type": "integer",
          "maximum": 100000,
          "minimum": 0
        }
      },
      "description": "Allergen and dietary labels shown to diners. `allergens` uses the 14 standard codes (gluten, crustaceans, eggs, fish, peanuts, soybeans, milk, nuts, celery, mustard, sesame, sulphites, lupin, molluscs); `contains` flags alcohol, pork or tobacco; `suitableFor` carries positive claims (vegetarian, vegan, halal, ...); `caloriesKcal` and `portionGrams` are per portion. Optional `declaredAt` (epoch-ms) records that a dish was reviewed, which sharpens check_compliance — a dish with no allergens and no declaredAt is indistinguishable from one nobody has looked at yet.",
      "additionalProperties": false
    },
    "is_available": {
      "type": "boolean",
      "default": true
    }
  },
  "additionalProperties": false
}
add_item annotations
{
  "title": "Add item",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
update_item — Update item
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Update a menu item's fields (name, description, price, availability, category, sort order). Only provided fields change. Setting is_available=false takes a dish off the public site (86 it).

update_item input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "item_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    },
    "price": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
    },
    "item_id": {
      "type": "string",
      "minLength": 1
    },
    "sort_order": {
      "type": "integer",
      "minimum": 0
    },
    "variations": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "price"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 60,
                "minLength": 1
              },
              "price": {
                "$ref": "#/properties/price"
              },
              "is_available": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "maxItems": 12,
          "minItems": 1,
          "description": "Variations of this dish — sizes, volumes, portions, cuts — each with its own ABSOLUTE price (not a surcharge): e.g. [{name:'Small',price:3},{name:'Large',price:4.5}]. Use this instead of creating one item per variation. The item's own `price` becomes the 'from' price (the cheapest variation) automatically, so you may omit `price` when you pass variations. Names must be unique."
        },
        {
          "type": "null"
        }
      ],
      "description": "Replaces the item's whole variation list. Variations keep their identity by name, so re-sending the list to change one price is safe. Pass null to drop variations entirely — send `price` alongside it, otherwise the item keeps its old 'from' price."
    },
    "category_id": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ]
    },
    "dietary_info": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "contains": {
              "type": "array",
              "items": {
                "enum": [
                  "alcohol",
                  "pork",
                  "tobacco"
                ],
                "type": "string"
              },
              "maxItems": 3
            },
            "allergens": {
              "type": "array",
              "items": {
                "enum": [
                  "gluten",
                  "crustaceans",
                  "eggs",
                  "fish",
                  "peanuts",
                  "soybeans",
                  "milk",
                  "nuts",
                  "celery",
                  "mustard",
                  "sesame",
                  "sulphites",
                  "lupin",
                  "molluscs"
                ],
                "type": "string"
              },
              "maxItems": 14
            },
            "declaredAt": {
              "type": "integer",
              "exclusiveMinimum": 0
            },
            "suitableFor": {
              "type": "array",
              "items": {
                "enum": [
                  "vegetarian",
                  "vegan",
                  "halal",
                  "kosher",
                  "gluten_free",
                  "dairy_free",
                  "nut_free",
                  "spicy",
                  "organic"
                ],
                "type": "string"
              },
              "maxItems": 9
            },
            "caloriesKcal": {
              "type": "integer",
              "maximum": 20000,
              "minimum": 0
            },
            "portionGrams": {
              "type": "integer",
              "maximum": 100000,
              "minimum": 0
            }
          },
          "description": "Allergen and dietary labels shown to diners. `allergens` uses the 14 standard codes (gluten, crustaceans, eggs, fish, peanuts, soybeans, milk, nuts, celery, mustard, sesame, sulphites, lupin, molluscs); `contains` flags alcohol, pork or tobacco; `suitableFor` carries positive claims (vegetarian, vegan, halal, ...); `caloriesKcal` and `portionGrams` are per portion. Optional `declaredAt` (epoch-ms) records that a dish was reviewed, which sharpens check_compliance — a dish with no allergens and no declaredAt is indistinguishable from one nobody has looked at yet.",
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Allergen and dietary labels shown to diners. `allergens` uses the 14 standard codes (gluten, crustaceans, eggs, fish, peanuts, soybeans, milk, nuts, celery, mustard, sesame, sulphites, lupin, molluscs); `contains` flags alcohol, pork or tobacco; `suitableFor` carries positive claims (vegetarian, vegan, halal, ...); `caloriesKcal` and `portionGrams` are per portion. Optional `declaredAt` (epoch-ms) records that a dish was reviewed, which sharpens check_compliance — a dish with no allergens and no declaredAt is indistinguishable from one nobody has looked at yet."
    },
    "is_available": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}
update_item annotations
{
  "title": "Update item",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
delete_item — Delete item
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Delete a menu item.

delete_item input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "item_id"
  ],
  "properties": {
    "item_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
delete_item annotations
{
  "title": "Delete item",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
update_menu — Update menu
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Rename a menu, change its description, or switch it on/off on the public site (is_active). Only provided fields change. Menu ids come from get_status.

update_menu input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "menu_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    },
    "menu_id": {
      "type": "string",
      "minLength": 1
    },
    "is_active": {
      "type": "boolean",
      "description": "Whether the menu is live on the public site"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": false
}
update_menu annotations
{
  "title": "Update menu",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
delete_menu — Delete menu
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Permanently delete a menu together with ALL of its sections and items. To take a menu off the site but keep it, use update_menu is_active=false instead.

delete_menu input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "menu_id"
  ],
  "properties": {
    "menu_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
delete_menu annotations
{
  "title": "Delete menu",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
rename_category — Rename category
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Rename a menu category (section).

rename_category input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "category_id",
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "The new name"
    },
    "category_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
rename_category annotations
{
  "title": "Rename category",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
reorder_categories — Reorder categories
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Set the order of a menu's categories (sections). List category ids top to bottom; any you leave out keep their current relative order after the listed ones.

reorder_categories input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "menu_id",
    "category_ids"
  ],
  "properties": {
    "menu_id": {
      "type": "string",
      "minLength": 1
    },
    "category_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 200,
      "minItems": 1
    }
  },
  "additionalProperties": false
}
reorder_categories annotations
{
  "title": "Reorder categories",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
delete_category — Delete category
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Delete a menu category (section). Its items are NOT deleted — they stay on the menu without a section; move them with update_item category_id or delete them with delete_item.

delete_category input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "category_id"
  ],
  "properties": {
    "category_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
delete_category annotations
{
  "title": "Delete category",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
reorder_items — Reorder items
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Set the order of the items in one section of a menu. List item ids top to bottom; listed items from another section are moved into this one, and the section's other items keep their relative order after the listed ones.

reorder_items input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "menu_id",
    "category_id",
    "item_ids"
  ],
  "properties": {
    "menu_id": {
      "type": "string",
      "minLength": 1
    },
    "item_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 500,
      "minItems": 1
    },
    "category_id": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "The section being ordered; null = items without a section"
    }
  },
  "additionalProperties": false
}
reorder_items annotations
{
  "title": "Reorder items",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
update_business — Update business
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Update a business's profile: name, description, about text, opening hours, contact info, currency, default locale, the locales visitors can switch between, menu display options, country, business details, or place (location, address, timezone, category, cuisines). Only provided fields change.

update_business input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    },
    "about": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 10000
        },
        {
          "type": "null"
        }
      ]
    },
    "hours": {
      "type": "object",
      "properties": {
        "fri": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "mon": {
          "type": "object",
          "properties": {
            "open": {
              "type": "string",
              "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
            },
            "close": {
              "$ref": "#/properties/hours/properties/mon/properties/open"
            },
            "closed": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        },
        "sat": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "sun": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "thu": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "tue": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "wed": {
          "$ref": "#/properties/hours/properties/mon"
        }
      },
      "description": "Opening hours keyed mon..sun, each {\"open\":\"10:30\",\"close\":\"22:00\"} or {\"closed\":true}",
      "additionalProperties": false
    },
    "place": {
      "type": "object",
      "properties": {
        "lat": {
          "type": "number",
          "maximum": 90,
          "minimum": -90
        },
        "lng": {
          "type": "number",
          "maximum": 180,
          "minimum": -180
        },
        "address": {
          "type": "object",
          "properties": {
            "postalCode": {
              "type": "string",
              "maxLength": 20,
              "minLength": 1
            },
            "addressRegion": {
              "type": "string",
              "maxLength": 100,
              "minLength": 1
            },
            "streetAddress": {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            "addressCountry": {
              "type": "string",
              "pattern": "^[A-Z]{2}$"
            },
            "addressLocality": {
              "type": "string",
              "maxLength": 100,
              "minLength": 1
            }
          },
          "additionalProperties": false
        },
        "category": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]{1,39}$"
        },
        "cuisines": {
          "type": "array",
          "items": {
            "$ref": "#/properties/place/properties/category"
          },
          "maxItems": 6
        },
        "timezone": {
          "type": "string",
          "pattern": "^[A-Za-z][A-Za-z0-9_+-]*(?:\\/[A-Za-z0-9_+-]+){0,2}$",
          "maxLength": 64
        }
      },
      "description": "Where the business is and what kind of place it is: lat/lng; address {streetAddress, addressLocality (district), addressRegion (city or province), postalCode, addressCountry (ISO 3166-1 alpha-2)}; timezone (IANA, e.g. \"Europe/Istanbul\"); category (e.g. restaurant, cafe, bakery, bar, meyhane, fast_food, dessert_shop); up to 6 cuisines (e.g. turkish, kebab, seafood, sushi, vegan). Merged into what is stored: keys you pass replace, keys you leave out stay.",
      "additionalProperties": false
    },
    "maps_url": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "description": "A Google Maps, Apple Maps, Yandex or OpenStreetMap link (short share links work), or a \"lat, lng\" pair. Sets the coordinates."
    },
    "legal_info": {
      "type": "object",
      "properties": {
        "extra": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "label",
              "value"
            ],
            "properties": {
              "label": {
                "type": "string",
                "maxLength": 60,
                "minLength": 1
              },
              "value": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "maxItems": 10
        },
        "taxNumber": {
          "type": "string",
          "maxLength": 60
        },
        "tradeName": {
          "type": "string",
          "maxLength": 300
        },
        "contactEmail": {
          "type": "string",
          "format": "email",
          "maxLength": 254
        },
        "contactPhone": {
          "type": "string",
          "maxLength": 40
        },
        "registeredAddress": {
          "type": "string",
          "maxLength": 400
        },
        "registrationNumber": {
          "type": "string",
          "maxLength": 60
        }
      },
      "description": "Business details published on the site when filled in: tradeName, taxNumber, registrationNumber, registeredAddress, contactEmail, contactPhone, plus `extra` label/value pairs for anything a jurisdiction names differently (a Vergi Dairesi, a US EIN). All optional.",
      "additionalProperties": false
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ]
    },
    "contact_info": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "format": "email",
          "maxLength": 254
        },
        "phone": {
          "type": "string",
          "maxLength": 40
        },
        "address": {
          "type": "string",
          "maxLength": 300
        },
        "instagram": {
          "type": "string",
          "pattern": "^@?[A-Za-z0-9._]{1,30}$"
        }
      },
      "description": "Contact info: phone, email, address, instagram",
      "additionalProperties": false
    },
    "country_code": {
      "type": "string",
      "pattern": "^[A-Z]{2}$",
      "description": "ISO 3166-1 alpha-2 country the business operates in. ADVISORY: it seeds suggested menu options (apply_country_settings) and drives check_compliance. It never changes what the site renders."
    },
    "menu_options": {
      "type": "object",
      "properties": {
        "menuNotice": {
          "type": "string",
          "maxLength": 600
        },
        "orderingExcludedTags": {
          "type": "array",
          "items": {
            "enum": [
              "alcohol",
              "pork",
              "tobacco"
            ],
            "type": "string"
          },
          "maxItems": 3
        },
        "showPriceEffectiveDate": {
          "type": "boolean"
        }
      },
      "description": "How the published menu presents itself: `menuNotice` (free text shown above the menu, in the owner's own words), `showPriceEffectiveDate`, and `orderingExcludedTags` (tags that can be listed but not ordered online, e.g. alcohol). This is the ONLY thing that changes what the site renders.",
      "additionalProperties": false
    },
    "currency_code": {
      "type": "string",
      "maxLength": 3,
      "minLength": 3
    },
    "default_locale": {
      "enum": [
        "en",
        "tr",
        "es",
        "fr",
        "de",
        "it",
        "pt",
        "nl",
        "pl",
        "ja",
        "zh",
        "ar"
      ],
      "type": "string"
    },
    "supported_locales": {
      "type": "array",
      "items": {
        "$ref": "#/properties/default_locale"
      },
      "maxItems": 12,
      "minItems": 1,
      "description": "Locales visitors can switch between, e.g. [\"pl\",\"en\"]; the default locale is always included"
    }
  },
  "additionalProperties": false
}
update_business annotations
{
  "title": "Update business",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
set_theme — Set theme
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Switch the site to a system theme with `theme_id` (lokand-base; get_site lists them; pages, sections and settings are kept). Legacy shape: a v1 `theme_config` patch (colors, fonts, hero title/subtitle) — prefer update_theme_settings, or get_style for a whole look. Revertible with revert_last_site_change.

set_theme input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "theme_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "A system theme id from get_site (e.g. lokand-base)"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "theme_config": {
      "type": "object",
      "properties": {
        "v": {
          "type": "number",
          "const": 2
        },
        "nav": {
          "type": "object",
          "properties": {
            "cta": {
              "enum": [
                "menu",
                "order",
                "reserve",
                "loyalty",
                "about",
                "none"
              ],
              "type": "string"
            },
            "links": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "label",
                  "path"
                ],
                "properties": {
                  "path": {
                    "$ref": "#/properties/theme_config/properties/navLinks/items/properties/path"
                  },
                  "label": {
                    "type": "string",
                    "maxLength": 30
                  }
                },
                "additionalProperties": false
              },
              "maxItems": 8
            },
            "style": {
              "enum": [
                "tabs",
                "menu",
                "none"
              ],
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "hero": {
          "type": "object",
          "properties": {
            "title": {
              "type": "string",
              "maxLength": 140
            },
            "subtitle": {
              "type": "string",
              "maxLength": 280
            }
          },
          "additionalProperties": false
        },
        "home": {
          "type": "string",
          "pattern": "^[a-z0-9][a-z0-9-]*$",
          "maxLength": 40,
          "minLength": 1
        },
        "fonts": {
          "type": "object",
          "properties": {
            "body": {
              "$ref": "#/properties/theme_config/properties/fonts/properties/heading"
            },
            "heading": {
              "type": "string",
              "pattern": "^[A-Za-z0-9 ,_\\-]+$",
              "maxLength": 80,
              "minLength": 1
            }
          },
          "additionalProperties": false
        },
        "pages": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "path",
              "enabled",
              "sections"
            ],
            "properties": {
              "id": {
                "$ref": "#/properties/theme_config/properties/home"
              },
              "nav": {
                "type": "boolean"
              },
              "path": {
                "type": "string",
                "pattern": "^\\/[a-z0-9][a-z0-9-]{2,39}$"
              },
              "title": {
                "type": "string",
                "maxLength": 60
              },
              "enabled": {
                "type": "boolean"
              },
              "sections": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "hero"
                        },
                        "hidden": {
                          "type": "boolean"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "image": {
                              "type": "string",
                              "format": "uri",
                              "maxLength": 2048
                            },
                            "title": {
                              "type": "string",
                              "maxLength": 120
                            },
                            "layout": {
                              "enum": [
                                "auto",
                                "band",
                                "split",
                                "center",
                                "full"
                              ],
                              "type": "string"
                            },
                            "showMeta": {
                              "type": "boolean"
                            },
                            "subtitle": {
                              "type": "string",
                              "maxLength": 280
                            },
                            "primaryCta": {
                              "enum": [
                                "menu",
                                "order",
                                "reserve",
                                "loyalty",
                                "about",
                                "none"
                              ],
                              "type": "string"
                            },
                            "secondaryCta": {
                              "enum": [
                                "menu",
                                "order",
                                "reserve",
                                "loyalty",
                                "about",
                                "none"
                              ],
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "menu"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "style": {
                              "enum": [
                                "list",
                                "cards",
                                "photos"
                              ],
                              "type": "string"
                            },
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            },
                            "search": {
                              "type": "boolean"
                            },
                            "jumpNav": {
                              "type": "boolean"
                            },
                            "menuIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "maxLength": 64,
                                "minLength": 1
                              },
                              "maxItems": 10
                            },
                            "showImages": {
                              "type": "boolean"
                            },
                            "showPrices": {
                              "type": "boolean"
                            },
                            "dietaryFilter": {
                              "type": "boolean"
                            },
                            "showDescriptions": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "featured"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "count": {
                              "type": "integer",
                              "maximum": 12,
                              "minimum": 1
                            },
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            },
                            "itemIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "maxLength": 64,
                                "minLength": 1
                              },
                              "maxItems": 12
                            },
                            "showPrices": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "story"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "body": {
                              "type": "string",
                              "maxLength": 4000
                            },
                            "image": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/image"
                            },
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            },
                            "imagePosition": {
                              "enum": [
                                "left",
                                "right",
                                "top"
                              ],
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "text"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "body": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/3/properties/settings/properties/body"
                            },
                            "align": {
                              "enum": [
                                "left",
                                "center"
                              ],
                              "type": "string"
                            },
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "gallery"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            },
                            "images": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "url"
                                ],
                                "properties": {
                                  "alt": {
                                    "type": "string",
                                    "maxLength": 140
                                  },
                                  "url": {
                                    "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/image"
                                  }
                                },
                                "additionalProperties": false
                              },
                              "maxItems": 24
                            },
                            "layout": {
                              "enum": [
                                "grid",
                                "strip",
                                "mosaic"
                              ],
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "visit"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            },
                            "showMap": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "hours"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "location"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            },
                            "showMap": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "contact"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            },
                            "showEmail": {
                              "type": "boolean"
                            },
                            "showPhone": {
                              "type": "boolean"
                            },
                            "showSocial": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "loyalty"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "body": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/3/properties/settings/properties/body"
                            },
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "loyalty-card"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "body": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/3/properties/settings/properties/body"
                            },
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "order-cta"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "body": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/3/properties/settings/properties/body"
                            },
                            "links": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "label",
                                  "url"
                                ],
                                "properties": {
                                  "url": {
                                    "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/image"
                                  },
                                  "label": {
                                    "type": "string",
                                    "maxLength": 40
                                  }
                                },
                                "additionalProperties": false
                              },
                              "maxItems": 6
                            },
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            },
                            "showOrderOnline": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "team"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            },
                            "members": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "name"
                                ],
                                "properties": {
                                  "bio": {
                                    "type": "string",
                                    "maxLength": 600
                                  },
                                  "name": {
                                    "type": "string",
                                    "maxLength": 80
                                  },
                                  "role": {
                                    "type": "string",
                                    "maxLength": 80
                                  },
                                  "image": {
                                    "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/image"
                                  }
                                },
                                "additionalProperties": false
                              },
                              "maxItems": 12
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "awards"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "items": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "title"
                                ],
                                "properties": {
                                  "year": {
                                    "type": "integer",
                                    "maximum": 2100,
                                    "minimum": 1900
                                  },
                                  "title": {
                                    "type": "string",
                                    "maxLength": 120
                                  },
                                  "issuer": {
                                    "type": "string",
                                    "maxLength": 120
                                  }
                                },
                                "additionalProperties": false
                              },
                              "maxItems": 20
                            },
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "faq"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "items": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "q",
                                  "a"
                                ],
                                "properties": {
                                  "a": {
                                    "type": "string",
                                    "maxLength": 1200
                                  },
                                  "q": {
                                    "type": "string",
                                    "maxLength": 200
                                  }
                                },
                                "additionalProperties": false
                              },
                              "maxItems": 20
                            },
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "reviews"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "items": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "quote"
                                ],
                                "properties": {
                                  "quote": {
                                    "type": "string",
                                    "maxLength": 600
                                  },
                                  "author": {
                                    "type": "string",
                                    "maxLength": 80
                                  },
                                  "source": {
                                    "type": "string",
                                    "maxLength": 80
                                  }
                                },
                                "additionalProperties": false
                              },
                              "maxItems": 12
                            },
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "reservations"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/image"
                            },
                            "body": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/3/properties/settings/properties/body"
                            },
                            "label": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            },
                            "usePhone": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "social"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "links": {
                              "type": "array",
                              "items": {
                                "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/12/properties/settings/properties/links/items"
                              },
                              "maxItems": 8
                            },
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "legal"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "title": {
                              "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "kind"
                      ],
                      "properties": {
                        "id": {
                          "$ref": "#/properties/theme_config/properties/home"
                        },
                        "kind": {
                          "type": "string",
                          "const": "custom-html"
                        },
                        "hidden": {
                          "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden"
                        },
                        "settings": {
                          "type": "object",
                          "properties": {
                            "html": {
                              "type": "string",
                              "maxLength": 20000
                            },
                            "height": {
                              "type": "integer",
                              "maximum": 2000,
                              "minimum": 40
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                },
                "maxItems": 25
              }
            },
            "additionalProperties": false
          },
          "maxItems": 12
        },
        "theme": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "object",
              "properties": {
                "fonts": {
                  "type": "object",
                  "properties": {
                    "body": {
                      "$ref": "#/properties/theme_config/properties/fonts/properties/heading"
                    },
                    "mono": {
                      "$ref": "#/properties/theme_config/properties/fonts/properties/heading"
                    },
                    "heading": {
                      "$ref": "#/properties/theme_config/properties/fonts/properties/heading"
                    }
                  },
                  "additionalProperties": false
                },
                "serif": {
                  "type": "boolean"
                },
                "colors": {
                  "type": "object",
                  "properties": {
                    "bg": {
                      "$ref": "#/properties/theme_config/properties/colors/properties/primary"
                    },
                    "fg": {
                      "$ref": "#/properties/theme_config/properties/colors/properties/primary"
                    },
                    "card": {
                      "$ref": "#/properties/theme_config/properties/colors/properties/primary"
                    },
                    "line": {
                      "$ref": "#/properties/theme_config/properties/colors/properties/primary"
                    },
                    "line2": {
                      "$ref": "#/properties/theme_config/properties/colors/properties/primary"
                    },
                    "muted": {
                      "$ref": "#/properties/theme_config/properties/colors/properties/primary"
                    },
                    "accent": {
                      "$ref": "#/properties/theme_config/properties/colors/properties/primary"
                    },
                    "primary": {
                      "$ref": "#/properties/theme_config/properties/colors/properties/primary"
                    },
                    "primaryFg": {
                      "$ref": "#/properties/theme_config/properties/colors/properties/primary"
                    }
                  },
                  "additionalProperties": false
                },
                "radius": {
                  "type": "integer",
                  "maximum": 40,
                  "minimum": 0
                },
                "density": {
                  "enum": [
                    "compact",
                    "comfortable",
                    "airy"
                  ],
                  "type": "string"
                },
                "loyalty": {
                  "type": "object",
                  "properties": {
                    "bg": {
                      "$ref": "#/properties/theme_config/properties/colors/properties/primary"
                    },
                    "ink": {
                      "$ref": "#/properties/theme_config/properties/colors/properties/primary"
                    }
                  },
                  "additionalProperties": false
                },
                "heroLayout": {
                  "enum": [
                    "band",
                    "split",
                    "center",
                    "full"
                  ],
                  "type": "string"
                },
                "buttonStyle": {
                  "enum": [
                    "solid",
                    "outline"
                  ],
                  "type": "string"
                },
                "headingCase": {
                  "enum": [
                    "normal",
                    "upper"
                  ],
                  "type": "string"
                },
                "reserveKind": {
                  "enum": [
                    "reserve",
                    "book",
                    "order"
                  ],
                  "type": "string"
                },
                "radiusButton": {
                  "type": "integer",
                  "maximum": 999,
                  "minimum": 0
                }
              },
              "additionalProperties": false
            },
            "customCss": {
              "type": "string",
              "maxLength": 8000
            }
          },
          "additionalProperties": false
        },
        "colors": {
          "type": "object",
          "properties": {
            "bg": {
              "$ref": "#/properties/theme_config/properties/colors/properties/primary"
            },
            "fg": {
              "$ref": "#/properties/theme_config/properties/colors/properties/primary"
            },
            "accent": {
              "$ref": "#/properties/theme_config/properties/colors/properties/primary"
            },
            "primary": {
              "type": "string",
              "pattern": "^#[0-9a-fA-F]{6}$"
            }
          },
          "additionalProperties": false
        },
        "navLinks": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "label",
              "path"
            ],
            "properties": {
              "path": {
                "type": "string",
                "pattern": "^\\/[a-z0-9\\-/]*$",
                "maxLength": 60,
                "minLength": 1
              },
              "label": {
                "type": "string",
                "maxLength": 30,
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "maxItems": 8
        },
        "sections": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "kind"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "hero",
                  "menu",
                  "loyalty",
                  "hours",
                  "gallery",
                  "contact"
                ],
                "type": "string"
              },
              "hidden": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "maxItems": 6
        },
        "menuStyle": {
          "enum": [
            "list",
            "cards",
            "photos"
          ],
          "type": "string"
        },
        "mobileNav": {
          "enum": [
            "tabs",
            "menu"
          ],
          "type": "string"
        },
        "inheritBrand": {
          "type": "boolean"
        }
      },
      "description": "Legacy: merge patch such as {\"colors\":{\"primary\":\"#aa3300\"},\"fonts\":{\"heading\":\"...\"}}",
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
set_theme annotations
{
  "title": "Set theme",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
publish_site — Publish site
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Publish (or unpublish) the business's public menu site at https://<slug>.lokand.co.

publish_site input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "publish": {
      "type": "boolean",
      "default": true,
      "description": "true to go live, false to take the site offline"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
publish_site annotations
{
  "title": "Publish site",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
create_restaurant — Create restaurant
Advertised by the server during the last successful anonymous check.
Open-world

Create a new Lokand restaurant on a customer's behalf — ONE call can produce a complete LIVE website when you pass `menu` (and optionally hours/theme). Returns working OAuth tokens (Bearer, for follow-up edit ops), the live site_url, and a claim_url. NEXT STEPS after this call: refine with add_item/update_item/set_theme if needed, then give the customer the claim_url so they take ownership (free signup); poll claim_status to keep access after they claim. Requires a client registered once via POST /api/auth/oauth2/register (see https://lokand.com/auth.md).

create_restaurant input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "client_id",
    "client_secret",
    "name"
  ],
  "properties": {
    "menu": {
      "type": "object",
      "required": [
        "categories"
      ],
      "properties": {
        "name": {
          "type": "string",
          "default": "Menu",
          "maxLength": 100,
          "minLength": 1,
          "description": "Menu name, e.g. \"Menu\" or \"Dinner\""
        },
        "categories": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "items"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1,
                "description": "Section name, e.g. \"Burgers\""
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 100,
                      "minLength": 1
                    },
                    "price": {
                      "type": "number",
                      "maximum": 1000000,
                      "minimum": 0,
                      "description": "Price in the business's currency. Required unless `variations` is given."
                    },
                    "variations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "name",
                          "price"
                        ],
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "minLength": 1
                          },
                          "price": {
                            "type": "number",
                            "maximum": 1000000,
                            "minimum": 0
                          }
                        },
                        "additionalProperties": false
                      },
                      "maxItems": 12,
                      "minItems": 1,
                      "description": "Variations of this dish (sizes, volumes, portions), each with its own ABSOLUTE price — see add_item. Use instead of one item per variation."
                    },
                    "description": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "dietary_info": {
                      "type": "object",
                      "properties": {
                        "contains": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "alcohol",
                              "pork",
                              "tobacco"
                            ],
                            "type": "string"
                          },
                          "maxItems": 3
                        },
                        "allergens": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "gluten",
                              "crustaceans",
                              "eggs",
                              "fish",
                              "peanuts",
                              "soybeans",
                              "milk",
                              "nuts",
                              "celery",
                              "mustard",
                              "sesame",
                              "sulphites",
                              "lupin",
                              "molluscs"
                            ],
                            "type": "string"
                          },
                          "maxItems": 14
                        },
                        "declaredAt": {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        },
                        "suitableFor": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "vegetarian",
                              "vegan",
                              "halal",
                              "kosher",
                              "gluten_free",
                              "dairy_free",
                              "nut_free",
                              "spicy",
                              "organic"
                            ],
                            "type": "string"
                          },
                          "maxItems": 9
                        },
                        "caloriesKcal": {
                          "type": "integer",
                          "maximum": 20000,
                          "minimum": 0
                        },
                        "portionGrams": {
                          "type": "integer",
                          "maximum": 100000,
                          "minimum": 0
                        }
                      },
                      "description": "Allergen/dietary declaration for this dish — see add_item",
                      "additionalProperties": false
                    },
                    "is_available": {
                      "type": "boolean",
                      "default": true
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100
              }
            },
            "additionalProperties": false
          },
          "maxItems": 50,
          "minItems": 1,
          "description": "Sections in display order; items in display order"
        },
        "description": {
          "type": "string",
          "maxLength": 2000
        }
      },
      "description": "The full menu, inline — pass this to go live in one call instead of separate create_menu/add_category/add_item calls",
      "additionalProperties": false
    },
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Restaurant name"
    },
    "slug": {
      "type": "string",
      "pattern": "^[a-z0-9](?:[a-z0-9-]{1,38}[a-z0-9])?$",
      "description": "Optional site slug (<slug>.lokand.co); generated from the name when omitted. If taken, a suffixed variant is used automatically."
    },
    "hours": {
      "type": "object",
      "properties": {
        "fri": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "mon": {
          "type": "object",
          "properties": {
            "open": {
              "type": "string",
              "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
            },
            "close": {
              "$ref": "#/properties/hours/properties/mon/properties/open"
            },
            "closed": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        },
        "sat": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "sun": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "thu": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "tue": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "wed": {
          "$ref": "#/properties/hours/properties/mon"
        }
      },
      "description": "Opening hours keyed mon..sun, each {\"open\":\"10:30\",\"close\":\"22:00\"} or {\"closed\":true}",
      "additionalProperties": false
    },
    "place": {
      "type": "object",
      "properties": {
        "lat": {
          "type": "number",
          "maximum": 90,
          "minimum": -90
        },
        "lng": {
          "type": "number",
          "maximum": 180,
          "minimum": -180
        },
        "address": {
          "type": "object",
          "properties": {
            "postalCode": {
              "type": "string",
              "maxLength": 20,
              "minLength": 1
            },
            "addressRegion": {
              "type": "string",
              "maxLength": 100,
              "minLength": 1
            },
            "streetAddress": {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            "addressCountry": {
              "type": "string",
              "pattern": "^[A-Z]{2}$"
            },
            "addressLocality": {
              "type": "string",
              "maxLength": 100,
              "minLength": 1
            }
          },
          "additionalProperties": false
        },
        "category": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]{1,39}$"
        },
        "cuisines": {
          "type": "array",
          "items": {
            "$ref": "#/properties/place/properties/category"
          },
          "maxItems": 6
        },
        "timezone": {
          "type": "string",
          "pattern": "^[A-Za-z][A-Za-z0-9_+-]*(?:\\/[A-Za-z0-9_+-]+){0,2}$",
          "maxLength": 64
        }
      },
      "description": "Where the business is and what kind of place it is: lat/lng; address {streetAddress, addressLocality (district), addressRegion (city or province), postalCode, addressCountry (ISO 3166-1 alpha-2)}; timezone (IANA, e.g. \"Europe/Istanbul\"); category (e.g. restaurant, cafe, bakery, bar, meyhane, fast_food, dessert_shop); up to 6 cuisines (e.g. turkish, kebab, seafood, sushi, vegan). Merged into what is stored: keys you pass replace, keys you leave out stay.",
      "additionalProperties": false
    },
    "theme": {
      "type": "object",
      "required": [
        "key"
      ],
      "properties": {
        "key": {
          "enum": [
            "terra",
            "porto",
            "noir",
            "marche",
            "slate"
          ],
          "type": "string",
          "description": "terra | porto | noir | marche | slate"
        },
        "config": {
          "type": "object",
          "description": "Site document: a v3 document (as get_site.document) or a legacy v2/v1 config such as {\"colors\":{\"primary\":\"#aa3300\"}}. Stored as v3.",
          "additionalProperties": {}
        }
      },
      "additionalProperties": false
    },
    "publish": {
      "type": "boolean",
      "default": true,
      "description": "Put the site live immediately (default true). Pass false to keep it a draft."
    },
    "maps_url": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "description": "A Google Maps, Apple Maps, Yandex or OpenStreetMap link (short share links work), or a \"lat, lng\" pair. Sets the coordinates."
    },
    "client_id": {
      "type": "string",
      "minLength": 1,
      "description": "Registered OAuth client id"
    },
    "description": {
      "type": "string",
      "maxLength": 2000
    },
    "contact_info": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "format": "email",
          "maxLength": 254
        },
        "phone": {
          "type": "string",
          "maxLength": 40
        },
        "address": {
          "type": "string",
          "maxLength": 300
        },
        "instagram": {
          "type": "string",
          "pattern": "^@?[A-Za-z0-9._]{1,30}$"
        }
      },
      "description": "Contact info: phone, email, address, instagram",
      "additionalProperties": false
    },
    "client_secret": {
      "type": "string",
      "minLength": 1,
      "description": "The client's secret"
    },
    "currency_code": {
      "type": "string",
      "maxLength": 3,
      "minLength": 3,
      "description": "ISO currency for menu prices, e.g. \"USD\""
    },
    "customer_email": {
      "type": "string",
      "format": "email",
      "description": "Customer's email: binds the claim to it and sends them the claim link"
    }
  },
  "additionalProperties": false
}
create_restaurant annotations
{
  "title": "Create restaurant",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
create_business — Create business
Advertised by the server during the last successful anonymous check.
Open-world

Create a new restaurant owned by the signed-in user (no claim step) — ONE call can produce a complete LIVE website when you pass `menu` (and optionally hours/theme). Returns the business_id for follow-up ops and the live site_url. To create a restaurant for someone else, use create_restaurant and hand them the claim link instead.

create_business input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "name"
  ],
  "properties": {
    "menu": {
      "type": "object",
      "required": [
        "categories"
      ],
      "properties": {
        "name": {
          "type": "string",
          "default": "Menu",
          "maxLength": 100,
          "minLength": 1,
          "description": "Menu name, e.g. \"Menu\" or \"Dinner\""
        },
        "categories": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "items"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1,
                "description": "Section name, e.g. \"Burgers\""
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 100,
                      "minLength": 1
                    },
                    "price": {
                      "type": "number",
                      "maximum": 1000000,
                      "minimum": 0,
                      "description": "Price in the business's currency. Required unless `variations` is given."
                    },
                    "variations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "name",
                          "price"
                        ],
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "minLength": 1
                          },
                          "price": {
                            "type": "number",
                            "maximum": 1000000,
                            "minimum": 0
                          }
                        },
                        "additionalProperties": false
                      },
                      "maxItems": 12,
                      "minItems": 1,
                      "description": "Variations of this dish (sizes, volumes, portions), each with its own ABSOLUTE price — see add_item. Use instead of one item per variation."
                    },
                    "description": {
                      "type": "string",
                      "maxLength": 500
                    },
                    "dietary_info": {
                      "type": "object",
                      "properties": {
                        "contains": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "alcohol",
                              "pork",
                              "tobacco"
                            ],
                            "type": "string"
                          },
                          "maxItems": 3
                        },
                        "allergens": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "gluten",
                              "crustaceans",
                              "eggs",
                              "fish",
                              "peanuts",
                              "soybeans",
                              "milk",
                              "nuts",
                              "celery",
                              "mustard",
                              "sesame",
                              "sulphites",
                              "lupin",
                              "molluscs"
                            ],
                            "type": "string"
                          },
                          "maxItems": 14
                        },
                        "declaredAt": {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        },
                        "suitableFor": {
                          "type": "array",
                          "items": {
                            "enum": [
                              "vegetarian",
                              "vegan",
                              "halal",
                              "kosher",
                              "gluten_free",
                              "dairy_free",
                              "nut_free",
                              "spicy",
                              "organic"
                            ],
                            "type": "string"
                          },
                          "maxItems": 9
                        },
                        "caloriesKcal": {
                          "type": "integer",
                          "maximum": 20000,
                          "minimum": 0
                        },
                        "portionGrams": {
                          "type": "integer",
                          "maximum": 100000,
                          "minimum": 0
                        }
                      },
                      "description": "Allergen/dietary declaration for this dish — see add_item",
                      "additionalProperties": false
                    },
                    "is_available": {
                      "type": "boolean",
                      "default": true
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100
              }
            },
            "additionalProperties": false
          },
          "maxItems": 50,
          "minItems": 1,
          "description": "Sections in display order; items in display order"
        },
        "description": {
          "type": "string",
          "maxLength": 2000
        }
      },
      "description": "The full menu, inline — pass this to go live in one call instead of separate create_menu/add_category/add_item calls",
      "additionalProperties": false
    },
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Restaurant name"
    },
    "slug": {
      "type": "string",
      "pattern": "^[a-z0-9](?:[a-z0-9-]{1,38}[a-z0-9])?$",
      "description": "Optional site slug (<slug>.lokand.co); generated from the name when omitted. If taken, a suffixed variant is used automatically."
    },
    "hours": {
      "type": "object",
      "properties": {
        "fri": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "mon": {
          "type": "object",
          "properties": {
            "open": {
              "type": "string",
              "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
            },
            "close": {
              "$ref": "#/properties/hours/properties/mon/properties/open"
            },
            "closed": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        },
        "sat": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "sun": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "thu": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "tue": {
          "$ref": "#/properties/hours/properties/mon"
        },
        "wed": {
          "$ref": "#/properties/hours/properties/mon"
        }
      },
      "description": "Opening hours keyed mon..sun, each {\"open\":\"10:30\",\"close\":\"22:00\"} or {\"closed\":true}",
      "additionalProperties": false
    },
    "place": {
      "type": "object",
      "properties": {
        "lat": {
          "type": "number",
          "maximum": 90,
          "minimum": -90
        },
        "lng": {
          "type": "number",
          "maximum": 180,
          "minimum": -180
        },
        "address": {
          "type": "object",
          "properties": {
            "postalCode": {
              "type": "string",
              "maxLength": 20,
              "minLength": 1
            },
            "addressRegion": {
              "type": "string",
              "maxLength": 100,
              "minLength": 1
            },
            "streetAddress": {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            "addressCountry": {
              "type": "string",
              "pattern": "^[A-Z]{2}$"
            },
            "addressLocality": {
              "type": "string",
              "maxLength": 100,
              "minLength": 1
            }
          },
          "additionalProperties": false
        },
        "category": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]{1,39}$"
        },
        "cuisines": {
          "type": "array",
          "items": {
            "$ref": "#/properties/place/properties/category"
          },
          "maxItems": 6
        },
        "timezone": {
          "type": "string",
          "pattern": "^[A-Za-z][A-Za-z0-9_+-]*(?:\\/[A-Za-z0-9_+-]+){0,2}$",
          "maxLength": 64
        }
      },
      "description": "Where the business is and what kind of place it is: lat/lng; address {streetAddress, addressLocality (district), addressRegion (city or province), postalCode, addressCountry (ISO 3166-1 alpha-2)}; timezone (IANA, e.g. \"Europe/Istanbul\"); category (e.g. restaurant, cafe, bakery, bar, meyhane, fast_food, dessert_shop); up to 6 cuisines (e.g. turkish, kebab, seafood, sushi, vegan). Merged into what is stored: keys you pass replace, keys you leave out stay.",
      "additionalProperties": false
    },
    "theme": {
      "type": "object",
      "required": [
        "key"
      ],
      "properties": {
        "key": {
          "enum": [
            "terra",
            "porto",
            "noir",
            "marche",
            "slate"
          ],
          "type": "string",
          "description": "terra | porto | noir | marche | slate"
        },
        "config": {
          "type": "object",
          "description": "Site document: a v3 document (as get_site.document) or a legacy v2/v1 config such as {\"colors\":{\"primary\":\"#aa3300\"}}. Stored as v3.",
          "additionalProperties": {}
        }
      },
      "additionalProperties": false
    },
    "publish": {
      "type": "boolean",
      "default": true,
      "description": "Put the site live immediately (default true). Pass false to keep it a draft."
    },
    "maps_url": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "description": "A Google Maps, Apple Maps, Yandex or OpenStreetMap link (short share links work), or a \"lat, lng\" pair. Sets the coordinates."
    },
    "description": {
      "type": "string",
      "maxLength": 2000
    },
    "contact_info": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "format": "email",
          "maxLength": 254
        },
        "phone": {
          "type": "string",
          "maxLength": 40
        },
        "address": {
          "type": "string",
          "maxLength": 300
        },
        "instagram": {
          "type": "string",
          "pattern": "^@?[A-Za-z0-9._]{1,30}$"
        }
      },
      "description": "Contact info: phone, email, address, instagram",
      "additionalProperties": false
    },
    "currency_code": {
      "type": "string",
      "maxLength": 3,
      "minLength": 3,
      "description": "ISO currency for menu prices, e.g. \"USD\""
    }
  },
  "additionalProperties": false
}
create_business annotations
{
  "title": "Create business",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
claim_status — Claim status
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Check whether the customer has claimed an agent-created restaurant. On the first poll after a claim with consent granted, returns fresh OAuth tokens for continued management (delivered exactly once).

claim_status input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "client_id",
    "client_secret",
    "claim_token"
  ],
  "properties": {
    "client_id": {
      "type": "string",
      "minLength": 1,
      "description": "Registered OAuth client id"
    },
    "claim_token": {
      "type": "string",
      "minLength": 1
    },
    "client_secret": {
      "type": "string",
      "minLength": 1,
      "description": "The client's secret"
    }
  },
  "additionalProperties": false
}
claim_status annotations
{
  "title": "Claim status",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
create_checkout_link — Create checkout link
Advertised by the server during the last successful anonymous check.
Open-world

Create a Stripe Checkout link to upgrade a business to a paid plan. Hand the returned URL to the customer — anyone who opens it can pay; the plan activates automatically after payment. Pass customer_country (ISO 3166-1 alpha-2) so first-time pricing is quoted in the customer's region, not the agent's.

create_checkout_link input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "product_key"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "product_key": {
      "enum": [
        "pro.monthly"
      ],
      "type": "string",
      "description": "The plan to purchase (Pro is monthly-only)"
    },
    "customer_country": {
      "type": "string",
      "maxLength": 2,
      "minLength": 2,
      "description": "Customer's ISO country code, e.g. DE"
    }
  },
  "additionalProperties": false
}
create_checkout_link annotations
{
  "title": "Create checkout link",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
get_billing_summary — Get billing summary
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Current plan, billing region, and subscription state of a business the caller manages.

get_billing_summary input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
get_billing_summary annotations
{
  "title": "Get billing summary",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
import_menu — Import menu
Advertised by the server during the last successful anonymous check.
Open-world

Start an AI import of a restaurant's menu from the URL of its existing website. Returns an import_id to poll with import_status; when complete, call commit_import to turn the draft into a real menu.

import_menu input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Public https URL of the site to import the menu from"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
import_menu annotations
{
  "title": "Import menu",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
import_status — Import status
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Check an AI menu import: processing, complete (draft ready to commit), or failed. `progress.found` lists what is known so far; complete responses include the draft for review.

import_status input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "import_id"
  ],
  "properties": {
    "import_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
import_status annotations
{
  "title": "Import status",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
commit_import — Commit import
Advertised by the server during the last successful anonymous check.
Open-world

Commit a completed AI menu import as a real menu (creates the menu, categories, and items). Returns the new menu_id.

commit_import input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "import_id"
  ],
  "properties": {
    "import_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
commit_import annotations
{
  "title": "Commit import",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
check_compliance — Check compliance
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Check a business's published menu against what a country's menu rules ask for — allergen and calorie declarations, price-list notices, banned surcharges, operator identity. Returns each requirement with its official sources, plus which ones the menu currently falls short of and the item ids involved. ADVISORY ONLY: it reports, it never changes the site, and it is not legal advice.

check_compliance input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "country": {
      "type": "string",
      "pattern": "^[A-Z]{2}$",
      "description": "ISO country to check against. Defaults to the business's own country_code; pass one explicitly to check against a market the business is considering."
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
check_compliance annotations
{
  "title": "Check compliance",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
apply_country_settings — Apply country settings
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Fill the business's menu display options with the values a country's rules suggest — a notice about tax-inclusive pricing, the price-effective date, ordering restrictions. These are DEFAULTS: the owner can change any of them afterwards, and nothing here is enforced.

apply_country_settings input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 10,
      "minLength": 2,
      "description": "Language for any suggested copy. Defaults to the business's."
    },
    "country": {
      "type": "string",
      "pattern": "^[A-Z]{2}$",
      "description": "Defaults to the business's own country_code."
    },
    "overwrite": {
      "type": "boolean",
      "default": false,
      "description": "false (default) fills only options the owner hasn't set; true replaces their existing values."
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
apply_country_settings annotations
{
  "title": "Apply country settings",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
get_site — Get site
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Read the business's website: `document` (the v3 site document — settings, home, pages, and templates[page_id] → sections → blocks, with the ids every other site op needs), `theme` (what the live theme offers: every section and block type with its settings, the theme settings), `resolved_settings` (the concrete theme settings the site renders with), `live_theme` (the custom theme code in use, with its file paths, or null for a system theme), `style_hooks` (stable [data-lk="…"] attributes custom_css can target on a system theme), `system_themes` (for set_system_theme) and `templates` (segment layouts for apply_template). Settings are listed compactly as "id:type(options)"; pass detail: "full" for labels and defaults. ALWAYS call this before changing the site.

get_site input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "detail": {
      "enum": [
        "compact",
        "full"
      ],
      "type": "string"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
get_site annotations
{
  "title": "Get site",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
update_site — Update site
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Low-level escape hatch: apply an RFC 7386 JSON merge patch to the whole v3 site document returned by get_site.document (objects merge, null deletes a key, arrays REPLACE). Prefer the specific site ops. The result is validated against the theme before anything is saved. An outside image url in an image setting is copied into the business's media library and the setting stores our copy; if it can't be downloaded the call fails with image_fetch_failed and nothing changes.

update_site input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "patch"
  ],
  "properties": {
    "patch": {
      "type": "object",
      "description": "RFC 7386 JSON merge patch on the whole theme data document",
      "additionalProperties": {}
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
update_site annotations
{
  "title": "Update site",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
update_theme_settings — Update theme settings
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Merge-patch the theme's global settings (keys from get_site.theme.theme_settings, e.g. color_primary, font_heading, radius, custom_css). null resets a key to the theme default. An outside image url in an image setting is copied into the business's media library and the setting stores our copy; if it can't be downloaded the call fails with image_fetch_failed and nothing changes.

update_theme_settings input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "settings"
  ],
  "properties": {
    "settings": {
      "type": "object",
      "description": "Merge patch on the theme's global settings",
      "additionalProperties": {}
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
update_theme_settings annotations
{
  "title": "Update theme settings",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
update_theme — Update theme
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Legacy look op: patch v2-style `tokens` (colors, fonts, radius, hero layout, …) or set custom CSS. Prefer update_theme_settings.

update_theme input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "tokens": {
      "type": "object",
      "description": "Merge patch on theme tokens: colors{primary,accent,bg,fg,primaryFg,card,muted,line,line2}, loyalty{bg,ink}, fonts{heading,body,mono}, radius, radiusButton, heroLayout, serif, density, headingCase, buttonStyle, reserveKind. null removes an override.",
      "additionalProperties": {}
    },
    "custom_css": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 8000
        },
        {
          "type": "null"
        }
      ],
      "description": "Extra CSS; null clears it. No @import, url() or <"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
update_theme annotations
{
  "title": "Update theme",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
apply_template — Apply template
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Rebuild the site's pages and sections from a segment template (cafe, ghost-kitchen, fine-dining, chain, bar, bakery — see get_site.templates). Replaces the page structure; hero copy and custom CSS carry over. keep_theme=true keeps the current style. Revertible with revert_last_site_change.

apply_template input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "template"
  ],
  "properties": {
    "template": {
      "enum": [
        "cafe",
        "ghost-kitchen",
        "fine-dining",
        "chain",
        "bar",
        "bakery"
      ],
      "type": "string",
      "description": "cafe | ghost-kitchen | fine-dining | chain | bar | bakery"
    },
    "keep_theme": {
      "type": "boolean",
      "description": "Keep the current style instead of the template's (default false)"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
apply_template annotations
{
  "title": "Apply template",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
apply_site_preset — Apply site preset
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Alias of apply_template (`preset` = template id).

apply_site_preset input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "preset"
  ],
  "properties": {
    "preset": {
      "enum": [
        "cafe",
        "ghost-kitchen",
        "fine-dining",
        "chain",
        "bar",
        "bakery"
      ],
      "type": "string",
      "description": "cafe | ghost-kitchen | fine-dining | chain | bar | bakery"
    },
    "keep_theme": {
      "type": "boolean"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
apply_site_preset annotations
{
  "title": "Apply site preset",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
set_page — Set page
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Change one page: enable/disable it, show/hide it in the navigation, rename its title, change its path, make it the home page, or move it in the navigation. Only provided fields change. Page ids come from get_site.document.pages (built-ins: home, menu, about, loyalty).

set_page input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "page_id"
  ],
  "properties": {
    "path": {
      "type": "string",
      "maxLength": 40,
      "description": "One segment like /wine"
    },
    "title": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 60
        },
        {
          "type": "null"
        }
      ]
    },
    "enabled": {
      "type": "boolean"
    },
    "page_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Page id, e.g. home, menu, about, loyalty"
    },
    "position": {
      "type": "integer",
      "maximum": 60,
      "minimum": 0,
      "description": "Move the page to this position in the navigation"
    },
    "make_home": {
      "type": "boolean",
      "description": "Serve this page at /"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "show_in_nav": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}
set_page annotations
{
  "title": "Set page",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
add_page — Add page
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Add a new page with a text section (add more with add_section). Returns the updated document, where the new page's id appears.

add_page input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "title"
  ],
  "properties": {
    "path": {
      "type": "string",
      "maxLength": 40
    },
    "title": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    },
    "position": {
      "type": "integer",
      "maximum": 60,
      "minimum": 0,
      "description": "0-based position"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
add_page annotations
{
  "title": "Add page",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
remove_page — Remove page
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Remove a custom page and its sections. The home page can't be removed — make another page home first (set_page make_home).

remove_page input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "page_id"
  ],
  "properties": {
    "page_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Page id, e.g. home, menu, about, loyalty"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
remove_page annotations
{
  "title": "Remove page",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
set_nav_links — Set nav links
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Replace the navigation with custom links ([] restores the automatic page list).

set_nav_links input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "links"
  ],
  "properties": {
    "links": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "label",
          "path"
        ],
        "properties": {
          "path": {
            "type": "string",
            "maxLength": 80
          },
          "label": {
            "type": "string",
            "maxLength": 30,
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "maxItems": 8,
      "description": "Custom navigation; [] restores the automatic page list"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
set_nav_links annotations
{
  "title": "Set nav links",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
add_section — Add section
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Add a section of a given `type` (keys of get_site.theme.sections) to a page, optionally from one of its presets, with a settings patch and a 0-based position (default: the end). Sections hold blocks; add them with add_block. An outside image url in an image setting is copied into the business's media library and the setting stores our copy; if it can't be downloaded the call fails with image_fetch_failed and nothing changes.

add_section input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "page_id"
  ],
  "properties": {
    "kind": {
      "$ref": "#/properties/type",
      "description": "Alias of type"
    },
    "type": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1,
      "description": "Section type from get_site"
    },
    "preset": {
      "type": "string",
      "maxLength": 80,
      "description": "Start from one of the type's presets"
    },
    "page_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Page id, e.g. home, menu, about, loyalty"
    },
    "position": {
      "type": "integer",
      "maximum": 60,
      "minimum": 0,
      "description": "0-based position"
    },
    "settings": {
      "type": "object",
      "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings.",
      "additionalProperties": {}
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
add_section annotations
{
  "title": "Add section",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
update_section — Update section
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Change one section: merge-patch its settings (null removes a key; settings: null resets them all) and/or hide/show it. Ids come from get_site.document.templates[page_id]. An outside image url in an image setting is copied into the business's media library and the setting stores our copy; if it can't be downloaded the call fails with image_fetch_failed and nothing changes.

update_section input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "page_id",
    "section_id"
  ],
  "properties": {
    "hidden": {
      "type": "boolean"
    },
    "page_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Page id, e.g. home, menu, about, loyalty"
    },
    "settings": {
      "anyOf": [
        {
          "type": "object",
          "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings.",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ],
      "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings."
    },
    "section_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Section id from get_site"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
update_section annotations
{
  "title": "Update section",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
remove_section — Remove section
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Remove a section from a page. To keep it for later, hide it with update_section hidden=true instead.

remove_section input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "page_id",
    "section_id"
  ],
  "properties": {
    "page_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Page id, e.g. home, menu, about, loyalty"
    },
    "section_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Section id from get_site"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
remove_section annotations
{
  "title": "Remove section",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
move_section — Move section
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Move a section to a 0-based position within its page.

move_section input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "page_id",
    "section_id",
    "position"
  ],
  "properties": {
    "page_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Page id, e.g. home, menu, about, loyalty"
    },
    "position": {
      "type": "integer",
      "maximum": 60,
      "minimum": 0,
      "description": "0-based position"
    },
    "section_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Section id from get_site"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
move_section annotations
{
  "title": "Move section",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
add_block — Add block
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Add a block (a repeatable piece inside a section: a link, a photo, a testimonial, …) of a `type` the section accepts (get_site.theme.sections[type].blocks). Nest it in another block with parent_block_id. An outside image url in an image setting is copied into the business's media library and the setting stores our copy; if it can't be downloaded the call fails with image_fetch_failed and nothing changes.

add_block input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "page_id",
    "section_id",
    "type"
  ],
  "properties": {
    "type": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1,
      "description": "Block type the section accepts (see get_site)"
    },
    "preset": {
      "type": "string",
      "maxLength": 80,
      "description": "Start from one of the block type's presets"
    },
    "page_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Page id, e.g. home, menu, about, loyalty"
    },
    "position": {
      "type": "integer",
      "maximum": 60,
      "minimum": 0,
      "description": "0-based position"
    },
    "settings": {
      "type": "object",
      "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings.",
      "additionalProperties": {}
    },
    "section_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Section id from get_site"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "parent_block_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Nest inside this block instead of the section"
    }
  },
  "additionalProperties": false
}
add_block annotations
{
  "title": "Add block",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
update_block — Update block
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Merge-patch one block's settings (null removes a key) and/or hide/show it. An outside image url in an image setting is copied into the business's media library and the setting stores our copy; if it can't be downloaded the call fails with image_fetch_failed and nothing changes.

update_block input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "page_id",
    "section_id",
    "block_id"
  ],
  "properties": {
    "hidden": {
      "type": "boolean"
    },
    "page_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Page id, e.g. home, menu, about, loyalty"
    },
    "block_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Block id from get_site"
    },
    "settings": {
      "anyOf": [
        {
          "type": "object",
          "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings.",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ],
      "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings."
    },
    "section_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Section id from get_site"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
update_block annotations
{
  "title": "Update block",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
move_block — Move block
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Move a block to a 0-based position among its siblings.

move_block input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "page_id",
    "section_id",
    "block_id",
    "position"
  ],
  "properties": {
    "page_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Page id, e.g. home, menu, about, loyalty"
    },
    "block_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Block id from get_site"
    },
    "position": {
      "type": "integer",
      "maximum": 60,
      "minimum": 0,
      "description": "0-based position"
    },
    "section_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Section id from get_site"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
move_block annotations
{
  "title": "Move block",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
remove_block — Remove block
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Remove a block (and any blocks nested in it).

remove_block input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "page_id",
    "section_id",
    "block_id"
  ],
  "properties": {
    "page_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Page id, e.g. home, menu, about, loyalty"
    },
    "block_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Block id from get_site"
    },
    "section_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Section id from get_site"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
remove_block annotations
{
  "title": "Remove block",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
set_featured_items — Set featured items
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Choose the dishes shown in the home page's "featured" section, in order (menu item ids, max 12; [] lets the site pick automatically). Adds the section after the hero if the page has none.

set_featured_items input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "item_ids"
  ],
  "properties": {
    "page_id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Defaults to the home page"
    },
    "item_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 64,
        "minLength": 1
      },
      "maxItems": 12,
      "description": "Menu item ids, in display order; [] = automatic"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
set_featured_items annotations
{
  "title": "Set featured items",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
set_system_theme — Set system theme
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Switch to another system theme (get_site lists `system_themes`). Pages, sections and settings are kept.

set_system_theme input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "theme_id"
  ],
  "properties": {
    "theme_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "A system theme id from get_site (e.g. lokand-base)"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
set_system_theme annotations
{
  "title": "Set system theme",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
make_menu_only — Make menu only
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Turn the site into a single menu page (the menu becomes the home page, every other page is disabled). Use when the owner wants "just the menu". Revertible with revert_last_site_change.

make_menu_only input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
make_menu_only annotations
{
  "title": "Make menu only",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
set_brand_link — Set brand link
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Chains only: link this location to its brand's shared site (linked=true) so it shows the brand template's pages and theme, or unlink it (linked=false) to use its own site again. Hours, address, menus and ordering always stay this location's own. The brand template is set with publish_brand_template.

set_brand_link input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "linked"
  ],
  "properties": {
    "linked": {
      "type": "boolean",
      "description": "true = show the brand's shared site here; false = this location's own site"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
set_brand_link annotations
{
  "title": "Set brand link",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
update_ticket_design — Update ticket design
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Pro: change how one ticket type's tickets look (each type can differ, e.g. VIP gold, General plain). `settings` uses the theme's ticket_* settings (get_site lists them, in the Ticket group); unset values follow the theme's ticket settings, and those follow the site's colors. null resets the type. Ticket type ids come from list_events. Change the look of every ticket with update_theme_settings instead.

update_ticket_design input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "ticket_type_id",
    "settings"
  ],
  "properties": {
    "settings": {
      "anyOf": [
        {
          "type": "object",
          "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings.",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ],
      "description": "Merge patch on how this ticket type looks, using the theme's ticket_* settings; null makes it follow the theme again"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "ticket_type_id": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "description": "Ticket type id from list_events"
    }
  },
  "additionalProperties": false
}
update_ticket_design annotations
{
  "title": "Update ticket design",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
publish_brand_template — Publish brand template
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Chains only: make this location's published site the brand template that every linked location of its organization shows (see set_brand_link). Requires brand owner/admin and the franchise plan.

publish_brand_template input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
publish_brand_template annotations
{
  "title": "Publish brand template",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
revert_last_site_change — Revert last site change
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Undo the most recent site change made through the site ops or set_theme (up to the last 10, kept for 30 days). Call repeatedly to step further back. 404 when there is nothing to undo.

revert_last_site_change input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
revert_last_site_change annotations
{
  "title": "Revert last site change",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
update_loyalty_card — Update loyalty card
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Set up or change the business's loyalty stamp card program: how many stamps earn the reward, the reward text, whether the card is live and whether guests can add it to Apple Wallet / Google Wallet. Only provided fields change; the first call must include stamps_required and reward_text. The card's look is theme settings (the card_* settings in get_site's theme settings: stamp icon, layout, pattern, finish, radius, logo and colors) — change it with update_theme_settings; card_config here is the older shape of the same thing and is applied as theme settings. The page's copy is the loyalty page's loyalty-card section (update_section). Available on every plan (up to 50 members on Free; unlimited on Pro and Business).

update_loyalty_card input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "is_active": {
      "type": "boolean",
      "description": "Whether diners can join and collect stamps"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "card_config": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "back": {
              "type": "object",
              "properties": {
                "bg": {
                  "$ref": "#/properties/card_config/anyOf/0/properties/colors/properties/cardBg"
                },
                "fg": {
                  "$ref": "#/properties/card_config/anyOf/0/properties/colors/properties/cardBg"
                },
                "note": {
                  "type": "string",
                  "maxLength": 120
                }
              },
              "additionalProperties": false
            },
            "colors": {
              "type": "object",
              "properties": {
                "cardBg": {
                  "type": "string",
                  "pattern": "^#[0-9a-fA-F]{6}$"
                },
                "cardFg": {
                  "$ref": "#/properties/card_config/anyOf/0/properties/colors/properties/cardBg"
                },
                "stampEmpty": {
                  "$ref": "#/properties/card_config/anyOf/0/properties/colors/properties/cardBg"
                },
                "stampFilled": {
                  "$ref": "#/properties/card_config/anyOf/0/properties/colors/properties/cardBg"
                }
              },
              "additionalProperties": false
            },
            "finish": {
              "enum": [
                "matte",
                "gloss",
                "foil"
              ],
              "type": "string"
            },
            "layout": {
              "enum": [
                "grid",
                "row"
              ],
              "type": "string"
            },
            "radius": {
              "type": "integer",
              "maximum": 32,
              "minimum": 0
            },
            "pattern": {
              "enum": [
                "none",
                "dots",
                "lines",
                "waves",
                "checks"
              ],
              "type": "string"
            },
            "subline": {
              "type": "string",
              "maxLength": 90
            },
            "headline": {
              "type": "string",
              "maxLength": 60
            },
            "showLogo": {
              "type": "boolean"
            },
            "stampIcon": {
              "enum": [
                "star",
                "heart",
                "coffee",
                "gift",
                "leaf",
                "smile",
                "beer",
                "wine",
                "cocktail",
                "pizza",
                "burger",
                "icecream"
              ],
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Older shape of the card's look — colors{cardBg,cardFg,stampFilled,stampEmpty}, stampIcon, layout, pattern, finish, radius, showLogo, back{bg,fg}. Written as the site's card_* theme settings, replacing them all; null resets the card to the site's colors. Prefer update_theme_settings."
    },
    "reward_text": {
      "type": "string",
      "maxLength": 140,
      "minLength": 1,
      "description": "What the guest gets, e.g. \"A free coffee\""
    },
    "apple_wallet": {
      "type": "boolean",
      "description": "Whether guests can add the card to Apple Wallet (default on)"
    },
    "google_wallet": {
      "type": "boolean",
      "description": "Whether guests can add the card to Google Wallet (default on)"
    },
    "stamps_required": {
      "type": "integer",
      "maximum": 30,
      "minimum": 2,
      "description": "Stamps needed for one reward (2-30)"
    }
  },
  "additionalProperties": false
}
update_loyalty_card annotations
{
  "title": "Update loyalty card",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
send_loyalty_wallet_message — Send loyalty wallet message
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Send a short message to every guest who keeps the business's loyalty card in Apple Wallet or Google Wallet, or who turned on notifications from it in their browser. It replaces the News line on each pass and arrives as a notification on the guest's phone. Plain text, up to 200 characters, e.g. "Happy hour today 5-7pm: 2-for-1 cocktails". At most one message per 15 minutes, and repeating the current message sends nothing (Google Wallet also caps notifications at 3 per pass a day, stamps included). Returns how many guests it reaches. Free on every plan.

send_loyalty_wallet_message input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "message"
  ],
  "properties": {
    "message": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "What holders see on the lock screen"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
send_loyalty_wallet_message annotations
{
  "title": "Send loyalty wallet message",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
theme_list — Theme list
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List the business's custom themes (id, name, role live|unpublished|development, version, upload status) and the system themes. Custom theme code is a Pro feature (free on every plan until 2027-01-01).

theme_list input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
theme_list annotations
{
  "title": "Theme list",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
theme_get — Theme get
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

One theme's details and upload status: ready (the version is stored and can be published), processing (poll again in a second or two) or failed (with the error).

theme_get input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "theme_id"
  ],
  "properties": {
    "theme_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "A theme id from theme_list (or the system theme id lokand-base)"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
theme_get annotations
{
  "title": "Theme get",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
theme_pull — Theme pull
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Download a theme's files ({path: text}). theme_id "lokand-base" returns the system theme to start from. Custom themes return their latest stored version. A whole theme is large: pass search to find the lines you need to change, or list_only for paths and sizes, then paths for whole files.

theme_pull input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "theme_id"
  ],
  "properties": {
    "paths": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 120
      },
      "maxItems": 20,
      "description": "Return only these files"
    },
    "search": {
      "type": "string",
      "maxLength": 200,
      "minLength": 2,
      "description": "Case-insensitive text to find, e.g. \".menu-item .name\"; returns matching lines as {path, line, text} instead of files (combine with paths to limit where it looks)"
    },
    "theme_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "A theme id from theme_list (or the system theme id lokand-base)"
    },
    "list_only": {
      "type": "boolean",
      "description": "Return only {path, size} for every file"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
theme_pull annotations
{
  "title": "Theme pull",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
theme_upload — Theme upload
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Upload a complete custom theme (Pro plan; free on every plan until 2027-01-01) as a new commit in its Git repo. Files are validated and compiled at once — a 422 lists every problem as `path: message` lines — then compiled in the background: poll theme_get until status is ready, then theme_publish. Without theme_id, role development reuses your one development theme and role unpublished creates a new theme; with theme_id it stores the next version of that theme. Updating the live theme needs allow_live: true.

theme_upload input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "files"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
    },
    "role": {
      "enum": [
        "development",
        "unpublished"
      ],
      "type": "string",
      "default": "development",
      "description": "development = your private work-in-progress theme (one per user, replaced on each upload); unpublished = a saved theme ready to publish"
    },
    "files": {
      "type": "object",
      "description": "Theme files by path, e.g. {\"sections/hero.liquid\": \"...\", \"config/settings_schema.json\": \"...\"}",
      "additionalProperties": {
        "type": "string"
      }
    },
    "message": {
      "type": "string",
      "maxLength": 200,
      "description": "Commit message"
    },
    "theme_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "A theme id from theme_list (or the system theme id lokand-base)"
    },
    "allow_live": {
      "type": "boolean",
      "description": "With the live theme's id: update the live site in place"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
theme_upload annotations
{
  "title": "Theme upload",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
theme_write_files — Theme write files
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Change some files of a custom theme (Pro plan; free on every plan until 2027-01-01) as one new commit: files maps path → whole new text (null deletes), edits are find/replace changes. Read the current files with theme_pull first. Same validation and background compile as theme_upload. On the LIVE theme the change goes live automatically once compiled; theme_rollback undoes it. On the system theme id lokand-base it creates a new unpublished theme from it; pass publish: true to make that live too.

theme_write_files input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "theme_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
    },
    "edits": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "path",
          "find",
          "replace"
        ],
        "properties": {
          "find": {
            "type": "string",
            "maxLength": 20000,
            "minLength": 1,
            "description": "Exact text that occurs once in the file"
          },
          "path": {
            "type": "string",
            "maxLength": 120
          },
          "replace": {
            "type": "string",
            "maxLength": 60000
          }
        },
        "additionalProperties": false
      },
      "maxItems": 40,
      "description": "Find/replace changes inside existing files. Prefer this over whole files: send only the lines that change"
    },
    "files": {
      "type": "object",
      "description": "path → whole new file text, or null to delete the file",
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "message": {
      "type": "string",
      "maxLength": 200,
      "description": "Commit message describing the change"
    },
    "publish": {
      "type": "boolean",
      "description": "Go live once compiled (always the case when editing the live theme)"
    },
    "theme_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "A theme id from theme_list (or the system theme id lokand-base)"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
theme_write_files annotations
{
  "title": "Theme write files",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
theme_publish — Theme publish
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Make a custom theme the live site's code (Pro plan; free on every plan until 2027-01-01). The previous live theme becomes unpublished and cached pages refresh. `warnings` lists parts of the current site document the new theme doesn't define (fix them with the site ops).

theme_publish input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "theme_id"
  ],
  "properties": {
    "theme_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "A theme id from theme_list (or the system theme id lokand-base)"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
theme_publish annotations
{
  "title": "Theme publish",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
theme_unpublish — Theme unpublish
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Stop using custom theme code: the site goes back to its system theme. The custom theme is kept as unpublished.

theme_unpublish input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
theme_unpublish annotations
{
  "title": "Theme unpublish",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
theme_delete — Theme delete
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Delete a custom theme and all its stored versions. The live theme can't be deleted — unpublish it first.

theme_delete input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "theme_id"
  ],
  "properties": {
    "theme_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "A theme id from theme_list (or the system theme id lokand-base)"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
theme_delete annotations
{
  "title": "Theme delete",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
get_storefront_context — Get storefront context
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

The exact data a theme renders with (the StorefrontData Liquid objects are built from): the business (localized, brand site applied), every active menu with items, primary menu id, loyalty/ordering flags, the stamp-card program and its resolved style — plus theme_data (the site document) and live_theme. Use it to preview or test theme code locally.

get_storefront_context input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 10,
      "minLength": 2,
      "description": "Defaults to the business's default locale"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
get_storefront_context annotations
{
  "title": "Get storefront context",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
theme_history — Theme history
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

The commit history of a custom theme's code, newest first: hash, message, author, time. The `commit` on theme_get is the one the site renders.

theme_history input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "theme_id"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1
    },
    "theme_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "A theme id from theme_list (or the system theme id lokand-base)"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
theme_history annotations
{
  "title": "Theme history",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
theme_rollback — Theme rollback
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Restore a custom theme's code to an earlier commit (Pro plan; free on every plan until 2027-01-01). It is saved as a new commit, so the rollback itself can be undone; on the live theme it goes live once compiled. Without commit, restores the version before the latest change.

theme_rollback input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "theme_id"
  ],
  "properties": {
    "commit": {
      "type": "string",
      "maxLength": 40,
      "minLength": 7,
      "description": "Commit hash from theme_history"
    },
    "theme_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "A theme id from theme_list (or the system theme id lokand-base)"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
theme_rollback annotations
{
  "title": "Theme rollback",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
theme_git_access — Theme git access
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Git access to a custom theme's code: the HTTPS remote and a repo-scoped token (read, or write on the Pro plan; free on every plan until 2027-01-01). Pushes to main compile automatically and, for the live theme, publish once compiled; theme_get shows a push that failed to compile as push_error. Tokens expire (default 1 hour).

theme_git_access input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "theme_id"
  ],
  "properties": {
    "scope": {
      "enum": [
        "read",
        "write"
      ],
      "type": "string",
      "default": "read"
    },
    "theme_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "A theme id from theme_list (or the system theme id lokand-base)"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "ttl_seconds": {
      "type": "integer",
      "maximum": 604800,
      "minimum": 60
    }
  },
  "additionalProperties": false
}
theme_git_access annotations
{
  "title": "Theme git access",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
theme_sync — Theme sync
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Compile the latest commit on a custom theme's main branch now (Pro plan; free on every plan until 2027-01-01). Pushes compile on their own; call this to apply a push immediately or to retry. Validates like an upload and, for the live theme, publishes once compiled. Poll theme_get for status.

theme_sync input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "theme_id"
  ],
  "properties": {
    "theme_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "A theme id from theme_list (or the system theme id lokand-base)"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
theme_sync annotations
{
  "title": "Theme sync",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
list_assets — List assets
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List every image the business owns: its media library (uploads, photos copied from its old website at import, photos the owner attached in chat), its logo and every menu item photo. Each entry has its url, kind, source, where it is used, width/height in pixels and size in bytes (null when unknown), and tags a vision model read off the image: subject (dish, drink, interior, exterior, people, logo, menu), what it shows, whether it matches the dish it is labelled as, quality 1-5, dominant colors and alt text. Use these urls for any site or menu image; never use an outside image.

list_assets input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "kind": {
      "enum": [
        "photo",
        "logo",
        "any"
      ],
      "type": "string",
      "description": "Only photos or only logos; default any"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
list_assets annotations
{
  "title": "List assets",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
upload_image — Upload image
Advertised by the server during the last successful anonymous check.
Open-world

Add an image file to the business's media library: pass the file's bytes as base64 (JPEG, PNG, WebP, GIF or HEIC, up to 15 MB). It is re-encoded (EXIF/GPS stripped) and stored as the business's own; the returned url works anywhere list_assets urls do (use_asset, update_section, update_block). For an image already online, pass its url to those ops directly instead.

upload_image input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "data_base64"
  ],
  "properties": {
    "kind": {
      "enum": [
        "photo",
        "logo"
      ],
      "type": "string",
      "description": "Default photo"
    },
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "description": "A name for the library, e.g. storefront-night"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "data_base64": {
      "type": "string",
      "maxLength": 20972544,
      "minLength": 16,
      "description": "The file's bytes, base64-encoded (no data: prefix)"
    }
  },
  "additionalProperties": false
}
upload_image annotations
{
  "title": "Upload image",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
create_image_upload — Create image upload
Advertised by the server during the last successful anonymous check.
Open-world

Get a short-lived URL to upload an image file to the business's media library without base64: PUT the raw file bytes to upload_url (any Content-Type; JPEG, PNG, WebP, GIF or HEIC, up to 15 MB), e.g. `curl -T photo.jpg <upload_url>`. The response is {ok, url}: the image's url in the library, usable anywhere list_assets urls are. One URL per file; it expires after 15 minutes. For small images upload_image takes base64.

create_image_upload input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "kind": {
      "enum": [
        "photo",
        "logo"
      ],
      "type": "string",
      "description": "Default photo"
    },
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "description": "A name for the library, e.g. storefront-night"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
create_image_upload annotations
{
  "title": "Create image upload",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
use_asset — Use asset
Advertised by the server during the last successful anonymous check.
Open-world

Put one of the business's own images (a url from list_assets) to use: as the logo (target "logo") or as a menu item's photo (target "item" with item_id). For a site section or block image, pass the same url to update_section / update_block instead.

use_asset input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "url",
    "target"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "An image url from list_assets"
    },
    "target": {
      "enum": [
        "logo",
        "item"
      ],
      "type": "string"
    },
    "item_id": {
      "type": "string",
      "minLength": 1,
      "description": "The menu item, for target item"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
use_asset annotations
{
  "title": "Use asset",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
suggest_styles — Suggest styles
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Recommend looks for the business's website from Lokand's style library (14 hand-made looks, from a Michelin-style 'gastronomique' to a street 'bufe'), read from its menu, prices, logo and photos. Returns the three best fits, how bold to go (safe / distinct / bold, from how much material the business has) and why, and the whole library. Call this before a new look or a redesign, then get_style for the chosen look.

suggest_styles input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
suggest_styles annotations
{
  "title": "Suggest styles",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
get_style — Get style
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Compile one look from the style library into the exact settings to send in ONE update_theme_settings call (palette, fonts, shape, spacing and a signature custom_css on the stable [data-lk] hooks), plus the menu section style to set, the photo to put in the home hero (hero_image, if any), how to shape the home page, the copy voice, and do / don't lists. By default it uses the logo's color when the logo has a strong one. level: safe, distinct or bold (from suggest_styles, or the owner's ask: 'bolder' / 'simpler').

get_style input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "style"
  ],
  "properties": {
    "level": {
      "enum": [
        "safe",
        "distinct",
        "bold"
      ],
      "type": "string"
    },
    "style": {
      "enum": [
        "gastronomique",
        "bufe",
        "firin",
        "ocakbasi",
        "meyhane",
        "esnaf",
        "kahvalti",
        "third-wave",
        "pastane",
        "burger",
        "trattoria",
        "sushi",
        "cocktail-bar",
        "fresh"
      ],
      "type": "string"
    },
    "seed_color": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$",
      "description": "Lead color to build the palette from, e.g. the owner's brand color"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "use_logo_colors": {
      "type": "boolean",
      "description": "Default true"
    }
  },
  "additionalProperties": false
}
get_style annotations
{
  "title": "Get style",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
list_tables — List tables
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List the business's tables — the places that each need their own QR code for table ordering (the code tells the order which table it's from). Returns each table's name, zone, code, the short URL its QR encodes (qr_url; null until first exported) and the order page that opens.

list_tables input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
list_tables annotations
{
  "title": "List tables",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
create_tables — Create tables
Advertised by the server during the last successful anonymous check.
Open-world

Add tables in bulk — each gets its own permanent table-ordering QR code with its name printed under it. Either pass `names` (["Table 1","Terrace 2"]) or `count` with an optional `prefix` ("Table" → "Table 4", "Table 5", … continuing after the highest existing number). Names that already exist are skipped. Follow with export_qr_codes(purpose: table_ordering) to print them.

create_tables input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "zone": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Area, e.g. \"Terrace\""
    },
    "count": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "How many numbered tables to add"
    },
    "names": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 40,
        "minLength": 1
      },
      "maxItems": 100,
      "minItems": 1,
      "description": "Exact table names"
    },
    "prefix": {
      "type": "string",
      "maxLength": 36,
      "minLength": 1,
      "description": "Name before the number; default \"Table\""
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "start_number": {
      "type": "integer",
      "maximum": 9999,
      "minimum": 0,
      "description": "First number; default continues after existing ones"
    }
  },
  "additionalProperties": false
}
create_tables annotations
{
  "title": "Create tables",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
list_qr_codes — List qr codes
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List the business's QR codes. Every printed QR is a short link (lknd.to/<code>) whose destination can change without reprinting. role: menu (the menu QR — is_default marks the one export_qr_codes prints; extra ones are separate placements such as a window), table (one per table, opens that table's order page) or link (any other URL). Returns each code's url (what the QR encodes), where a scan goes now (destination), its all-time scans and whether it is retired (retired codes open the menu, and so do table codes while the business doesn't take orders).

list_qr_codes input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "include_retired": {
      "type": "boolean",
      "description": "Default false"
    }
  },
  "additionalProperties": false
}
list_qr_codes annotations
{
  "title": "List qr codes",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
create_qr_code — Create qr code
Advertised by the server during the last successful anonymous check.
Open-world

Create a QR code (a short link). With target_url it is a link code to that URL (Wi-Fi page, reviews, Instagram, a campaign). Without target_url it is another menu code — a separate placement (e.g. "Window") with its own scan count; the menu already has a default code, so only add one when the owner wants to tell placements apart. Table codes are made by create_tables. Print it with export_qr_codes(purpose: link, shortlink_ids: [code]).

create_qr_code input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "label"
  ],
  "properties": {
    "label": {
      "type": "string",
      "maxLength": 80,
      "description": "What it is or where it goes, e.g. \"Window\""
    },
    "target_url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https?:\\/\\/",
      "maxLength": 2048,
      "minLength": 1,
      "description": "http(s) URL; omit for a menu code"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
create_qr_code annotations
{
  "title": "Create qr code",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
update_qr_code — Update qr code
Advertised by the server during the last successful anonymous check.
Open-world

Change a QR code without reprinting it. target_url re-points it (not for table codes, which always open their table). label renames it. retired: true takes it out of use — its printed QR then opens the menu, and the code stays reserved; retired: false restores it. A printed code is never deleted. Find codes with list_qr_codes.

update_qr_code input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "code"
  ],
  "properties": {
    "code": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    },
    "label": {
      "type": "string",
      "maxLength": 80
    },
    "retired": {
      "type": "boolean"
    },
    "target_url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https?:\\/\\/",
      "maxLength": 2048,
      "minLength": 1
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
update_qr_code annotations
{
  "title": "Update qr code",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
get_qr_design — Get qr design
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Read how the business's printed QR codes look: colors, module and corner style, frame, call-to-action and whether the logo is in the middle.

get_qr_design input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
get_qr_design annotations
{
  "title": "Get qr design",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
update_qr_design — Update qr design
Advertised by the server during the last successful anonymous check.
Open-world

Change how the business's printed QR codes look. Only the fields you pass change. The code color must be darker than the background with enough contrast to scan — rejected otherwise. `reset: true` restores the default look.

update_qr_design input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "bg": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$",
      "description": "Background behind the code"
    },
    "fg": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$",
      "description": "Code color (dark modules)"
    },
    "cta": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional text above the code, e.g. \"Scan to order\". null = none (only the name is printed)"
    },
    "logo": {
      "type": "boolean",
      "description": "Put the business logo in the middle"
    },
    "frame": {
      "enum": [
        "none",
        "caption",
        "card"
      ],
      "type": "string",
      "description": "none (code + label only), caption (call-to-action text above the code) or card (filled color card around the code)"
    },
    "reset": {
      "type": "boolean"
    },
    "accent": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$",
      "description": "Frame color: caption text, card fill"
    },
    "eye_style": {
      "enum": [
        "square",
        "rounded",
        "circle"
      ],
      "type": "string",
      "description": "Corner markers: square, rounded or circle"
    },
    "show_label": {
      "type": "boolean",
      "description": "Print the table's name under each per-table code (default true). Only turn off for stickers fixed to their table: on a stand that can move, an unnamed code sends orders to the wrong table"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "module_style": {
      "enum": [
        "square",
        "rounded",
        "dots"
      ],
      "type": "string",
      "description": "square (classic), rounded (soft, joined) or dots"
    }
  },
  "additionalProperties": false
}
update_qr_design annotations
{
  "title": "Update qr design",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
export_qr_codes — Export qr codes
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Render the business's QR codes as a printable file and return a download URL. Every code is a short link (lknd.to/<code>) the owner can re-point without reprinting. purpose: menu (one code to the menu site, repeated `copies` times), table_ordering (ONE CODE PER TABLE, each with its table name printed under it — needs tables, see create_tables) or link (its short links). format: home_pdf (sheets with cut guides on any paper: a4, a3, a5, letter, or custom with paper_width_mm and paper_height_mm; layout large=1, medium=4, small=12 per page, or size_mm for an exact code width with as many per page as fit), press_pdf (print shop: one code per page at size_mm wide, 3 mm bleed, trim box and crop marks, all vector) or svg_zip (one vector SVG per code, for a designer). Uses the saved design (get_qr_design) unless `design` overrides it for this file only.

export_qr_codes input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "purpose"
  ],
  "properties": {
    "paper": {
      "enum": [
        "a4",
        "a3",
        "a5",
        "letter",
        "custom"
      ],
      "type": "string",
      "description": "home_pdf: default a4"
    },
    "copies": {
      "type": "integer",
      "maximum": 200,
      "minimum": 1,
      "description": "menu/link: copies of each code; default fills one sheet"
    },
    "design": {
      "type": "object",
      "properties": {
        "bg": {
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$",
          "description": "Background behind the code"
        },
        "fg": {
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$",
          "description": "Code color (dark modules)"
        },
        "cta": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 40
            },
            {
              "type": "null"
            }
          ],
          "description": "Optional text above the code, e.g. \"Scan to order\". null = none (only the name is printed)"
        },
        "logo": {
          "type": "boolean",
          "description": "Put the business logo in the middle"
        },
        "frame": {
          "enum": [
            "none",
            "caption",
            "card"
          ],
          "type": "string",
          "description": "none (code + label only), caption (call-to-action text above the code) or card (filled color card around the code)"
        },
        "accent": {
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$",
          "description": "Frame color: caption text, card fill"
        },
        "eye_style": {
          "enum": [
            "square",
            "rounded",
            "circle"
          ],
          "type": "string",
          "description": "Corner markers: square, rounded or circle"
        },
        "show_label": {
          "type": "boolean",
          "description": "Print the table's name under each per-table code (default true). Only turn off for stickers fixed to their table: on a stand that can move, an unnamed code sends orders to the wrong table"
        },
        "module_style": {
          "enum": [
            "square",
            "rounded",
            "dots"
          ],
          "type": "string",
          "description": "square (classic), rounded (soft, joined) or dots"
        }
      },
      "additionalProperties": false
    },
    "format": {
      "enum": [
        "home_pdf",
        "press_pdf",
        "svg_zip"
      ],
      "type": "string",
      "description": "Default home_pdf"
    },
    "layout": {
      "enum": [
        "large",
        "medium",
        "small"
      ],
      "type": "string",
      "description": "home_pdf: default medium; ignored when size_mm is set"
    },
    "purpose": {
      "enum": [
        "menu",
        "table_ordering",
        "link"
      ],
      "type": "string"
    },
    "size_mm": {
      "type": "number",
      "maximum": 300,
      "minimum": 20,
      "description": "press_pdf/svg_zip: printed tile width in mm, default 90. home_pdf: width of the code itself (outer modules), instead of a layout"
    },
    "bleed_mm": {
      "type": "number",
      "maximum": 10,
      "minimum": 0,
      "description": "press_pdf: default 3"
    },
    "cut_lines": {
      "type": "boolean",
      "description": "home_pdf: dashed cut guides around each code; default true"
    },
    "table_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 500,
      "description": "table_ordering: which tables; default all active ones"
    },
    "print_link": {
      "type": "boolean",
      "description": "Also return print_link: a short link to forward to a print shop, opening a download page with the press PDF + SVGs and their specs (expires in 60 days). Default true for press_pdf and svg_zip"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "shortlink_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 200,
      "description": "link: which short links (default all); menu: the short link to encode"
    },
    "paper_width_mm": {
      "type": "number",
      "maximum": 1000,
      "minimum": 50,
      "description": "home_pdf, paper custom"
    },
    "paper_height_mm": {
      "type": "number",
      "maximum": 1000,
      "minimum": 50,
      "description": "home_pdf, paper custom"
    }
  },
  "additionalProperties": false
}
export_qr_codes annotations
{
  "title": "Export qr codes",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
set_translations — Set translations
Advertised by the server during the last successful anonymous check.
Open-world

Write translations of a business's menu into one locale: section names, dish names and descriptions, menu names, and the business name/description. Use the menu's own wording when the owner has it (e.g. a bilingual printed menu) rather than machine-translating. Fields you leave out keep their current translation. Visitors see a locale once it is in the business's supported_locales (update_business).

set_translations input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "locale"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "item_id"
        ],
        "properties": {
          "name": {
            "$ref": "#/properties/business/properties/name"
          },
          "item_id": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "$ref": "#/properties/business/properties/description"
          }
        },
        "additionalProperties": false
      },
      "maxItems": 500
    },
    "menus": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "menu_id"
        ],
        "properties": {
          "name": {
            "$ref": "#/properties/business/properties/name"
          },
          "menu_id": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "$ref": "#/properties/business/properties/description"
          }
        },
        "additionalProperties": false
      },
      "maxItems": 20
    },
    "locale": {
      "enum": [
        "en",
        "tr",
        "es",
        "fr",
        "de",
        "it",
        "pt",
        "nl",
        "pl",
        "ja",
        "zh",
        "ar"
      ],
      "type": "string",
      "description": "Target locale, e.g. en"
    },
    "business": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        "description": {
          "type": "string",
          "maxLength": 2000
        }
      },
      "additionalProperties": false
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "category_id",
          "name"
        ],
        "properties": {
          "name": {
            "$ref": "#/properties/business/properties/name"
          },
          "category_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "maxItems": 100
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
set_translations annotations
{
  "title": "Set translations",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
connect_registered_domain — Connect registered domain
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

STAFF ONLY. Connect a domain already registered in Lokand's registrar account to a business as its menu domain: records it as a managed domain, provisions HTTPS, and points its DNS here. Fails unless the caller is Lokand staff and an owner/admin of the business.

connect_registered_domain input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "domain"
  ],
  "properties": {
    "domain": {
      "type": "string",
      "pattern": "^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)(\\.[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)+$",
      "maxLength": 253,
      "minLength": 3,
      "description": "The registered domain, e.g. myrestaurant.com"
    },
    "business_id": {
      "type": "string",
      "minLength": 1,
      "description": "The business id"
    }
  },
  "additionalProperties": false
}
connect_registered_domain annotations
{
  "title": "Connect registered domain",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
list_events — List events
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List the business's events (upcoming first, then past) with their ticket types, prices, capacity, and tickets sold / checked in.

list_events input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "include_past": {
      "type": "boolean",
      "description": "Also list events that already started; default false"
    }
  },
  "additionalProperties": false
}
list_events annotations
{
  "title": "List events",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
create_event — Create event
Advertised by the server during the last successful anonymous check.
Open-world

Create an event with its ticket types, e.g. a concert night with General and VIP tickets. Tickets are sold in person by staff (issue_tickets or the dashboard); customers see them on the site's My tickets page. Starts as a draft unless publish is true. Requires the Pro plan.

create_event input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "title",
    "starts_at",
    "ticket_types"
  ],
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
    },
    "ends_at": {
      "$ref": "#/properties/starts_at",
      "description": "ISO 8601 with offset, e.g. 2026-12-31T21:00:00+03:00"
    },
    "publish": {
      "type": "boolean",
      "description": "Show it on the site and open sales now; default false"
    },
    "image_url": {
      "type": "string",
      "format": "uri"
    },
    "starts_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 with offset, e.g. 2026-12-31T21:00:00+03:00"
    },
    "venue_name": {
      "type": "string",
      "maxLength": 120,
      "description": "Defaults to the business itself"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "description": {
      "type": "string",
      "maxLength": 4000
    },
    "ticket_types": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "price"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 60,
            "minLength": 1,
            "description": "e.g. \"General\", \"VIP\""
          },
          "price": {
            "type": "number",
            "minimum": 0,
            "description": "In the business's currency; 0 for free"
          },
          "capacity": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1
              },
              {
                "type": "null"
              }
            ],
            "description": "How many are for sale; omit for no limit"
          },
          "description": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 500
              },
              {
                "type": "null"
              }
            ]
          },
          "max_per_order": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 50,
                "minimum": 1
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "maxItems": 20,
      "minItems": 1
    },
    "venue_address": {
      "type": "string",
      "maxLength": 240
    }
  },
  "additionalProperties": false
}
create_event annotations
{
  "title": "Create event",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
update_event — Update event
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Change an event's details or status (draft, published, cancelled). Only provided fields change. Cancelling keeps sold tickets on record; void them in the dashboard if you refund.

update_event input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "event_id"
  ],
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
    },
    "status": {
      "enum": [
        "draft",
        "published",
        "cancelled"
      ],
      "type": "string"
    },
    "ends_at": {
      "anyOf": [
        {
          "$ref": "#/properties/starts_at"
        },
        {
          "type": "null"
        }
      ],
      "description": "ISO 8601 with offset, e.g. 2026-12-31T21:00:00+03:00"
    },
    "event_id": {
      "type": "string",
      "minLength": 1
    },
    "image_url": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    },
    "starts_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 with offset, e.g. 2026-12-31T21:00:00+03:00"
    },
    "venue_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ]
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000
        },
        {
          "type": "null"
        }
      ]
    },
    "venue_address": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 240
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": false
}
update_event annotations
{
  "title": "Update event",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
set_ticket_type — Set ticket type
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Add a ticket type to an event, or change one (pass ticket_type_id). Setting is_active false stops sales but keeps sold tickets valid.

set_ticket_type input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "event_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    },
    "price": {
      "type": "number",
      "minimum": 0
    },
    "capacity": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "event_id": {
      "type": "string",
      "minLength": 1
    },
    "is_active": {
      "type": "boolean"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ]
    },
    "max_per_order": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 50,
          "minimum": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "ticket_type_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
set_ticket_type annotations
{
  "title": "Set ticket type",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
issue_tickets — Issue tickets
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Record an in-person ticket sale and issue the tickets: which ticket types, how many, how it was paid (cash, card_terminal, other), and optionally the buyer's name, email or phone. With an email, the buyer is emailed their tickets and can sign in on the site to keep them. Returns each ticket's code. Requires the Pro plan.

issue_tickets input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "event_id",
    "lines",
    "payment_method"
  ],
  "properties": {
    "buyer": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 80
        },
        "email": {
          "type": "string",
          "format": "email"
        },
        "phone": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "ticket_type_id",
          "qty"
        ],
        "properties": {
          "qty": {
            "type": "integer",
            "maximum": 50,
            "minimum": 1
          },
          "ticket_type_id": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "maxItems": 20,
      "minItems": 1
    },
    "event_id": {
      "type": "string",
      "minLength": 1
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "payment_method": {
      "enum": [
        "cash",
        "card_terminal",
        "other"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false
}
issue_tickets annotations
{
  "title": "Issue tickets",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
set_online_ticket_sales — Set online ticket sales
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Turn online payments (paid tickets on the site's event pages, and reservation deposits) on or off, through the owner's own payment account; money goes straight to that account, Lokand takes no cut, and tickets are emailed on payment. One account at a time: disconnect one before connecting the other. `stripe: true` connects the owner's Stripe account (Stripe Connect) and returns `onboarding_url`, a Stripe page the OWNER must open to sign in to or create their Stripe account; payments start once Stripe enables charges (`status` turns `active`; call again to check or to get a fresh link). `stripe: false` disconnects Stripe. `iyzico` (Turkey; the owner's iyzico merchant API key and secret key, from Settings > Company settings in the iyzico merchant panel; mode `sandbox` for test keys) connects iyzico; the keys are checked with iyzico before saving and are never returned. `iyzico: null` disconnects iyzico. Owner or admin; requires the Pro plan.

set_online_ticket_sales input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "iyzico": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "api_key",
            "secret_key"
          ],
          "properties": {
            "mode": {
              "enum": [
                "live",
                "sandbox"
              ],
              "type": "string"
            },
            "api_key": {
              "type": "string",
              "minLength": 8
            },
            "secret_key": {
              "type": "string",
              "minLength": 8
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "stripe": {
      "type": "boolean"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
set_online_ticket_sales annotations
{
  "title": "Set online ticket sales",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
set_sms_account — Set sms account
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Connect the business's own SMS account, so tickets bought online by a guest who gave a phone number go out as a text from the business's own approved sender name, billed to that account. Provider `netgsm`: the Netgsm user code, an API sub-user password (Netgsm panel > API settings), and a sender name (msgheader, 3-11 characters) approved on that account; Turkish numbers only. The account is checked with Netgsm before saving and the password is never returned. Pass `test_phone` to send one test text after connecting. `account: null` disconnects. Without an account, phone tickets go out on Lokand's WhatsApp. Owner or admin; requires the Pro plan.

set_sms_account input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "account"
  ],
  "properties": {
    "account": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "provider",
            "username",
            "password",
            "sender"
          ],
          "properties": {
            "sender": {
              "type": "string",
              "maxLength": 11,
              "minLength": 3
            },
            "password": {
              "type": "string",
              "minLength": 1
            },
            "provider": {
              "enum": [
                "netgsm"
              ],
              "type": "string"
            },
            "username": {
              "type": "string",
              "minLength": 3
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "test_phone": {
      "type": "string"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
set_sms_account annotations
{
  "title": "Set sms account",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
list_reservations — List reservations
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List the business's table reservations in a time range (default: from 12 hours ago to 14 days ahead), earliest first: time, party size, guest, status (requested = waiting for the owner to accept, confirmed, seated, cancelled, declined, no_show) and whether a deposit was paid. Owners and admins also see the guest's email and phone. Also returns the booking settings.

list_reservations input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "to": {
      "$ref": "#/properties/from",
      "description": "ISO 8601 with offset, e.g. 2026-12-31T20:00:00+03:00"
    },
    "from": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 with offset, e.g. 2026-12-31T20:00:00+03:00"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
list_reservations annotations
{
  "title": "List reservations",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
set_reservation_settings — Set reservation settings
Advertised by the server during the last successful anonymous check.
Open-world

Turn online table reservations on or off and set how they work. Guests book on the site's /reserve page (the site's Reservations section links there). Fields (all optional; only those given change): enabled; slotMinutes (15, 30 or 60, how often start times are offered); durationMinutes (how long a table is kept); minParty/maxParty; capacity (guests the room seats at once); leadMinutes (bookings close this long before); maxDaysAhead; autoConfirm (false = each booking waits for the owner to accept); depositPerGuest (0 = none; charged online through the business's own iyzico account, the one online ticket sales use, so it needs set_online_ticket_sales connected, else bookings go through without a deposit); hours (per weekday mon..sun, a list of {open, close} HH:MM windows in local time; null = use the business's opening hours); note (shown on the booking page). Owner or admin. Available on every plan.

set_reservation_settings input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id"
  ],
  "properties": {
    "note": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ]
    },
    "hours": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "fri": {
              "type": "array",
              "items": {
                "$ref": "#/properties/hours/anyOf/0/properties/mon/items"
              },
              "maxItems": 4
            },
            "mon": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "open",
                  "close"
                ],
                "properties": {
                  "open": {
                    "type": "string",
                    "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
                  },
                  "close": {
                    "$ref": "#/properties/hours/anyOf/0/properties/mon/items/properties/open"
                  }
                },
                "additionalProperties": false
              },
              "maxItems": 4
            },
            "sat": {
              "type": "array",
              "items": {
                "$ref": "#/properties/hours/anyOf/0/properties/mon/items"
              },
              "maxItems": 4
            },
            "sun": {
              "type": "array",
              "items": {
                "$ref": "#/properties/hours/anyOf/0/properties/mon/items"
              },
              "maxItems": 4
            },
            "thu": {
              "type": "array",
              "items": {
                "$ref": "#/properties/hours/anyOf/0/properties/mon/items"
              },
              "maxItems": 4
            },
            "tue": {
              "type": "array",
              "items": {
                "$ref": "#/properties/hours/anyOf/0/properties/mon/items"
              },
              "maxItems": 4
            },
            "wed": {
              "type": "array",
              "items": {
                "$ref": "#/properties/hours/anyOf/0/properties/mon/items"
              },
              "maxItems": 4
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "enabled": {
      "type": "boolean"
    },
    "capacity": {
      "type": "integer",
      "maximum": 10000,
      "minimum": 1
    },
    "maxParty": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1
    },
    "minParty": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1
    },
    "autoConfirm": {
      "type": "boolean"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "leadMinutes": {
      "type": "integer",
      "maximum": 10080,
      "minimum": 0
    },
    "slotMinutes": {
      "enum": [
        15,
        30,
        60
      ],
      "type": "number"
    },
    "maxDaysAhead": {
      "type": "integer",
      "maximum": 365,
      "minimum": 1
    },
    "depositPerGuest": {
      "type": "number",
      "maximum": 100000,
      "minimum": 0
    },
    "durationMinutes": {
      "type": "integer",
      "maximum": 600,
      "minimum": 15
    }
  },
  "additionalProperties": false
}
set_reservation_settings annotations
{
  "title": "Set reservation settings",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
check_reservation_availability — Check reservation availability
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

The start times guests can book on a local date (YYYY-MM-DD, the business's time zone) for a party size, each with whether there is still room.

check_reservation_availability input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "date",
    "party_size"
  ],
  "properties": {
    "date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "party_size": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
check_reservation_availability annotations
{
  "title": "Check reservation availability",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
create_reservation — Create reservation
Advertised by the server during the last successful anonymous check.
Open-world

Add a reservation the business took itself (by phone, message or at the door): confirmed, no deposit. It may be outside online booking hours or over capacity. With `notify` and an email, the guest gets a confirmation email.

create_reservation input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "starts_at",
    "party_size",
    "guest_name"
  ],
  "properties": {
    "notes": {
      "type": "string",
      "maxLength": 500
    },
    "notify": {
      "type": "boolean"
    },
    "starts_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 with offset, e.g. 2026-12-31T20:00:00+03:00"
    },
    "guest_name": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
    },
    "party_size": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "guest_email": {
      "type": "string",
      "format": "email"
    },
    "guest_phone": {
      "type": "string",
      "pattern": "^\\+[1-9]\\d{6,14}$",
      "description": "International format, e.g. +905551234567"
    }
  },
  "additionalProperties": false
}
create_reservation annotations
{
  "title": "Create reservation",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
update_reservation — Update reservation
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Change a reservation's status: confirmed (accept a requested one), declined (only a requested one), seated, no_show, or cancelled. The guest is emailed when a request is accepted or declined, or a booking is cancelled (set notify false to skip). A paid deposit isn't refunded automatically; the owner refunds it in their iyzico panel.

update_reservation input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "business_id",
    "reservation_id",
    "status"
  ],
  "properties": {
    "notify": {
      "type": "boolean"
    },
    "status": {
      "enum": [
        "confirmed",
        "seated",
        "cancelled",
        "declined",
        "no_show"
      ],
      "type": "string"
    },
    "business_id": {
      "type": "string",
      "minLength": 1
    },
    "reservation_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
update_reservation annotations
{
  "title": "Update reservation",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (63 of 63 checks answered)

  1. 2026-11-14: 1 of 1 checks answered
  2. 2026-11-15: 2 of 2 checks answered
  3. 2026-11-16: 4 of 4 checks answered
  4. 2026-11-17: 5 of 5 checks answered
  5. 2026-11-18: 5 of 5 checks answered
  6. 2026-11-19: 4 of 4 checks answered
  7. 2026-11-20: 3 of 3 checks answered
  8. 2026-11-21: 4 of 4 checks answered
  9. 2026-11-22: 4 of 4 checks answered
  10. 2026-11-23: 3 of 3 checks answered
  11. 2026-11-24: 4 of 4 checks answered
  12. 2026-11-25: 4 of 4 checks answered
  13. 2026-11-26: 4 of 4 checks answered
  14. 2026-11-27: 4 of 4 checks answered
  15. 2026-11-28: 3 of 3 checks answered
  16. 2026-11-29: 4 of 4 checks answered
  17. 2026-11-30: 4 of 4 checks answered
  18. 2026-12-01: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
4 of 4 (100%)
Average latency
3146 ms
95th percentile latency
4091 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 3493 ms · metadata changed · 99 tool(s)
  • · probe · passed · 2662 ms · 80 tool(s)
  • · probe · passed · 4196 ms · metadata changed · 80 tool(s)
  • · probe · passed · 2231 ms · metadata changed · 73 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http lokand-restaurant-mcp https://api.lokand.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add lokand-restaurant-mcp --url https://api.lokand.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable lokand-restaurant-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "lokand-restaurant-mcp": {
      "url": "https://api.lokand.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "lokand-restaurant-mcp": {
      "type": "streamableHttp",
      "url": "https://api.lokand.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start lokand-restaurant-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "lokand-restaurant-mcp": {
      "type": "http",
      "url": "https://api.lokand.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http lokand-restaurant-mcp https://api.lokand.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://api.lokand.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "lokand-restaurant-mcp": {
      "serverUrl": "https://api.lokand.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Lokand Restaurant MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Lokand Restaurant MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing