Endpoints: 76,849MCP servers: 32,730Payout addresses: 3,825Paid calls: 6,157Letters: 84Defects: 3,894counted 4 min ago
teppi

Server definition

Hash
sha256:8dc32a3b62c5c0a58e2728585f7948d4c9eb8ca1456e57da1ff303f873972a55
What it is
What a remote MCP server returned when asked what it offers: 78 tools

The blob, as servednamed by its sha256

{ "instructions": null, "tools": [ { "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.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "page_id": { "description": "Page id, e.g. home, menu, about, loyalty", "maxLength": 40, "minLength": 1, "type": "string" }, "parent_block_id": { "description": "Nest inside this block instead of the section", "maxLength": 40, "minLength": 1, "type": "string" }, "position": { "description": "0-based position", "maximum": 60, "minimum": 0, "type": "integer" }, "preset": { "description": "Start from one of the block type's presets", "maxLength": 80, "type": "string" }, "section_id": { "description": "Section id from get_site", "maxLength": 40, "minLength": 1, "type": "string" }, "settings": { "additionalProperties": {}, "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings.", "type": "object" }, "type": { "description": "Block type the section accepts (see get_site)", "maxLength": 60, "minLength": 1, "type": "string" } }, "required": [ "business_id", "page_id", "section_id", "type" ], "type": "object" }, "name": "add_block", "outputSchema": null }, { "description": "Add a category (section) to a menu. Returns the new category_id.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "id": { "description": "Optional caller-chosen id (8-64 chars). Reuse the same id when retrying so a retry can never create a duplicate.", "pattern": "^[A-Za-z0-9_-]{8,64}$", "type": "string" }, "menu_id": { "minLength": 1, "type": "string" }, "name": { "description": "Category name, e.g. \"Starters\"", "maxLength": 200, "minLength": 1, "type": "string" }, "sort_order": { "minimum": 0, "type": "integer" } }, "required": [ "menu_id", "name" ], "type": "object" }, "name": "add_category", "outputSchema": null }, { "description": "Add a dish/item to a menu (optionally inside a category). Returns the new item_id.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "category_id": { "minLength": 1, "type": "string" }, "description": { "maxLength": 2000, "type": "string" }, "dietary_info": { "additionalProperties": false, "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.", "properties": { "allergens": { "items": { "enum": [ "gluten", "crustaceans", "eggs", "fish", "peanuts", "soybeans", "milk", "nuts", "celery", "mustard", "sesame", "sulphites", "lupin", "molluscs" ], "type": "string" }, "maxItems": 14, "type": "array" }, "caloriesKcal": { "maximum": 20000, "minimum": 0, "type": "integer" }, "contains": { "items": { "enum": [ "alcohol", "pork", "tobacco" ], "type": "string" }, "maxItems": 3, "type": "array" }, "declaredAt": { "exclusiveMinimum": 0, "type": "integer" }, "portionGrams": { "maximum": 100000, "minimum": 0, "type": "integer" }, "suitableFor": { "items": { "enum": [ "vegetarian", "vegan", "halal", "kosher", "gluten_free", "dairy_free", "nut_free", "spicy", "organic" ], "type": "string" }, "maxItems": 9, "type": "array" } }, "type": "object" }, "id": { "description": "Optional caller-chosen id (8-64 chars). Reuse the same id when retrying so a retry can never create a duplicate.", "pattern": "^[A-Za-z0-9_-]{8,64}$", "type": "string" }, "is_available": { "default": true, "type": "boolean" }, "menu_id": { "minLength": 1, "type": "string" }, "name": { "description": "Item name, e.g. \"Cacio e pepe\"", "maxLength": 200, "minLength": 1, "type": "string" }, "price": { "description": "Price in the business's currency. Required unless `variations` is given, in which case it is derived from the cheapest variation.", "maximum": 1000000, "minimum": 0, "type": "number" }, "sort_order": { "minimum": 0, "type": "integer" }, "variations": { "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.", "items": { "additionalProperties": false, "properties": { "is_available": { "type": "boolean" }, "name": { "maxLength": 60, "minLength": 1, "type": "string" }, "price": { "$ref": "#/properties/price" } }, "required": [ "name", "price" ], "type": "object" }, "maxItems": 12, "minItems": 1, "type": "array" } }, "required": [ "menu_id", "name" ], "type": "object" }, "name": "add_item", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "path": { "maxLength": 40, "type": "string" }, "position": { "description": "0-based position", "maximum": 60, "minimum": 0, "type": "integer" }, "title": { "maxLength": 60, "minLength": 1, "type": "string" } }, "required": [ "business_id", "title" ], "type": "object" }, "name": "add_page", "outputSchema": null }, { "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.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "kind": { "$ref": "#/properties/type", "description": "Alias of type" }, "page_id": { "description": "Page id, e.g. home, menu, about, loyalty", "maxLength": 40, "minLength": 1, "type": "string" }, "position": { "description": "0-based position", "maximum": 60, "minimum": 0, "type": "integer" }, "preset": { "description": "Start from one of the type's presets", "maxLength": 80, "type": "string" }, "settings": { "additionalProperties": {}, "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings.", "type": "object" }, "type": { "description": "Section type from get_site", "maxLength": 60, "minLength": 1, "type": "string" } }, "required": [ "business_id", "page_id" ], "type": "object" }, "name": "add_section", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "country": { "description": "Defaults to the business's own country_code.", "pattern": "^[A-Z]{2}$", "type": "string" }, "locale": { "description": "Language for any suggested copy. Defaults to the business's.", "maxLength": 10, "minLength": 2, "type": "string" }, "overwrite": { "default": false, "description": "false (default) fills only options the owner hasn't set; true replaces their existing values.", "type": "boolean" } }, "required": [ "business_id" ], "type": "object" }, "name": "apply_country_settings", "outputSchema": null }, { "description": "Alias of apply_template (`preset` = template id).", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "keep_theme": { "type": "boolean" }, "preset": { "description": "cafe | ghost-kitchen | fine-dining | chain | bar | bakery", "enum": [ "cafe", "ghost-kitchen", "fine-dining", "chain", "bar", "bakery" ], "type": "string" } }, "required": [ "business_id", "preset" ], "type": "object" }, "name": "apply_site_preset", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "keep_theme": { "description": "Keep the current style instead of the template's (default false)", "type": "boolean" }, "template": { "description": "cafe | ghost-kitchen | fine-dining | chain | bar | bakery", "enum": [ "cafe", "ghost-kitchen", "fine-dining", "chain", "bar", "bakery" ], "type": "string" } }, "required": [ "business_id", "template" ], "type": "object" }, "name": "apply_template", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "country": { "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.", "pattern": "^[A-Z]{2}$", "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "check_compliance", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "claim_token": { "minLength": 1, "type": "string" }, "client_id": { "description": "Registered OAuth client id", "minLength": 1, "type": "string" }, "client_secret": { "description": "The client's secret", "minLength": 1, "type": "string" } }, "required": [ "client_id", "client_secret", "claim_token" ], "type": "object" }, "name": "claim_status", "outputSchema": null }, { "description": "Commit a completed AI menu import as a real menu (creates the menu, categories, and items). Returns the new menu_id.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "import_id": { "minLength": 1, "type": "string" } }, "required": [ "import_id" ], "type": "object" }, "name": "commit_import", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "customer_country": { "description": "Customer's ISO country code, e.g. DE", "maxLength": 2, "minLength": 2, "type": "string" }, "product_key": { "description": "The plan to purchase (Pro is monthly-only)", "enum": [ "pro.monthly" ], "type": "string" } }, "required": [ "business_id", "product_key" ], "type": "object" }, "name": "create_checkout_link", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "menu": { "additionalProperties": false, "properties": { "categories": { "description": "Sections in display order; items in display order", "items": { "additionalProperties": false, "properties": { "items": { "items": { "additionalProperties": false, "properties": { "description": { "maxLength": 500, "type": "string" }, "dietary_info": { "additionalProperties": false, "description": "Allergen/dietary declaration for this dish — see add_item", "properties": { "allergens": { "items": { "enum": [ "gluten", "crustaceans", "eggs", "fish", "peanuts", "soybeans", "milk", "nuts", "celery", "mustard", "sesame", "sulphites", "lupin", "molluscs" ], "type": "string" }, "maxItems": 14, "type": "array" }, "caloriesKcal": { "maximum": 20000, "minimum": 0, "type": "integer" }, "contains": { "items": { "enum": [ "alcohol", "pork", "tobacco" ], "type": "string" }, "maxItems": 3, "type": "array" }, "declaredAt": { "exclusiveMinimum": 0, "type": "integer" }, "portionGrams": { "maximum": 100000, "minimum": 0, "type": "integer" }, "suitableFor": { "items": { "enum": [ "vegetarian", "vegan", "halal", "kosher", "gluten_free", "dairy_free", "nut_free", "spicy", "organic" ], "type": "string" }, "maxItems": 9, "type": "array" } }, "type": "object" }, "is_available": { "default": true, "type": "boolean" }, "name": { "maxLength": 100, "minLength": 1, "type": "string" }, "price": { "description": "Price in the business's currency. Required unless `variations` is given.", "maximum": 1000000, "minimum": 0, "type": "number" }, "variations": { "description": "Variations of this dish (sizes, volumes, portions), each with its own ABSOLUTE price — see add_item. Use instead of one item per variation.", "items": { "additionalProperties": false, "properties": { "name": { "maxLength": 60, "minLength": 1, "type": "string" }, "price": { "maximum": 1000000, "minimum": 0, "type": "number" } }, "required": [ "name", "price" ], "type": "object" }, "maxItems": 12, "minItems": 1, "type": "array" } }, "required": [ "name" ], "type": "object" }, "maxItems": 100, "type": "array" }, "name": { "description": "Section name, e.g. \"Burgers\"", "maxLength": 100, "minLength": 1, "type": "string" } }, "required": [ "name", "items" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "description": { "maxLength": 2000, "type": "string" }, "name": { "default": "Menu", "description": "Menu name, e.g. \"Menu\" or \"Dinner\"", "maxLength": 100, "minLength": 1, "type": "string" } }, "required": [ "categories" ], "type": "object" }, "replace": { "default": false, "description": "Deactivate the business's other menus in the same step", "type": "boolean" } }, "required": [ "business_id", "menu" ], "type": "object" }, "name": "create_full_menu", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "description": { "maxLength": 2000, "type": "string" }, "id": { "description": "Optional caller-chosen id (8-64 chars). Reuse the same id when retrying so a retry can never create a duplicate.", "pattern": "^[A-Za-z0-9_-]{8,64}$", "type": "string" }, "is_active": { "default": true, "description": "Whether the menu is live on the public site", "type": "boolean" }, "name": { "description": "Menu name, e.g. \"Dinner\"", "maxLength": 200, "minLength": 1, "type": "string" } }, "required": [ "business_id", "name" ], "type": "object" }, "name": "create_menu", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "client_id": { "description": "Registered OAuth client id", "minLength": 1, "type": "string" }, "client_secret": { "description": "The client's secret", "minLength": 1, "type": "string" }, "contact_info": { "additionalProperties": false, "description": "Contact info: phone, email, address, instagram", "properties": { "address": { "maxLength": 300, "type": "string" }, "email": { "format": "email", "maxLength": 254, "type": "string" }, "instagram": { "pattern": "^@?[A-Za-z0-9._]{1,30}$", "type": "string" }, "phone": { "maxLength": 40, "type": "string" } }, "type": "object" }, "currency_code": { "description": "ISO currency for menu prices, e.g. \"USD\"", "maxLength": 3, "minLength": 3, "type": "string" }, "customer_email": { "description": "Customer's email: binds the claim to it and sends them the claim link", "format": "email", "type": "string" }, "description": { "maxLength": 2000, "type": "string" }, "hours": { "additionalProperties": false, "description": "Opening hours keyed mon..sun, each {\"open\":\"10:30\",\"close\":\"22:00\"} or {\"closed\":true}", "properties": { "fri": { "$ref": "#/properties/hours/properties/mon" }, "mon": { "additionalProperties": false, "properties": { "close": { "$ref": "#/properties/hours/properties/mon/properties/open" }, "closed": { "type": "boolean" }, "open": { "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$", "type": "string" } }, "type": "object" }, "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" } }, "type": "object" }, "maps_url": { "description": "A Google Maps, Apple Maps, Yandex or OpenStreetMap link (short share links work), or a \"lat, lng\" pair. Sets the coordinates.", "maxLength": 2000, "minLength": 1, "type": "string" }, "menu": { "additionalProperties": false, "description": "The full menu, inline — pass this to go live in one call instead of separate create_menu/add_category/add_item calls", "properties": { "categories": { "description": "Sections in display order; items in display order", "items": { "additionalProperties": false, "properties": { "items": { "items": { "additionalProperties": false, "properties": { "description": { "maxLength": 500, "type": "string" }, "dietary_info": { "additionalProperties": false, "description": "Allergen/dietary declaration for this dish — see add_item", "properties": { "allergens": { "items": { "enum": [ "gluten", "crustaceans", "eggs", "fish", "peanuts", "soybeans", "milk", "nuts", "celery", "mustard", "sesame", "sulphites", "lupin", "molluscs" ], "type": "string" }, "maxItems": 14, "type": "array" }, "caloriesKcal": { "maximum": 20000, "minimum": 0, "type": "integer" }, "contains": { "items": { "enum": [ "alcohol", "pork", "tobacco" ], "type": "string" }, "maxItems": 3, "type": "array" }, "declaredAt": { "exclusiveMinimum": 0, "type": "integer" }, "portionGrams": { "maximum": 100000, "minimum": 0, "type": "integer" }, "suitableFor": { "items": { "enum": [ "vegetarian", "vegan", "halal", "kosher", "gluten_free", "dairy_free", "nut_free", "spicy", "organic" ], "type": "string" }, "maxItems": 9, "type": "array" } }, "type": "object" }, "is_available": { "default": true, "type": "boolean" }, "name": { "maxLength": 100, "minLength": 1, "type": "string" }, "price": { "description": "Price in the business's currency. Required unless `variations` is given.", "maximum": 1000000, "minimum": 0, "type": "number" }, "variations": { "description": "Variations of this dish (sizes, volumes, portions), each with its own ABSOLUTE price — see add_item. Use instead of one item per variation.", "items": { "additionalProperties": false, "properties": { "name": { "maxLength": 60, "minLength": 1, "type": "string" }, "price": { "maximum": 1000000, "minimum": 0, "type": "number" } }, "required": [ "name", "price" ], "type": "object" }, "maxItems": 12, "minItems": 1, "type": "array" } }, "required": [ "name" ], "type": "object" }, "maxItems": 100, "type": "array" }, "name": { "description": "Section name, e.g. \"Burgers\"", "maxLength": 100, "minLength": 1, "type": "string" } }, "required": [ "name", "items" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "description": { "maxLength": 2000, "type": "string" }, "name": { "default": "Menu", "description": "Menu name, e.g. \"Menu\" or \"Dinner\"", "maxLength": 100, "minLength": 1, "type": "string" } }, "required": [ "categories" ], "type": "object" }, "name": { "description": "Restaurant name", "maxLength": 200, "minLength": 1, "type": "string" }, "place": { "additionalProperties": false, "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.", "properties": { "address": { "additionalProperties": false, "properties": { "addressCountry": { "pattern": "^[A-Z]{2}$", "type": "string" }, "addressLocality": { "maxLength": 100, "minLength": 1, "type": "string" }, "addressRegion": { "maxLength": 100, "minLength": 1, "type": "string" }, "postalCode": { "maxLength": 20, "minLength": 1, "type": "string" }, "streetAddress": { "maxLength": 200, "minLength": 1, "type": "string" } }, "type": "object" }, "category": { "pattern": "^[a-z][a-z0-9_]{1,39}$", "type": "string" }, "cuisines": { "items": { "$ref": "#/properties/place/properties/category" }, "maxItems": 6, "type": "array" }, "lat": { "maximum": 90, "minimum": -90, "type": "number" }, "lng": { "maximum": 180, "minimum": -180, "type": "number" }, "timezone": { "maxLength": 64, "pattern": "^[A-Za-z][A-Za-z0-9_+-]*(?:\\/[A-Za-z0-9_+-]+){0,2}$", "type": "string" } }, "type": "object" }, "publish": { "default": true, "description": "Put the site live immediately (default true). Pass false to keep it a draft.", "type": "boolean" }, "slug": { "description": "Optional site slug (<slug>.lokand.co); generated from the name when omitted. If taken, a suffixed variant is used automatically.", "pattern": "^[a-z0-9](?:[a-z0-9-]{1,38}[a-z0-9])?$", "type": "string" }, "theme": { "additionalProperties": false, "properties": { "config": { "additionalProperties": {}, "description": "Site document: a v3 document (as get_site.document) or a legacy v2/v1 config such as {\"colors\":{\"primary\":\"#aa3300\"}}. Stored as v3.", "type": "object" }, "key": { "description": "terra | porto | noir | marche | slate", "enum": [ "terra", "porto", "noir", "marche", "slate" ], "type": "string" } }, "required": [ "key" ], "type": "object" } }, "required": [ "client_id", "client_secret", "name" ], "type": "object" }, "name": "create_restaurant", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "count": { "description": "How many numbered tables to add", "maximum": 100, "minimum": 1, "type": "integer" }, "names": { "description": "Exact table names", "items": { "maxLength": 40, "minLength": 1, "type": "string" }, "maxItems": 100, "minItems": 1, "type": "array" }, "prefix": { "description": "Name before the number; default \"Table\"", "maxLength": 36, "minLength": 1, "type": "string" }, "start_number": { "description": "First number; default continues after existing ones", "maximum": 9999, "minimum": 0, "type": "integer" }, "zone": { "description": "Area, e.g. \"Terrace\"", "maxLength": 40, "minLength": 1, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "create_tables", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "category_id": { "minLength": 1, "type": "string" } }, "required": [ "category_id" ], "type": "object" }, "name": "delete_category", "outputSchema": null }, { "description": "Delete a menu item.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "item_id": { "minLength": 1, "type": "string" } }, "required": [ "item_id" ], "type": "object" }, "name": "delete_item", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "menu_id": { "minLength": 1, "type": "string" } }, "required": [ "menu_id" ], "type": "object" }, "name": "delete_menu", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "bleed_mm": { "description": "press_pdf: default 3", "maximum": 10, "minimum": 0, "type": "number" }, "business_id": { "minLength": 1, "type": "string" }, "copies": { "description": "menu/link: copies of each code; default fills one sheet", "maximum": 200, "minimum": 1, "type": "integer" }, "design": { "additionalProperties": false, "properties": { "accent": { "description": "Frame color: caption text, card fill", "pattern": "^#[0-9a-fA-F]{6}$", "type": "string" }, "bg": { "description": "Background behind the code", "pattern": "^#[0-9a-fA-F]{6}$", "type": "string" }, "cta": { "anyOf": [ { "maxLength": 40, "type": "string" }, { "type": "null" } ], "description": "Optional text above the code, e.g. \"Scan to order\". null = none (only the name is printed)" }, "eye_style": { "description": "Corner markers: square, rounded or circle", "enum": [ "square", "rounded", "circle" ], "type": "string" }, "fg": { "description": "Code color (dark modules)", "pattern": "^#[0-9a-fA-F]{6}$", "type": "string" }, "frame": { "description": "none (code + label only), caption (call-to-action text above the code) or card (filled color card around the code)", "enum": [ "none", "caption", "card" ], "type": "string" }, "logo": { "description": "Put the business logo in the middle", "type": "boolean" }, "module_style": { "description": "square (classic), rounded (soft, joined) or dots", "enum": [ "square", "rounded", "dots" ], "type": "string" } }, "type": "object" }, "format": { "description": "Default home_pdf", "enum": [ "home_pdf", "press_pdf", "svg_zip" ], "type": "string" }, "layout": { "description": "home_pdf: default medium", "enum": [ "large", "medium", "small" ], "type": "string" }, "paper": { "description": "home_pdf: default a4", "enum": [ "a4", "letter" ], "type": "string" }, "print_link": { "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", "type": "boolean" }, "purpose": { "enum": [ "menu", "table_ordering", "link" ], "type": "string" }, "shortlink_ids": { "description": "link: which short links (default all); menu: the short link to encode", "items": { "minLength": 1, "type": "string" }, "maxItems": 200, "type": "array" }, "size_mm": { "description": "press_pdf/svg_zip: printed code width in mm; default 90", "maximum": 300, "minimum": 30, "type": "number" }, "table_ids": { "description": "table_ordering: which tables; default all active ones", "items": { "minLength": 1, "type": "string" }, "maxItems": 500, "type": "array" } }, "required": [ "business_id", "purpose" ], "type": "object" }, "name": "export_qr_codes", "outputSchema": null }, { "description": "Current plan, billing region, and subscription state of a business the caller manages.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "get_billing_summary", "outputSchema": null }, { "description": "Look up a public Lokand restaurant/business by its slug. Returns profile, hours, contact info, locale and theme metadata.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "slug": { "description": "The business's public slug", "minLength": 1, "type": "string" } }, "required": [ "slug" ], "type": "object" }, "name": "get_business", "outputSchema": null }, { "description": "Fetch a single menu (categories + items with prices) of a public Lokand restaurant.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "menu_id": { "description": "The menu id from list_menus", "minLength": 1, "type": "string" }, "slug": { "description": "The business's public slug", "minLength": 1, "type": "string" } }, "required": [ "slug", "menu_id" ], "type": "object" }, "name": "get_menu", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "get_qr_design", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "detail": { "enum": [ "compact", "full" ], "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "get_site", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "properties": {}, "type": "object" }, "name": "get_started", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "description": "The business id", "minLength": 1, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "get_status", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "locale": { "description": "Defaults to the business's default locale", "maxLength": 10, "minLength": 2, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "get_storefront_context", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "level": { "enum": [ "safe", "distinct", "bold" ], "type": "string" }, "seed_color": { "description": "Lead color to build the palette from, e.g. the owner's brand color", "pattern": "^#[0-9a-fA-F]{6}$", "type": "string" }, "style": { "enum": [ "gastronomique", "bufe", "firin", "ocakbasi", "meyhane", "esnaf", "kahvalti", "third-wave", "pastane", "burger", "trattoria", "sushi", "cocktail-bar", "fresh" ], "type": "string" }, "use_logo_colors": { "description": "Default true", "type": "boolean" } }, "required": [ "business_id", "style" ], "type": "object" }, "name": "get_style", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "url": { "description": "Public https URL of the site to import the menu from", "format": "uri", "type": "string" } }, "required": [ "business_id", "url" ], "type": "object" }, "name": "import_menu", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "import_id": { "minLength": 1, "type": "string" } }, "required": [ "import_id" ], "type": "object" }, "name": "import_status", "outputSchema": null }, { "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, 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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "kind": { "description": "Only photos or only logos; default any", "enum": [ "photo", "logo", "any" ], "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "list_assets", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "properties": {}, "type": "object" }, "name": "list_businesses", "outputSchema": null }, { "description": "List the active menus of a public Lokand restaurant by its slug.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "slug": { "description": "The business's public slug", "minLength": 1, "type": "string" } }, "required": [ "slug" ], "type": "object" }, "name": "list_menus", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "list_tables", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "make_menu_only", "outputSchema": null }, { "description": "Move a block to a 0-based position among its siblings.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "block_id": { "description": "Block id from get_site", "maxLength": 40, "minLength": 1, "type": "string" }, "business_id": { "minLength": 1, "type": "string" }, "page_id": { "description": "Page id, e.g. home, menu, about, loyalty", "maxLength": 40, "minLength": 1, "type": "string" }, "position": { "description": "0-based position", "maximum": 60, "minimum": 0, "type": "integer" }, "section_id": { "description": "Section id from get_site", "maxLength": 40, "minLength": 1, "type": "string" } }, "required": [ "business_id", "page_id", "section_id", "block_id", "position" ], "type": "object" }, "name": "move_block", "outputSchema": null }, { "description": "Move a section to a 0-based position within its page.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "page_id": { "description": "Page id, e.g. home, menu, about, loyalty", "maxLength": 40, "minLength": 1, "type": "string" }, "position": { "description": "0-based position", "maximum": 60, "minimum": 0, "type": "integer" }, "section_id": { "description": "Section id from get_site", "maxLength": 40, "minLength": 1, "type": "string" } }, "required": [ "business_id", "page_id", "section_id", "position" ], "type": "object" }, "name": "move_section", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "publish_brand_template", "outputSchema": null }, { "description": "Publish (or unpublish) the business's public menu site at https://<slug>.lokand.co.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "publish": { "default": true, "description": "true to go live, false to take the site offline", "type": "boolean" } }, "required": [ "business_id" ], "type": "object" }, "name": "publish_site", "outputSchema": null }, { "description": "Remove a block (and any blocks nested in it).", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "block_id": { "description": "Block id from get_site", "maxLength": 40, "minLength": 1, "type": "string" }, "business_id": { "minLength": 1, "type": "string" }, "page_id": { "description": "Page id, e.g. home, menu, about, loyalty", "maxLength": 40, "minLength": 1, "type": "string" }, "section_id": { "description": "Section id from get_site", "maxLength": 40, "minLength": 1, "type": "string" } }, "required": [ "business_id", "page_id", "section_id", "block_id" ], "type": "object" }, "name": "remove_block", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "page_id": { "description": "Page id, e.g. home, menu, about, loyalty", "maxLength": 40, "minLength": 1, "type": "string" } }, "required": [ "business_id", "page_id" ], "type": "object" }, "name": "remove_page", "outputSchema": null }, { "description": "Remove a section from a page. To keep it for later, hide it with update_section hidden=true instead.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "page_id": { "description": "Page id, e.g. home, menu, about, loyalty", "maxLength": 40, "minLength": 1, "type": "string" }, "section_id": { "description": "Section id from get_site", "maxLength": 40, "minLength": 1, "type": "string" } }, "required": [ "business_id", "page_id", "section_id" ], "type": "object" }, "name": "remove_section", "outputSchema": null }, { "description": "Rename a menu category (section).", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "category_id": { "minLength": 1, "type": "string" }, "name": { "description": "The new name", "maxLength": 200, "minLength": 1, "type": "string" } }, "required": [ "category_id", "name" ], "type": "object" }, "name": "rename_category", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "category_ids": { "items": { "minLength": 1, "type": "string" }, "maxItems": 200, "minItems": 1, "type": "array" }, "menu_id": { "minLength": 1, "type": "string" } }, "required": [ "menu_id", "category_ids" ], "type": "object" }, "name": "reorder_categories", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "category_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ], "description": "The section being ordered; null = items without a section" }, "item_ids": { "items": { "minLength": 1, "type": "string" }, "maxItems": 500, "minItems": 1, "type": "array" }, "menu_id": { "minLength": 1, "type": "string" } }, "required": [ "menu_id", "category_id", "item_ids" ], "type": "object" }, "name": "reorder_items", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "revert_last_site_change", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "linked": { "description": "true = show the brand's shared site here; false = this location's own site", "type": "boolean" } }, "required": [ "business_id", "linked" ], "type": "object" }, "name": "set_brand_link", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "item_ids": { "description": "Menu item ids, in display order; [] = automatic", "items": { "maxLength": 64, "minLength": 1, "type": "string" }, "maxItems": 12, "type": "array" }, "page_id": { "description": "Defaults to the home page", "maxLength": 40, "minLength": 1, "type": "string" } }, "required": [ "business_id", "item_ids" ], "type": "object" }, "name": "set_featured_items", "outputSchema": null }, { "description": "Replace the navigation with custom links ([] restores the automatic page list).", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "links": { "description": "Custom navigation; [] restores the automatic page list", "items": { "additionalProperties": false, "properties": { "label": { "maxLength": 30, "minLength": 1, "type": "string" }, "path": { "maxLength": 80, "type": "string" } }, "required": [ "label", "path" ], "type": "object" }, "maxItems": 8, "type": "array" } }, "required": [ "business_id", "links" ], "type": "object" }, "name": "set_nav_links", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "enabled": { "type": "boolean" }, "make_home": { "description": "Serve this page at /", "type": "boolean" }, "page_id": { "description": "Page id, e.g. home, menu, about, loyalty", "maxLength": 40, "minLength": 1, "type": "string" }, "path": { "description": "One segment like /wine", "maxLength": 40, "type": "string" }, "position": { "description": "Move the page to this position in the navigation", "maximum": 60, "minimum": 0, "type": "integer" }, "show_in_nav": { "type": "boolean" }, "title": { "anyOf": [ { "maxLength": 60, "type": "string" }, { "type": "null" } ] } }, "required": [ "business_id", "page_id" ], "type": "object" }, "name": "set_page", "outputSchema": null }, { "description": "Switch to another system theme (get_site lists `system_themes`). Pages, sections and settings are kept.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "theme_id": { "description": "A system theme id from get_site (e.g. lokand-base)", "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "business_id", "theme_id" ], "type": "object" }, "name": "set_system_theme", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "theme_config": { "additionalProperties": false, "description": "Legacy: merge patch such as {\"colors\":{\"primary\":\"#aa3300\"},\"fonts\":{\"heading\":\"...\"}}", "properties": { "colors": { "additionalProperties": false, "properties": { "accent": { "$ref": "#/properties/theme_config/properties/colors/properties/primary" }, "bg": { "$ref": "#/properties/theme_config/properties/colors/properties/primary" }, "fg": { "$ref": "#/properties/theme_config/properties/colors/properties/primary" }, "primary": { "pattern": "^#[0-9a-fA-F]{6}$", "type": "string" } }, "type": "object" }, "fonts": { "additionalProperties": false, "properties": { "body": { "$ref": "#/properties/theme_config/properties/fonts/properties/heading" }, "heading": { "maxLength": 80, "minLength": 1, "pattern": "^[A-Za-z0-9 ,_\\-]+$", "type": "string" } }, "type": "object" }, "hero": { "additionalProperties": false, "properties": { "subtitle": { "maxLength": 280, "type": "string" }, "title": { "maxLength": 140, "type": "string" } }, "type": "object" }, "home": { "maxLength": 40, "minLength": 1, "pattern": "^[a-z0-9][a-z0-9-]*$", "type": "string" }, "inheritBrand": { "type": "boolean" }, "menuStyle": { "enum": [ "list", "cards", "photos" ], "type": "string" }, "mobileNav": { "enum": [ "tabs", "menu" ], "type": "string" }, "nav": { "additionalProperties": false, "properties": { "cta": { "enum": [ "menu", "order", "reserve", "loyalty", "about", "none" ], "type": "string" }, "links": { "items": { "additionalProperties": false, "properties": { "label": { "maxLength": 30, "type": "string" }, "path": { "$ref": "#/properties/theme_config/properties/navLinks/items/properties/path" } }, "required": [ "label", "path" ], "type": "object" }, "maxItems": 8, "type": "array" }, "style": { "enum": [ "tabs", "menu", "none" ], "type": "string" } }, "type": "object" }, "navLinks": { "items": { "additionalProperties": false, "properties": { "label": { "maxLength": 30, "minLength": 1, "type": "string" }, "path": { "maxLength": 60, "minLength": 1, "pattern": "^\\/[a-z0-9\\-/]*$", "type": "string" } }, "required": [ "label", "path" ], "type": "object" }, "maxItems": 8, "type": "array" }, "pages": { "items": { "additionalProperties": false, "properties": { "enabled": { "type": "boolean" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "nav": { "type": "boolean" }, "path": { "pattern": "^\\/[a-z0-9][a-z0-9-]{2,39}$", "type": "string" }, "sections": { "items": { "anyOf": [ { "additionalProperties": false, "properties": { "hidden": { "type": "boolean" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "hero", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "image": { "format": "uri", "maxLength": 2048, "type": "string" }, "layout": { "enum": [ "auto", "band", "split", "center", "full" ], "type": "string" }, "primaryCta": { "enum": [ "menu", "order", "reserve", "loyalty", "about", "none" ], "type": "string" }, "secondaryCta": { "enum": [ "menu", "order", "reserve", "loyalty", "about", "none" ], "type": "string" }, "showMeta": { "type": "boolean" }, "subtitle": { "maxLength": 280, "type": "string" }, "title": { "maxLength": 120, "type": "string" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "menu", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "dietaryFilter": { "type": "boolean" }, "jumpNav": { "type": "boolean" }, "menuIds": { "items": { "maxLength": 64, "minLength": 1, "type": "string" }, "maxItems": 10, "type": "array" }, "search": { "type": "boolean" }, "showDescriptions": { "type": "boolean" }, "showImages": { "type": "boolean" }, "showPrices": { "type": "boolean" }, "style": { "enum": [ "list", "cards", "photos" ], "type": "string" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "featured", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "count": { "maximum": 12, "minimum": 1, "type": "integer" }, "itemIds": { "items": { "maxLength": 64, "minLength": 1, "type": "string" }, "maxItems": 12, "type": "array" }, "showPrices": { "type": "boolean" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "story", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "body": { "maxLength": 4000, "type": "string" }, "image": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/image" }, "imagePosition": { "enum": [ "left", "right", "top" ], "type": "string" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "text", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "align": { "enum": [ "left", "center" ], "type": "string" }, "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" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "gallery", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "images": { "items": { "additionalProperties": false, "properties": { "alt": { "maxLength": 140, "type": "string" }, "url": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/image" } }, "required": [ "url" ], "type": "object" }, "maxItems": 24, "type": "array" }, "layout": { "enum": [ "grid", "strip", "mosaic" ], "type": "string" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "visit", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "showMap": { "type": "boolean" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "hours", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "location", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "showMap": { "type": "boolean" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "contact", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "showEmail": { "type": "boolean" }, "showPhone": { "type": "boolean" }, "showSocial": { "type": "boolean" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "loyalty", "type": "string" }, "settings": { "additionalProperties": false, "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" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "loyalty-card", "type": "string" }, "settings": { "additionalProperties": false, "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" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "order-cta", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "body": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/3/properties/settings/properties/body" }, "links": { "items": { "additionalProperties": false, "properties": { "label": { "maxLength": 40, "type": "string" }, "url": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/image" } }, "required": [ "label", "url" ], "type": "object" }, "maxItems": 6, "type": "array" }, "showOrderOnline": { "type": "boolean" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "team", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "members": { "items": { "additionalProperties": false, "properties": { "bio": { "maxLength": 600, "type": "string" }, "image": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/image" }, "name": { "maxLength": 80, "type": "string" }, "role": { "maxLength": 80, "type": "string" } }, "required": [ "name" ], "type": "object" }, "maxItems": 12, "type": "array" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "awards", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "items": { "items": { "additionalProperties": false, "properties": { "issuer": { "maxLength": 120, "type": "string" }, "title": { "maxLength": 120, "type": "string" }, "year": { "maximum": 2100, "minimum": 1900, "type": "integer" } }, "required": [ "title" ], "type": "object" }, "maxItems": 20, "type": "array" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "faq", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "items": { "items": { "additionalProperties": false, "properties": { "a": { "maxLength": 1200, "type": "string" }, "q": { "maxLength": 200, "type": "string" } }, "required": [ "q", "a" ], "type": "object" }, "maxItems": 20, "type": "array" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "reviews", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "items": { "items": { "additionalProperties": false, "properties": { "author": { "maxLength": 80, "type": "string" }, "quote": { "maxLength": 600, "type": "string" }, "source": { "maxLength": 80, "type": "string" } }, "required": [ "quote" ], "type": "object" }, "maxItems": 12, "type": "array" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "reservations", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "body": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/3/properties/settings/properties/body" }, "label": { "maxLength": 40, "type": "string" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" }, "url": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/image" }, "usePhone": { "type": "boolean" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "social", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/12/properties/settings/properties/links/items" }, "maxItems": 8, "type": "array" }, "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "legal", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "title": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/settings/properties/title" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "hidden": { "$ref": "#/properties/theme_config/properties/pages/items/properties/sections/items/anyOf/0/properties/hidden" }, "id": { "$ref": "#/properties/theme_config/properties/home" }, "kind": { "const": "custom-html", "type": "string" }, "settings": { "additionalProperties": false, "properties": { "height": { "maximum": 2000, "minimum": 40, "type": "integer" }, "html": { "maxLength": 20000, "type": "string" } }, "type": "object" } }, "required": [ "id", "kind" ], "type": "object" } ] }, "maxItems": 25, "type": "array" }, "title": { "maxLength": 60, "type": "string" } }, "required": [ "id", "path", "enabled", "sections" ], "type": "object" }, "maxItems": 12, "type": "array" }, "sections": { "items": { "additionalProperties": false, "properties": { "hidden": { "type": "boolean" }, "kind": { "enum": [ "hero", "menu", "loyalty", "hours", "gallery", "contact" ], "type": "string" } }, "required": [ "kind" ], "type": "object" }, "maxItems": 6, "type": "array" }, "theme": { "additionalProperties": false, "properties": { "customCss": { "maxLength": 8000, "type": "string" }, "tokens": { "additionalProperties": false, "properties": { "buttonStyle": { "enum": [ "solid", "outline" ], "type": "string" }, "colors": { "additionalProperties": false, "properties": { "accent": { "$ref": "#/properties/theme_config/properties/colors/properties/primary" }, "bg": { "$ref": "#/properties/theme_config/properties/colors/properties/primary" }, "card": { "$ref": "#/properties/theme_config/properties/colors/properties/primary" }, "fg": { "$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" }, "primary": { "$ref": "#/properties/theme_config/properties/colors/properties/primary" }, "primaryFg": { "$ref": "#/properties/theme_config/properties/colors/properties/primary" } }, "type": "object" }, "density": { "enum": [ "compact", "comfortable", "airy" ], "type": "string" }, "fonts": { "additionalProperties": false, "properties": { "body": { "$ref": "#/properties/theme_config/properties/fonts/properties/heading" }, "heading": { "$ref": "#/properties/theme_config/properties/fonts/properties/heading" }, "mono": { "$ref": "#/properties/theme_config/properties/fonts/properties/heading" } }, "type": "object" }, "headingCase": { "enum": [ "normal", "upper" ], "type": "string" }, "heroLayout": { "enum": [ "band", "split", "center", "full" ], "type": "string" }, "loyalty": { "additionalProperties": false, "properties": { "bg": { "$ref": "#/properties/theme_config/properties/colors/properties/primary" }, "ink": { "$ref": "#/properties/theme_config/properties/colors/properties/primary" } }, "type": "object" }, "radius": { "maximum": 40, "minimum": 0, "type": "integer" }, "radiusButton": { "maximum": 999, "minimum": 0, "type": "integer" }, "reserveKind": { "enum": [ "reserve", "book", "order" ], "type": "string" }, "serif": { "type": "boolean" } }, "type": "object" } }, "type": "object" }, "v": { "const": 2, "type": "number" } }, "type": "object" }, "theme_id": { "description": "A system theme id from get_site (e.g. lokand-base)", "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "set_theme", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business": { "additionalProperties": false, "properties": { "description": { "maxLength": 2000, "type": "string" }, "name": { "maxLength": 200, "minLength": 1, "type": "string" } }, "type": "object" }, "business_id": { "minLength": 1, "type": "string" }, "categories": { "items": { "additionalProperties": false, "properties": { "category_id": { "minLength": 1, "type": "string" }, "name": { "$ref": "#/properties/business/properties/name" } }, "required": [ "category_id", "name" ], "type": "object" }, "maxItems": 100, "type": "array" }, "items": { "items": { "additionalProperties": false, "properties": { "description": { "$ref": "#/properties/business/properties/description" }, "item_id": { "minLength": 1, "type": "string" }, "name": { "$ref": "#/properties/business/properties/name" } }, "required": [ "item_id" ], "type": "object" }, "maxItems": 500, "type": "array" }, "locale": { "description": "Target locale, e.g. en", "enum": [ "en", "tr", "es", "fr", "de", "it", "pt", "nl", "pl", "ja", "zh", "ar" ], "type": "string" }, "menus": { "items": { "additionalProperties": false, "properties": { "description": { "$ref": "#/properties/business/properties/description" }, "menu_id": { "minLength": 1, "type": "string" }, "name": { "$ref": "#/properties/business/properties/name" } }, "required": [ "menu_id" ], "type": "object" }, "maxItems": 20, "type": "array" } }, "required": [ "business_id", "locale" ], "type": "object" }, "name": "set_translations", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "suggest_styles", "outputSchema": null }, { "description": "Delete a custom theme and all its stored versions. The live theme can't be deleted — unpublish it first.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "theme_id": { "description": "A theme id from theme_list (or the system theme id lokand-base)", "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "business_id", "theme_id" ], "type": "object" }, "name": "theme_delete", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "theme_id": { "description": "A theme id from theme_list (or the system theme id lokand-base)", "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "business_id", "theme_id" ], "type": "object" }, "name": "theme_get", "outputSchema": null }, { "description": "Git access to a custom theme's code: the HTTPS remote and a repo-scoped token (read, or write on the Pro plan). 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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "scope": { "default": "read", "enum": [ "read", "write" ], "type": "string" }, "theme_id": { "description": "A theme id from theme_list (or the system theme id lokand-base)", "maxLength": 80, "minLength": 1, "type": "string" }, "ttl_seconds": { "maximum": 604800, "minimum": 60, "type": "integer" } }, "required": [ "business_id", "theme_id" ], "type": "object" }, "name": "theme_git_access", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "limit": { "maximum": 100, "minimum": 1, "type": "integer" }, "theme_id": { "description": "A theme id from theme_list (or the system theme id lokand-base)", "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "business_id", "theme_id" ], "type": "object" }, "name": "theme_history", "outputSchema": null }, { "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.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "theme_list", "outputSchema": null }, { "description": "Make a custom theme the live site's code (Pro plan). 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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "theme_id": { "description": "A theme id from theme_list (or the system theme id lokand-base)", "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "business_id", "theme_id" ], "type": "object" }, "name": "theme_publish", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "list_only": { "description": "Return only {path, size} for every file", "type": "boolean" }, "paths": { "description": "Return only these files", "items": { "maxLength": 120, "type": "string" }, "maxItems": 20, "type": "array" }, "search": { "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)", "maxLength": 200, "minLength": 2, "type": "string" }, "theme_id": { "description": "A theme id from theme_list (or the system theme id lokand-base)", "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "business_id", "theme_id" ], "type": "object" }, "name": "theme_pull", "outputSchema": null }, { "description": "Restore a custom theme's code to an earlier commit (Pro plan). 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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "commit": { "description": "Commit hash from theme_history", "maxLength": 40, "minLength": 7, "type": "string" }, "theme_id": { "description": "A theme id from theme_list (or the system theme id lokand-base)", "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "business_id", "theme_id" ], "type": "object" }, "name": "theme_rollback", "outputSchema": null }, { "description": "Compile the latest commit on a custom theme's main branch now (Pro plan). 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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "theme_id": { "description": "A theme id from theme_list (or the system theme id lokand-base)", "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "business_id", "theme_id" ], "type": "object" }, "name": "theme_sync", "outputSchema": null }, { "description": "Stop using custom theme code: the site goes back to its system theme. The custom theme is kept as unpublished.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" } }, "required": [ "business_id" ], "type": "object" }, "name": "theme_unpublish", "outputSchema": null }, { "description": "Upload a complete custom theme (Pro plan) 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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "allow_live": { "description": "With the live theme's id: update the live site in place", "type": "boolean" }, "business_id": { "minLength": 1, "type": "string" }, "files": { "additionalProperties": { "type": "string" }, "description": "Theme files by path, e.g. {\"sections/hero.liquid\": \"...\", \"config/settings_schema.json\": \"...\"}", "type": "object" }, "message": { "description": "Commit message", "maxLength": 200, "type": "string" }, "name": { "maxLength": 80, "minLength": 1, "type": "string" }, "role": { "default": "development", "description": "development = your private work-in-progress theme (one per user, replaced on each upload); unpublished = a saved theme ready to publish", "enum": [ "development", "unpublished" ], "type": "string" }, "theme_id": { "description": "A theme id from theme_list (or the system theme id lokand-base)", "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "business_id", "files" ], "type": "object" }, "name": "theme_upload", "outputSchema": null }, { "description": "Change some files of a custom theme (Pro plan) 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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "edits": { "description": "Find/replace changes inside existing files. Prefer this over whole files: send only the lines that change", "items": { "additionalProperties": false, "properties": { "find": { "description": "Exact text that occurs once in the file", "maxLength": 20000, "minLength": 1, "type": "string" }, "path": { "maxLength": 120, "type": "string" }, "replace": { "maxLength": 60000, "type": "string" } }, "required": [ "path", "find", "replace" ], "type": "object" }, "maxItems": 40, "type": "array" }, "files": { "additionalProperties": { "type": [ "string", "null" ] }, "description": "path → whole new file text, or null to delete the file", "type": "object" }, "message": { "description": "Commit message describing the change", "maxLength": 200, "type": "string" }, "name": { "maxLength": 80, "minLength": 1, "type": "string" }, "publish": { "description": "Go live once compiled (always the case when editing the live theme)", "type": "boolean" }, "theme_id": { "description": "A theme id from theme_list (or the system theme id lokand-base)", "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "business_id", "theme_id" ], "type": "object" }, "name": "theme_write_files", "outputSchema": null }, { "description": "Merge-patch one block's settings (null removes a key) and/or hide/show it.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "block_id": { "description": "Block id from get_site", "maxLength": 40, "minLength": 1, "type": "string" }, "business_id": { "minLength": 1, "type": "string" }, "hidden": { "type": "boolean" }, "page_id": { "description": "Page id, e.g. home, menu, about, loyalty", "maxLength": 40, "minLength": 1, "type": "string" }, "section_id": { "description": "Section id from get_site", "maxLength": 40, "minLength": 1, "type": "string" }, "settings": { "anyOf": [ { "additionalProperties": {}, "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings.", "type": "object" }, { "type": "null" } ], "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings." } }, "required": [ "business_id", "page_id", "section_id", "block_id" ], "type": "object" }, "name": "update_block", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "about": { "anyOf": [ { "maxLength": 10000, "type": "string" }, { "type": "null" } ] }, "business_id": { "minLength": 1, "type": "string" }, "contact_info": { "additionalProperties": false, "description": "Contact info: phone, email, address, instagram", "properties": { "address": { "maxLength": 300, "type": "string" }, "email": { "format": "email", "maxLength": 254, "type": "string" }, "instagram": { "pattern": "^@?[A-Za-z0-9._]{1,30}$", "type": "string" }, "phone": { "maxLength": 40, "type": "string" } }, "type": "object" }, "country_code": { "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.", "pattern": "^[A-Z]{2}$", "type": "string" }, "currency_code": { "maxLength": 3, "minLength": 3, "type": "string" }, "default_locale": { "enum": [ "en", "tr", "es", "fr", "de", "it", "pt", "nl", "pl", "ja", "zh", "ar" ], "type": "string" }, "description": { "anyOf": [ { "maxLength": 2000, "type": "string" }, { "type": "null" } ] }, "hours": { "additionalProperties": false, "description": "Opening hours keyed mon..sun, each {\"open\":\"10:30\",\"close\":\"22:00\"} or {\"closed\":true}", "properties": { "fri": { "$ref": "#/properties/hours/properties/mon" }, "mon": { "additionalProperties": false, "properties": { "close": { "$ref": "#/properties/hours/properties/mon/properties/open" }, "closed": { "type": "boolean" }, "open": { "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$", "type": "string" } }, "type": "object" }, "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" } }, "type": "object" }, "legal_info": { "additionalProperties": false, "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.", "properties": { "contactEmail": { "format": "email", "maxLength": 254, "type": "string" }, "contactPhone": { "maxLength": 40, "type": "string" }, "extra": { "items": { "additionalProperties": false, "properties": { "label": { "maxLength": 60, "minLength": 1, "type": "string" }, "value": { "maxLength": 200, "minLength": 1, "type": "string" } }, "required": [ "label", "value" ], "type": "object" }, "maxItems": 10, "type": "array" }, "registeredAddress": { "maxLength": 400, "type": "string" }, "registrationNumber": { "maxLength": 60, "type": "string" }, "taxNumber": { "maxLength": 60, "type": "string" }, "tradeName": { "maxLength": 300, "type": "string" } }, "type": "object" }, "maps_url": { "description": "A Google Maps, Apple Maps, Yandex or OpenStreetMap link (short share links work), or a \"lat, lng\" pair. Sets the coordinates.", "maxLength": 2000, "minLength": 1, "type": "string" }, "menu_options": { "additionalProperties": false, "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.", "properties": { "menuNotice": { "maxLength": 600, "type": "string" }, "orderingExcludedTags": { "items": { "enum": [ "alcohol", "pork", "tobacco" ], "type": "string" }, "maxItems": 3, "type": "array" }, "showPriceEffectiveDate": { "type": "boolean" } }, "type": "object" }, "name": { "maxLength": 200, "minLength": 1, "type": "string" }, "place": { "additionalProperties": false, "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.", "properties": { "address": { "additionalProperties": false, "properties": { "addressCountry": { "pattern": "^[A-Z]{2}$", "type": "string" }, "addressLocality": { "maxLength": 100, "minLength": 1, "type": "string" }, "addressRegion": { "maxLength": 100, "minLength": 1, "type": "string" }, "postalCode": { "maxLength": 20, "minLength": 1, "type": "string" }, "streetAddress": { "maxLength": 200, "minLength": 1, "type": "string" } }, "type": "object" }, "category": { "pattern": "^[a-z][a-z0-9_]{1,39}$", "type": "string" }, "cuisines": { "items": { "$ref": "#/properties/place/properties/category" }, "maxItems": 6, "type": "array" }, "lat": { "maximum": 90, "minimum": -90, "type": "number" }, "lng": { "maximum": 180, "minimum": -180, "type": "number" }, "timezone": { "maxLength": 64, "pattern": "^[A-Za-z][A-Za-z0-9_+-]*(?:\\/[A-Za-z0-9_+-]+){0,2}$", "type": "string" } }, "type": "object" }, "supported_locales": { "description": "Locales visitors can switch between, e.g. [\"pl\",\"en\"]; the default locale is always included", "items": { "$ref": "#/properties/default_locale" }, "maxItems": 12, "minItems": 1, "type": "array" } }, "required": [ "business_id" ], "type": "object" }, "name": "update_business", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "category_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ] }, "description": { "anyOf": [ { "maxLength": 2000, "type": "string" }, { "type": "null" } ] }, "dietary_info": { "anyOf": [ { "additionalProperties": false, "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.", "properties": { "allergens": { "items": { "enum": [ "gluten", "crustaceans", "eggs", "fish", "peanuts", "soybeans", "milk", "nuts", "celery", "mustard", "sesame", "sulphites", "lupin", "molluscs" ], "type": "string" }, "maxItems": 14, "type": "array" }, "caloriesKcal": { "maximum": 20000, "minimum": 0, "type": "integer" }, "contains": { "items": { "enum": [ "alcohol", "pork", "tobacco" ], "type": "string" }, "maxItems": 3, "type": "array" }, "declaredAt": { "exclusiveMinimum": 0, "type": "integer" }, "portionGrams": { "maximum": 100000, "minimum": 0, "type": "integer" }, "suitableFor": { "items": { "enum": [ "vegetarian", "vegan", "halal", "kosher", "gluten_free", "dairy_free", "nut_free", "spicy", "organic" ], "type": "string" }, "maxItems": 9, "type": "array" } }, "type": "object" }, { "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" }, "item_id": { "minLength": 1, "type": "string" }, "name": { "maxLength": 200, "minLength": 1, "type": "string" }, "price": { "maximum": 1000000, "minimum": 0, "type": "number" }, "sort_order": { "minimum": 0, "type": "integer" }, "variations": { "anyOf": [ { "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.", "items": { "additionalProperties": false, "properties": { "is_available": { "type": "boolean" }, "name": { "maxLength": 60, "minLength": 1, "type": "string" }, "price": { "$ref": "#/properties/price" } }, "required": [ "name", "price" ], "type": "object" }, "maxItems": 12, "minItems": 1, "type": "array" }, { "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." } }, "required": [ "item_id" ], "type": "object" }, "name": "update_item", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "card_config": { "anyOf": [ { "additionalProperties": false, "properties": { "back": { "additionalProperties": false, "properties": { "bg": { "$ref": "#/properties/card_config/anyOf/0/properties/colors/properties/cardBg" }, "fg": { "$ref": "#/properties/card_config/anyOf/0/properties/colors/properties/cardBg" }, "note": { "maxLength": 120, "type": "string" } }, "type": "object" }, "colors": { "additionalProperties": false, "properties": { "cardBg": { "pattern": "^#[0-9a-fA-F]{6}$", "type": "string" }, "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" } }, "type": "object" }, "finish": { "enum": [ "matte", "gloss", "foil" ], "type": "string" }, "headline": { "maxLength": 60, "type": "string" }, "layout": { "enum": [ "grid", "row" ], "type": "string" }, "pattern": { "enum": [ "none", "dots", "lines", "waves", "checks" ], "type": "string" }, "radius": { "maximum": 32, "minimum": 0, "type": "integer" }, "showLogo": { "type": "boolean" }, "stampIcon": { "enum": [ "star", "heart", "coffee", "gift", "leaf", "smile" ], "type": "string" }, "subline": { "maxLength": 90, "type": "string" } }, "type": "object" }, { "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." }, "is_active": { "description": "Whether diners can join and collect stamps", "type": "boolean" }, "reward_text": { "description": "What the guest gets, e.g. \"A free coffee\"", "maxLength": 140, "minLength": 1, "type": "string" }, "stamps_required": { "description": "Stamps needed for one reward (2-30)", "maximum": 30, "minimum": 2, "type": "integer" } }, "required": [ "business_id" ], "type": "object" }, "name": "update_loyalty_card", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "description": { "anyOf": [ { "maxLength": 2000, "type": "string" }, { "type": "null" } ] }, "is_active": { "description": "Whether the menu is live on the public site", "type": "boolean" }, "menu_id": { "minLength": 1, "type": "string" }, "name": { "maxLength": 200, "minLength": 1, "type": "string" } }, "required": [ "menu_id" ], "type": "object" }, "name": "update_menu", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "accent": { "description": "Frame color: caption text, card fill", "pattern": "^#[0-9a-fA-F]{6}$", "type": "string" }, "bg": { "description": "Background behind the code", "pattern": "^#[0-9a-fA-F]{6}$", "type": "string" }, "business_id": { "minLength": 1, "type": "string" }, "cta": { "anyOf": [ { "maxLength": 40, "type": "string" }, { "type": "null" } ], "description": "Optional text above the code, e.g. \"Scan to order\". null = none (only the name is printed)" }, "eye_style": { "description": "Corner markers: square, rounded or circle", "enum": [ "square", "rounded", "circle" ], "type": "string" }, "fg": { "description": "Code color (dark modules)", "pattern": "^#[0-9a-fA-F]{6}$", "type": "string" }, "frame": { "description": "none (code + label only), caption (call-to-action text above the code) or card (filled color card around the code)", "enum": [ "none", "caption", "card" ], "type": "string" }, "logo": { "description": "Put the business logo in the middle", "type": "boolean" }, "module_style": { "description": "square (classic), rounded (soft, joined) or dots", "enum": [ "square", "rounded", "dots" ], "type": "string" }, "reset": { "type": "boolean" } }, "required": [ "business_id" ], "type": "object" }, "name": "update_qr_design", "outputSchema": null }, { "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].", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "hidden": { "type": "boolean" }, "page_id": { "description": "Page id, e.g. home, menu, about, loyalty", "maxLength": 40, "minLength": 1, "type": "string" }, "section_id": { "description": "Section id from get_site", "maxLength": 40, "minLength": 1, "type": "string" }, "settings": { "anyOf": [ { "additionalProperties": {}, "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings.", "type": "object" }, { "type": "null" } ], "description": "Settings as a JSON merge patch (null removes a key). get_site lists each type's settings." } }, "required": [ "business_id", "page_id", "section_id" ], "type": "object" }, "name": "update_section", "outputSchema": null }, { "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.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "patch": { "additionalProperties": {}, "description": "RFC 7386 JSON merge patch on the whole theme data document", "type": "object" } }, "required": [ "business_id", "patch" ], "type": "object" }, "name": "update_site", "outputSchema": null }, { "description": "Legacy look op: patch v2-style `tokens` (colors, fonts, radius, hero layout, …) or set custom CSS. Prefer update_theme_settings.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "custom_css": { "anyOf": [ { "maxLength": 8000, "type": "string" }, { "type": "null" } ], "description": "Extra CSS; null clears it. No @import, url() or <" }, "tokens": { "additionalProperties": {}, "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.", "type": "object" } }, "required": [ "business_id" ], "type": "object" }, "name": "update_theme", "outputSchema": null }, { "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.", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "settings": { "additionalProperties": {}, "description": "Merge patch on the theme's global settings", "type": "object" } }, "required": [ "business_id", "settings" ], "type": "object" }, "name": "update_theme_settings", "outputSchema": null }, { "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": { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "business_id": { "minLength": 1, "type": "string" }, "item_id": { "description": "The menu item, for target item", "minLength": 1, "type": "string" }, "target": { "enum": [ "logo", "item" ], "type": "string" }, "url": { "description": "An image url from list_assets", "format": "uri", "type": "string" } }, "required": [ "business_id", "url", "target" ], "type": "object" }, "name": "use_asset", "outputSchema": null } ] }
Verify it yourselfcurl -s https://api.teppi.xyz/v1/evidence/sha256:8dc32a3b62c5c0a58e2728585f7948d4c9eb8ca1456e57da1ff303f873972a55 | sha256sum