{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "api.lokand.com",
    "site": "lokand.com",
    "addresses": [
      {
        "address": "104.26.8.56",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.26.0.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.26.9.56",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.26.0.0/20",
          "country": "US"
        }
      },
      {
        "address": "172.67.68.137",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.64.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::681a:938",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::ac43:4489",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::681a:838",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.26.8.56",
          "104.26.9.56",
          "172.67.68.137",
          "2606:4700:20::681a:938",
          "2606:4700:20::ac43:4489",
          "2606:4700:20::681a:838"
        ],
        "first_seen": "2026-11-23T15:21:02.513Z",
        "last_seen": "2026-11-23T15:21:02.513Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.26.9.56",
          "172.67.68.137",
          "104.26.8.56",
          "2606:4700:20::ac43:4489",
          "2606:4700:20::681a:938",
          "2606:4700:20::681a:838"
        ],
        "first_seen": "2026-11-22T15:20:04.133Z",
        "last_seen": "2026-11-22T15:20:04.133Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "lokand",
      "version": "1.0.5",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1,
      "sample": [
        {
          "id": "7728",
          "url": "https://camdentools.com/mcp",
          "server_name": "com.camdentools/shop",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T08:19:02.927Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.lokand",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "12227",
    "server_name": "com.lokand/lokand",
    "url": "https://api.lokand.com/mcp",
    "host": "api.lokand.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T15:21:02.513Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "238b2a34190bc310b0f9665fd15d658265cde064ed417c55072c64fbf05684fe",
    "first_listed_at": "2026-11-21T09:29:01.628Z",
    "created_at": "2026-11-21T06:10:05.755Z",
    "resolved_addresses": [
      "104.26.8.56",
      "104.26.9.56",
      "172.67.68.137",
      "2606:4700:20::681a:938",
      "2606:4700:20::ac43:4489",
      "2606:4700:20::681a:838"
    ]
  },
  "server": {
    "name": "com.lokand/lokand",
    "title": "Lokand Restaurant MCP",
    "description": "Free restaurant websites and menus: read any public menu, or build, import and publish a site.",
    "version": "1.0.5",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://lokand.com/ai/",
    "published_at": "2026-11-19T19:20:06.116Z",
    "updated_at": "2026-11-19T19:20:06.116Z",
    "first_seen": "2026-11-21T06:10:05.138Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "takes-payment",
      "writes-files"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:11:09.189Z"
  },
  "operator": {
    "key": "lokand.com",
    "name": "lokand.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 2223,
    "first_check_in_window": "2026-11-21T09:29:01.628Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "238b2a34190bc310b0f9665fd15d658265cde064ed417c55072c64fbf05684fe",
    "tools": 80,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T09:29:03.604Z",
    "tool_names": [
      "get_started",
      "list_businesses",
      "get_business",
      "list_menus",
      "get_menu",
      "get_status",
      "create_full_menu",
      "create_menu",
      "add_category",
      "add_item",
      "update_item",
      "delete_item",
      "update_menu",
      "delete_menu",
      "rename_category",
      "reorder_categories",
      "delete_category",
      "reorder_items",
      "update_business",
      "set_theme",
      "publish_site",
      "create_restaurant",
      "create_business",
      "claim_status",
      "create_checkout_link",
      "get_billing_summary",
      "import_menu",
      "import_status",
      "commit_import",
      "check_compliance",
      "apply_country_settings",
      "get_site",
      "update_site",
      "update_theme_settings",
      "update_theme",
      "apply_template",
      "apply_site_preset",
      "set_page",
      "add_page",
      "remove_page",
      "set_nav_links",
      "add_section",
      "update_section",
      "remove_section",
      "move_section",
      "add_block",
      "update_block",
      "move_block",
      "remove_block",
      "set_featured_items",
      "set_system_theme",
      "make_menu_only",
      "set_brand_link",
      "publish_brand_template",
      "revert_last_site_change",
      "update_loyalty_card",
      "theme_list",
      "theme_get",
      "theme_pull",
      "theme_upload",
      "theme_write_files",
      "theme_publish",
      "theme_unpublish",
      "theme_delete",
      "get_storefront_context",
      "theme_history",
      "theme_rollback",
      "theme_git_access",
      "theme_sync",
      "list_assets",
      "use_asset",
      "suggest_styles",
      "get_style",
      "list_tables",
      "create_tables",
      "get_qr_design",
      "update_qr_design",
      "export_qr_codes",
      "set_translations",
      "connect_registered_domain"
    ],
    "declared": {
      "tools": [
        {
          "name": "get_started",
          "title": "Get started",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "annotations": {
            "title": "Get started",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_businesses",
          "title": "List businesses",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "annotations": {
            "title": "List businesses",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_business",
          "title": "Get business",
          "description": "Look up a public Lokand restaurant/business by its slug. Returns profile, hours, contact info, locale and theme metadata.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Get business",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_menus",
          "title": "List menus",
          "description": "List the active menus of a public Lokand restaurant by its slug.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "List menus",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_menu",
          "title": "Get menu",
          "description": "Fetch a single menu (categories + items with prices) of a public Lokand restaurant.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Get menu",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_status",
          "title": "Get status",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Get status",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_full_menu",
          "title": "Create full menu",
          "description": "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).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Create full menu",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "create_menu",
          "title": "Create menu",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Create menu",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "add_category",
          "title": "Add category",
          "description": "Add a category (section) to a menu. Returns the new category_id.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Add category",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "add_item",
          "title": "Add item",
          "description": "Add a dish/item to a menu (optionally inside a category). Returns the new item_id.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Add item",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "update_item",
          "title": "Update item",
          "description": "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).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Update item",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "delete_item",
          "title": "Delete item",
          "description": "Delete a menu item.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "item_id"
            ],
            "properties": {
              "item_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Delete item",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "update_menu",
          "title": "Update menu",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Update menu",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "delete_menu",
          "title": "Delete menu",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "menu_id"
            ],
            "properties": {
              "menu_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Delete menu",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "rename_category",
          "title": "Rename category",
          "description": "Rename a menu category (section).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Rename category",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "reorder_categories",
          "title": "Reorder categories",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Reorder categories",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "delete_category",
          "title": "Delete category",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "category_id"
            ],
            "properties": {
              "category_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Delete category",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "reorder_items",
          "title": "Reorder items",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Reorder items",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "update_business",
          "title": "Update business",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Update business",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "set_theme",
          "title": "Set theme",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Set theme",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "publish_site",
          "title": "Publish site",
          "description": "Publish (or unpublish) the business's public menu site at https://<slug>.lokand.co.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Publish site",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "create_restaurant",
          "title": "Create restaurant",
          "description": "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).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Create restaurant",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "create_business",
          "title": "Create business",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Create business",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "claim_status",
          "title": "Claim status",
          "description": "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).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Claim status",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_checkout_link",
          "title": "Create checkout link",
          "description": "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 (3-month free trial). Pass customer_country (ISO 3166-1 alpha-2) so first-time pricing is quoted in the customer's region, not the agent's.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Create checkout link",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_billing_summary",
          "title": "Get billing summary",
          "description": "Current plan, billing region, and subscription state of a business the caller manages.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "business_id"
            ],
            "properties": {
              "business_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get billing summary",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "import_menu",
          "title": "Import menu",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Import menu",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "import_status",
          "title": "Import status",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "import_id"
            ],
            "properties": {
              "import_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Import status",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "commit_import",
          "title": "Commit import",
          "description": "Commit a completed AI menu import as a real menu (creates the menu, categories, and items). Returns the new menu_id.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "import_id"
            ],
            "properties": {
              "import_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Commit import",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "check_compliance",
          "title": "Check compliance",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Check compliance",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "apply_country_settings",
          "title": "Apply country settings",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Apply country settings",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "get_site",
          "title": "Get site",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Get site",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "update_site",
          "title": "Update site",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Update site",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "update_theme_settings",
          "title": "Update theme settings",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Update theme settings",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "update_theme",
          "title": "Update theme",
          "description": "Legacy look op: patch v2-style `tokens` (colors, fonts, radius, hero layout, …) or set custom CSS. Prefer update_theme_settings.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Update theme",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "apply_template",
          "title": "Apply template",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Apply template",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "apply_site_preset",
          "title": "Apply site preset",
          "description": "Alias of apply_template (`preset` = template id).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Apply site preset",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "set_page",
          "title": "Set page",
          "description": "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).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Set page",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "add_page",
          "title": "Add page",
          "description": "Add a new page with a text section (add more with add_section). Returns the updated document, where the new page's id appears.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Add page",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "remove_page",
          "title": "Remove page",
          "description": "Remove a custom page and its sections. The home page can't be removed — make another page home first (set_page make_home).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Remove page",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "set_nav_links",
          "title": "Set nav links",
          "description": "Replace the navigation with custom links ([] restores the automatic page list).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Set nav links",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "add_section",
          "title": "Add section",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Add section",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "update_section",
          "title": "Update section",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Update section",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "remove_section",
          "title": "Remove section",
          "description": "Remove a section from a page. To keep it for later, hide it with update_section hidden=true instead.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Remove section",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "move_section",
          "title": "Move section",
          "description": "Move a section to a 0-based position within its page.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Move section",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "add_block",
          "title": "Add block",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Add block",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "update_block",
          "title": "Update block",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Update block",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "move_block",
          "title": "Move block",
          "description": "Move a block to a 0-based position among its siblings.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Move block",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "remove_block",
          "title": "Remove block",
          "description": "Remove a block (and any blocks nested in it).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Remove block",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "set_featured_items",
          "title": "Set featured items",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Set featured items",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "set_system_theme",
          "title": "Set system theme",
          "description": "Switch to another system theme (get_site lists `system_themes`). Pages, sections and settings are kept.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Set system theme",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "make_menu_only",
          "title": "Make menu only",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "business_id"
            ],
            "properties": {
              "business_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Make menu only",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "set_brand_link",
          "title": "Set brand link",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Set brand link",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "publish_brand_template",
          "title": "Publish brand template",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "business_id"
            ],
            "properties": {
              "business_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Publish brand template",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "revert_last_site_change",
          "title": "Revert last site change",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "business_id"
            ],
            "properties": {
              "business_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Revert last site change",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "update_loyalty_card",
          "title": "Update loyalty card",
          "description": "Set up or change the business's loyalty stamp card: how many stamps earn the reward, the reward text, whether the card is live, and its look. Only provided fields change; the first call must include stamps_required and reward_text. Requires the Pro plan (402 plan_required otherwise — offer create_checkout_link).",
          "inputSchema": {
            "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"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The card's look — colors{cardBg,cardFg,stampFilled,stampEmpty}, stampIcon, headline, subline. Replaces the whole style; null resets it to match the site theme."
              },
              "reward_text": {
                "type": "string",
                "maxLength": 140,
                "minLength": 1,
                "description": "What the guest gets, e.g. \"A free coffee\""
              },
              "stamps_required": {
                "type": "integer",
                "maximum": 30,
                "minimum": 2,
                "description": "Stamps needed for one reward (2-30)"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Update loyalty card",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "theme_list",
          "title": "Theme list",
          "description": "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).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "business_id"
            ],
            "properties": {
              "business_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Theme list",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "theme_get",
          "title": "Theme get",
          "description": "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).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Theme get",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "theme_pull",
          "title": "Theme pull",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Theme pull",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "theme_upload",
          "title": "Theme upload",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Theme upload",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "theme_write_files",
          "title": "Theme write files",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Theme write files",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "theme_publish",
          "title": "Theme publish",
          "description": "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).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Theme publish",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "theme_unpublish",
          "title": "Theme unpublish",
          "description": "Stop using custom theme code: the site goes back to its system theme. The custom theme is kept as unpublished.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "business_id"
            ],
            "properties": {
              "business_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Theme unpublish",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "theme_delete",
          "title": "Theme delete",
          "description": "Delete a custom theme and all its stored versions. The live theme can't be deleted — unpublish it first.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Theme delete",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "get_storefront_context",
          "title": "Get storefront context",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Get storefront context",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "theme_history",
          "title": "Theme history",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Theme history",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "theme_rollback",
          "title": "Theme rollback",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Theme rollback",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "theme_git_access",
          "title": "Theme git access",
          "description": "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).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Theme git access",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "theme_sync",
          "title": "Theme sync",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Theme sync",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "list_assets",
          "title": "List assets",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "List assets",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "use_asset",
          "title": "Use asset",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Use asset",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "suggest_styles",
          "title": "Suggest styles",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "business_id"
            ],
            "properties": {
              "business_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Suggest styles",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_style",
          "title": "Get style",
          "description": "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').",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Get style",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_tables",
          "title": "List tables",
          "description": "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 and the order URL its QR encodes.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "business_id"
            ],
            "properties": {
              "business_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List tables",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_tables",
          "title": "Create tables",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Create tables",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_qr_design",
          "title": "Get qr design",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "business_id"
            ],
            "properties": {
              "business_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get qr design",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "update_qr_design",
          "title": "Update qr design",
          "description": "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.",
          "inputSchema": {
            "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"
              },
              "business_id": {
                "type": "string",
                "minLength": 1
              },
              "module_style": {
                "enum": [
                  "square",
                  "rounded",
                  "dots"
                ],
                "type": "string",
                "description": "square (classic), rounded (soft, joined) or dots"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Update qr design",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "export_qr_codes",
          "title": "Export qr codes",
          "description": "Render the business's QR codes as a printable file and return a download URL. 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 (A4/Letter sheets with cut guides, for a home printer; layout large=1, medium=4, small=12 per page), 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.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "business_id",
              "purpose"
            ],
            "properties": {
              "paper": {
                "enum": [
                  "a4",
                  "letter"
                ],
                "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"
                  },
                  "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"
              },
              "purpose": {
                "enum": [
                  "menu",
                  "table_ordering",
                  "link"
                ],
                "type": "string"
              },
              "size_mm": {
                "type": "number",
                "maximum": 300,
                "minimum": 30,
                "description": "press_pdf/svg_zip: printed code width in mm; default 90"
              },
              "bleed_mm": {
                "type": "number",
                "maximum": 10,
                "minimum": 0,
                "description": "press_pdf: default 3"
              },
              "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"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Export qr codes",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "set_translations",
          "title": "Set translations",
          "description": "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).",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Set translations",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "connect_registered_domain",
          "title": "Connect registered domain",
          "description": "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.",
          "inputSchema": {
            "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
          },
          "annotations": {
            "title": "Connect registered domain",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": null
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}