MCP tool reference
Choose an area for tool inputs and outputs.
Abandoned
list_abandoned_bookingsList bookings guests left unpaid after giving their name and email at checkout, newest first: the hold ran out or was given back without an order, or its order was never paid and was canceled or is past its payment's grace
Acknowledgements
archive_acknowledgementRemove an acknowledgement: guests placing holds from now on aren't asked to tick it
create_acknowledgementAdd a statement guests must tick at checkout before they pay, for a product at one location (e.g. "All guests are 18 or older", "Not wheelchair accessible: stairs only"): plain text up to 300 characters, at most 10 at a location, listed on the booking page too unless
onBookingPageis falselist_acknowledgementsList the acknowledgements a product's guests tick at checkout at one location, in the order guests read them: each with its newest text and every earlier version
reorder_acknowledgementsPut a product's active acknowledgements at one location in a new order: list every id from list_acknowledgements exactly once
update_acknowledgementChange an acknowledgement: its text (a new version: holds placed from now on lock it, while open holds and bookings keep the version they have), whether the booking page lists it too, or its place in the list
Activity
list_activityList the organization's activity log, newest first: what changed, who or what did it (a person, an agent, the system), and the changeset it came from
Add-ons
create_add_onCreate an add-on: an extra sold with other products, such as merchandise (a tote bag), a drink pairing, or the contents of a package (the VIP package)
list_add_onsList the organization's add-ons (extras sold with other products: merchandise, drink pairings, packages' contents): their terms, price and stock left at each location, the products offering them, and the ticket types including them
set_add_on_priceSet an add-on's price at a location (minor units, before fees and tax) and its stock there (
inventory: units in stock counting those already sold, so add new units to it; null for unlimited), or stop selling it there (remove: true)set_product_add_onOffer an add-on on a product (a tote bag with the dinner), choosing where guests can add it (
placement: checkout, manage_link, both, or off for staff only) and its order (position; the booking page shows the first three inline, the rest under More options), or stop offering it (remove: true)set_ticket_type_add_onInclude an add-on in a ticket type's price,
quantityfor each seat (a package: VIP includes the VIP package), or stop including it (remove: true)update_add_onChange an add-on: its name, description, status (archive to stop selling it), tax class, whether it's per person or per booking, and its quantity limits
Agents
list_agentsList the organization's AI agents (the assistant, the ops agent, the revenue agent): each one's status, autonomy, tools, AI credit budgets, grants, whether it's working right now and why not, where it's switched off, and its open proposals
set_agent_grantsSet what an AI agent may do and where: its grants, as a member's (role and scope), replacing the ones it has
update_agentChange an AI agent: its name, status (active, paused, or removed, which can't be undone: its grants go at once and its history stays), autonomy (off, shadow, or suggest), the tools it may call (registry tool names an agent can reach, or null for every one: the assistant's), and its daily and monthly AI credit caps
AI credits
get_ai_creditsGet the organization's AI credits: what's left in total, the plan's allowance this period (granted, used, remaining, when it expires: what's left isn't carried over), the trial's, bought top-ups (they never expire), what this period's in-app AI actions used per action, and what each action costs
list_ai_credit_entriesList the organization's AI credit ledger, newest first: every grant (the plan's allowance each period, the trial, top-ups, Lokl's adjustments with their reason), every in-app AI action's use (with its action and the agent, if one took it), every use given back because its model call produced nothing (refund), and every expiry of an allowance or trial left unused
API keys
list_api_keysList API keys in this organization: yours, or everyone's if you have api_keys:write across the organization
revoke_api_keyRevoke an API key: it stops working on its next call, for good
Authenticator
reset_member_authenticatorReset a member's authenticator after they lost it and have no backup codes left
Availability
list_availabilityList what a guest can book at an organization (by its slug): its listed products and the locations each is offered at (with the slugs of their booking page addresses), whether or not they have dates soon; their sessions over a range of local dates, soonest first, each with its capacity, seats left, whether it's open for booking (a session inside a closure, or a block of its product, is closed with closedReason blocked: no seats, no prices), and prices per person for each band of party sizes that prices differently, as guests see them (
price: fees in, and tax in only whenpricesIncludeTax; otherwise show "+ HST" fromtaxNames) and with tax, plus the group options bookable there now (a base charge covering some seats, then a rate per person, up to a largest party; a whole-session one only while the session is empty); and the lowest to highest price per ticket type
Billing
accept_operator_termsAccept Lokl's operator terms for the organization, recorded with who and when
buy_ai_creditsBuy an AI credit top-up pack (1,000, 2,750, or 6,000 AI credits: US$10, US$25, US$50, or CA$12, CA$30, CA$60 for an organization billed in CAD; get_billing's packs are its own prices), plus tax
choose_planChoose the organization's Lokl plan (starter, growth, or scale), billed per active location per month plus tax
get_billingGet what the organization pays Lokl: its billing status (trial, active, past due with the grace's end, limited, canceled), plan, trial end, current period, whether it cancels at the period's end, active locations billed, the price per location, the next invoice (before tax, tax, total), the card and billing address on file, the plans and AI credit top-up packs, the operator terms accepted, and what each location uses of the plan's limits (bookings this period and staff logins, with each limit; null is unlimited)
get_billing_portal_linkGet a link to Stripe's billing portal for the organization: the card Lokl bills, past invoices and receipts, and cancelling the plan at the period's end
start_billing_trialStart Lokl's 30-day free trial for an organization made before billing, which has no billing yet (get_billing answers not_found)
Booking questions
create_booking_questionAdd a question a product asks at checkout, for the booking or for each guest: text, a number, a single or multiple choice, or yes/no; required or optional; staff-only (staff answer it, guests never see it); shown on the run sheet; and sent to the kitchen beside the menu counts (allergies, dietary needs)
list_booking_answersList the answers to booking questions for one order, or for a session's confirmed bookings (the run sheet's): each with its question, the guest it's for (participant questions), and who answered it
list_booking_questionsList a product's booking questions (archived ones included, with how many orders have answered each)
set_booking_answerAnswer a booking question for an order as staff: a staff-only question, or a guest's answer given by phone (it replaces theirs)
update_booking_questionChange a booking question: its label, help text, whether it's required, staff-only, on the run sheet, or for the kitchen, its order, or archive it (no longer asked; its answers stay)
Bookings
change_booking_seatsAdd or remove seats on a confirmed booking of individual tickets, under the session's lock, with capacity checked (a ticket type's own too, and the stock of what its seats include).
linessays each ticket type's seats from now oncreate_staff_bookingBook a party straight into a session for a walk-in or a phone call: seats by ticket type or a group option, extras and menu counts, the customer's name (email and phone optional), a note
get_bookingGet one booking's page: its summary (as list_bookings gives it), its seats by ticket type, extras, menu counts, answers to booking questions, payments, refunds, balance due, and history from the activity log, newest first
get_customerGet one customer's page: their contact details, staff's notes on them (newest first, at most 50; add_customer_note, update_customer_note, remove_customer_note), whether they've agreed to news and offers (
marketing), and their bookings, newest first, as list_bookings gives them (pending ones included)list_bookingsFind bookings, newest first, for the front desk:
searchby booking code, guest's name, or email (forgiving small slips in a name), or bysessionIdorlocationId, a range of local dates (from,to), by default the session's date, or withdateBasis"booked" the date the booking was made (for "bookings made last week", accounting), orstatuslist_customersFind customers, newest first:
searchby name or email, forgiving small slips in a nameupdate_booking_detailsChange the contact name, email, and phone on a booking, and staff's note, without rewriting the customer record, which other bookings share: the name and phone are this booking's own, and a new email moves it to that address's record (found or added)
Changesets
apply_changesetApply a previewed change by its confirmation id (chg_...)
get_changesetGet a changeset by its id: what it changes, whether it's been applied or undone, and its result
undo_changesetUndo an applied change by its id, within its undo window (see undoUntil)
Check-in
check_inCheck guests in at the door:
everyone, acountof the party (at least that many have arrived), orpositions(these guests), on a booking by its order idfind_check_inFind a booking to check in: by the token its QR code carries (
token: the code'st, or the whole address scanned), or by searching one session (sessionId, withsearchfor a booking code or a guest's name; without it, every booking in the session)undo_check_inTake check-ins back on a booking:
everyone, orpositions(pass check_in'schangedto undo that tap)
Checkout
preview_holdPreview what a party would pay for these seats right now, without holding anything (what place_hold would charge): each line's price per person, the totals with fees and each tax, and the seats left
Credits
get_credit_liabilityGet what the business owes in money-like credits, per issuing entity and currency, over local dates (the organization's time zone, up to 366 days): outstanding at the start, issued, redeemed (net of refunds back to them), voided, expired, and outstanding at the end (start + issued − redeemed − voided − expired = end)
issue_creditGive a booking's guest a credit: stored value with a code, a liability of the entity that sold the booking, in its currency, to use on a later booking (redeeming comes with gift certificates)
list_creditsList credits (stored value given to guests: a session moved or called off, goodwill, service recovery), newest first: code, status (active, voided, expired), reason, amount and balance, the customer, and the order and session it came from
void_creditVoid a credit that hasn't been used: its code stops working and its whole amount is taken back, with
note(staff's words, for the activity log; never shown to the guest)
Customer notes
add_customer_noteAdd a staff note to a customer's page (get_customer shows them, newest first): staff's own words, never shown to the guest, and included when the guest asks for their data (export_customer_data)
remove_customer_noteRemove a staff note from a customer's page for good (its id from get_customer's notes)
update_customer_noteChange the text of a staff note on a customer's page (its id from get_customer's notes)
Customers
erase_customerErase a guest's personal data on their request (PIPEDA): their name, email, phone, and sign-in link, the staff notes on them (add_customer_note), the names of their party's seats, their answers to booking questions (allergies are health data), the buyer's details and message on gift certificates they bought, the name and email they gave on holds before paying (abandoned bookings), the address on their send log rows and emails still stored, and the name, email, and phone in the activity log's entries about their orders
export_customer_dataExport a customer's data for a guest's access request (PIPEDA): contact, consent history, staff's notes on the customer, orders and amounts, payments, refunds, invoices, participants, answers, party seats, menu choices, gift certificates, credits, tips, send log, suppressions, and activity
withdraw_marketing_consentRecord a guest's request to stop news and offers
Gift certificates
change_gift_certificate_deliveryChange when (
deliverOn, a local date at its location from today up to 365 days ahead) or where (recipientEmail) a gift certificate goes, before it has been sentget_gift_certificateGet one gift certificate, by
giftCertificateIdorcode(any case, dashes ignored): what list_gift_certificates shows, with the orders it paid (by booking code, each use's amount and payment status, and what was given back), the amounts restored to it by refunds, and its delivery (scheduled, overdue, sent, or nowhere to send it)get_gift_certificate_liabilityGet what the business owes in gift certificates, per entity and currency, over a range of local dates (the organization's time zone, up to 366 days): outstanding at the start, sold, redeemed (net of what refunds gave back), voided, and outstanding at the end, which always reconcile (start + sold − redeemed − voided = end)
issue_gift_certificateGive someone a promotional gift certificate (free value: a comp, for a partner or media, or service recovery)
list_gift_certificatesList gift certificates, newest first: code, kind, status, amount and balance, who bought it and for whom, and its delivery
resend_gift_certificateSend a gift certificate to its recipient again, now (a lost email), optionally to a corrected
recipientEmail, which it keepsvoid_gift_certificateVoid what's left on a gift certificate: its balance goes to 0 and it's voided, with a reason (refunded, fraud, issued_in_error, other) and staff's note, never shown to the guest
Group options
create_group_optionAdd a group option to a product, beside its individual tickets: a base charge covering
includedSeats, then a rate per person above them up tomaxSize, either sharing the session or taking all of it (wholeSession, a private booking: offered only on an empty session, which then closes to everyone else)remove_group_optionRemove a group option from its product
set_group_option_priceSet a group option's price at a location where its product is offered: the base charge covering its included seats (
baseAmount, minor units) and the rate per person above them (perPersonAmount; null or left out: it takes nobody above its included seats there).remove: truestops offering it thereupdate_group_optionChange a group option's name, description, display position, terms (includedSeats, minSize (the group minimum for guests), maxSize with null for the session's capacity, wholeSession), or status (archived stops offering it; active brings it back)
Home
get_homeGet today's numbers at a glance: for each location you can see, today's and the next 7 days' numbers, each beside last week's: seats booked against capacity (fill rate), booked revenue (net sales: after discounts, before fees and tax; never collected money), what's been collected, revenue per available seat, and bookings made today
Inbox
list_inboxList what needs a person's attention, as the Inbox does
Invoices
get_invoiceGet one invoice: its number, state (draft, sent, partly_paid, paid, overdue, void), who it's billed to and who issued it, its own lines and taxes, what's paid and owed, its payments, due date, and whether the booking's invoices still add up to the booking (
matchesOrder)issue_invoiceInvoice a booking, or a quote (which books the party into its session first, whole for a private game, as a staff booking: bookings:write too).
portion: fullis one invoice for the booking;depositwith an amount or a percentage issues the deposit and the balance together, which add up to the booking line by linelist_invoicesList invoices, newest first: by state (draft, sent, partly_paid, paid, overdue, void),
overdue, booking, location, or due dates (local, inclusive), only those at bookings the caller may read.totalsadds up every matching invoice per currency (amount, paid, balance, and what of the balance is overdue), or is null when some amounts are hiddensend_invoiceSend an invoice: a draft is numbered (the entity's own series) and emailed with its pay link, optionally with a new
dueOn; an invoice already sent is emailed again, as it isvoid_invoiceVoid an invoice nothing has been paid toward: it keeps its number, its pay link stops taking payments, and its reminders stop
Media
add_photo_from_urlAdd a photo to guest pages from a public https address: the API fetches it once the change is applied (JPEG, PNG, WebP, or AVIF, at most 10 MB) and puts it after the subject's other photos
get_contentGet what guest pages show for one subject, as staff edit it: its photos in order (with ids, alt text, and size) and its content (the organization's profile, a product's or a location's content; a product at a location has photos only)
remove_photoRemove a photo from guest pages
reorder_photosPut a subject's photos in a new order: list every one of its photos (get_content) once, first to last
update_location_contentChange what guest pages say about a location: the venue's name as guests know it (when it isn't the location's own, such as a partner restaurant) and arrival directions
update_organization_profileChange the organization's homepage: its one-line pitch, cover photo and logo, about (title, story, photo), private events (title, pitch, photo, inquiry email), contact email and phone, social links, and FAQs
update_photoChange a photo's alt text (what it shows, for screen readers)
update_product_contentChange what a product's page says: its tagline, facts (short lines with an icon), highlights, what you'll do (steps), good to know, and FAQs
Members
get_grant_optionsList what you may give someone access to, for the invite form: the roles and the places (the whole organization, or a location) mayGrant allows you, exactly as invite_member would accept them
invite_memberInvite someone by email to a role at a scope
list_membersList the people who work here and the invitations still open: name, email, what each holds and where, whether they've set up an authenticator, and when they joined or were invited
offboard_memberRemove someone from this organization at once: their grants here, all their sessions, their API keys here, MCP clients connected here, invitations to them, and invitations they sent that are still open
preview_member_accessShow what a role at a scope can and can't do, in plain words by area, with its limits and the locations it reaches, before anyone is invited
resend_invitationEmail an invitation again, with a new 14 days from now, also for one that has expired
revoke_invitationRevoke an invitation that hasn't been accepted: signing in no longer gives them anything
update_member_grantsChange what a member holds, by giving the full list they should hold from now on; the preview shows what's added and taken away
Menus
add_menu_choiceAdd a choice to an existing menu course, with optional allergens, dietary tags and a supplement add-on
add_menu_courseAdd a course to an existing menu
create_menuCreate a menu: its courses in order, each with its choices (allergens and dietary tags as listed values, an optional supplement add-on charged for each guest who picks it (made with create_add_on, priced at each location with set_add_on_price), and at most one default, which fills the seats the organizer leaves unchosen)
get_kitchen_countsGet the kitchen's counts for sessions: for each course, how many of each choice the confirmed bookings have (and how many the default filled), the allergens on those plates, and when the counts stop changing
list_menusList the organization's menus: courses and choices (allergens, dietary tags, supplement, default), and the products offering each
set_product_menuOffer a menu on a product, everywhere or at one location (which wins there), or stop offering one (menuId null)
update_menuRename a menu, change its description, or archive it (an archived menu isn't offered; holds and bookings keep their counts)
update_menu_choiceChange a menu choice: its name, description, allergens, dietary tags, supplement add-on, whether it's its course's default, or archive it
Message templates
list_message_templatesList every message Lokl sends, with its subject and editable words as they are at one level, where each value comes from (Lokl's own text, the organization's, or an entity's: an entity's beats the organization's, which beats Lokl's), what {{variables}} the text may use, and what Lokl always writes itself
render_message_templateSee a message as a guest would get it: its subject, HTML, and plain text, written from the text saved at this level (the entity's, else the organization's, else Lokl's) with a
draftlaid over it to try new words before saving themsend_test_messageEmail yourself a message as guests would get it, to see it in a real inbox: written from the text saved at this level with an optional
draftlaid over it, and from a booking's details withorderId(a booking you may see in full) or the built-in sampleupdate_message_templateChange the words of a message at one level: the organization's, or one entity's with
entityId(branded per entity: it beats the organization's, which beats Lokl's)
Notifications
get_notificationsList every message Lokl sends for this organization (to guests, and to staff), each with the organization's setting that turns it on or off, the settings that time it, and how many places (an entity, location, product, product at a location, or session) set it differently
list_messagesList the messages Lokl sends (the send log), newest first: the notification (to guests: booking.confirmation, booking.reminder, booking.change, booking.menu_reminder and booking.menu_reminder_last, booking.day_of, booking.follow_up, booking.cancellation, booking.refund, booking.manage_link, booking.session_moved, booking.credit, booking.session_refund, booking.session_message; to staff: staff.refund_failed, staff.refund_exceeded (the card was refunded in the payment provider after part of it was already given back as a credit or gift certificate), and kitchen.sheet and kitchen.canceled, which belong to a session and are shown only across the organization), who it's to, when it was due and sent, and its status (scheduled, sent, skipped with the reason, failed)
Offline payments
mark_refund_givenMark a refund Lokl owes a guest at the desk as given back: when a session is called off or moved with refunds, the part of a booking paid at the desk (cash, debit, an e-transfer, a cheque, the venue's card machine, a voucher) is owed back, shown in the Inbox's Needs action (list_inbox, kind desk_refund, with its refundId)
record_paymentRecord money taken outside Lokl's online checkout against a confirmed booking: a card on the venue's own machine (card_terminal), cash, debit, an e-transfer, a cheque, or a third party's voucher (Costco, WagJag: give its issuer and its code in reference).
amountin minor units, at most the balance due (list_bookings' balanceDue); a reference (an e-transfer's, a cheque's number, a terminal's receipt number) is optional except for a voucher;noteis staff's own, never shown to the guest
Orders
cancel_orderCancel a guest's order at any time, for a recorded reason (a listed one, staff's own words in
note, or both): its booking is canceled, or its hold released if it isn't paid yet, so the seats go back on sale; its reminder won't go out, and the guest is emailed (the cancellationEmail setting)list_ordersFind orders (a guest's booking and payment), newest first: by booking code, the customer's email, or session, or filtered by status
refund_gift_certificate_purchaseRefund a gift certificate purchase to the buyer's card, for a recorded reason: first voids what's left on the certificate (so it can't be spent and refunded both), then refunds
amountin minor units, or leave it out for everything it can: what was paid and isn't back yet, up to what the certificate hasn't paid forrefund_orderRefund a guest's order, in full or in part, for a recorded reason, without canceling it: a confirmed booking stays confirmed, its seats stay taken, and its reminder still goes out, even after a full refund (to cancel too, use cancel_order).
amountin minor units, or leave it out for everything staff can refund: what was paid, less what's already refunded, less fees sold as non-refundable (the service charge), which an order canceled before it was booked doesn't keep (to retry Lokl's refund of it after a failed one)renew_manage_linkIssue a new manage link for a paid or canceled order, so a link that went to the wrong people stops working: the old one is not found from then on, and every earlier email's link with it
resend_booking_confirmationEmail a booking's confirmation to its guest again (a lost email): the same message the booking sent at checkout, with the booking's current details and its current manage link
Organization
close_organizationClose the organization for good (the end of Lokl's Terms): online booking, staff changes, agents, in-app AI, and every email stop at once; members can still sign in to read and export its data (reports, lists, export_customer_data) for 90 days, and then it is deleted
create_organizationCreate a new organization with you as its owner, and the standard and exempt tax classes
export_organizationExport all of the organization's data as CSV files in one ZIP: customers, orders with their lines, bookings, payments, refunds, products, sessions, gift certificates, credits, invoices, quotes, staff notes, marketing consent and tips, money in each row's currency and times at each location's time zone
get_organizationGet the organization you're signed in to: its id, name, and slug
update_organizationRename the organization
Party page
renew_party_linkIssue a new party link for a paid booking, so a link that went to the wrong people stops working: the old token, its PIN, and every visit made through it stop at once, and a new token and PIN replace them
Payments
create_payment_accountCreate a payment provider account for an entity whose operator has none (Stripe: a connected account in the entity's country and currency, with the operator's own full Stripe Dashboard; they pay Stripe's fees and handle disputes there)
get_payment_account_linkGet the link an operator opens to set up an entity's payment provider account
list_payment_accountsList the payment provider accounts linked to the organization's entities, with their status: pending (onboarding not finished), active (can take payments), restricted (the provider is holding it back: missing details or under review), or disconnected (unlinked by the operator; link it again)
Policies
list_termsList every version of the terms, newest first: the organization's, or a product's own
publish_termsPublish a new version of the terms guests accept at checkout: the organization's, or a product's own (which replace the organization's for that product)
Pricing
create_price_ruleAdd a price rule to a product: when its conditions hold (weekday, local start time, season, lead time, occupancy, party size; left out means any), it sets the price, or adds an amount (minor units) or a percentage (parts per million)
get_price_historyShow what a session's price changed through and who changed it, newest first: its own price (set or removed), its schedule's own prices (set_schedule_price), its ticket types' base prices at its location, group options' base charges and per-person rates there, price rules that could apply to its product and location (added, changed, removed), the price guardrail settings, a private session's terms, and undos of any of these
list_price_rulesList a product's price rules, on and off, in the order they apply, each with its conditions, its adjustment, and a plain-English description
preview_pricesShow what guests would pay at a product's sessions over a range of local dates: for each session and each band of party sizes that prices differently, every ticket type's price, its price per person as guests see it (
price: fees in, and tax in only whenpricesIncludeTax) and with tax, and the steps that led to it, plus the lowest to highest price per ticket typeset_schedule_priceGive a schedule its own price for a ticket type (from get_product), used by every session the schedule generates on every date it runs, in place of the location price (set_ticket_type_price); when the schedule ends, its sessions are over and prices are back to the location's
set_session_priceGive one session its own price for a ticket type (minor units per seat; a private session's price is changed with update_private_session, a group option's with set_group_option_price), or clear it with
amount: nullto go back to its schedule's price (set_schedule_price) or the location price, and rulesset_ticket_type_priceSet a ticket type's price at a location (a group option's is set with set_group_option_price): its own
amountper seat (minor units), orfollowsTicketTypeIdplus adifference(VIP is Standard plus $40, so every price rule flows through; one level deep), and optionally the range rules keep it in (minAmount,maxAmount).remove: truetakes the price away, so the type can't be booked thereupdate_price_ruleChange a price rule: any of its fields, leaving the rest as they are (null clears a condition, so it matches anything)
Pricing suggestions
apply_pricing_suggestionApply one of the revenue agent's pricing suggestions: the session gets its own price for the ticket type, exactly the suggestion's proposed amount (no other amount can be given)
get_pricing_performanceGet how pricing has done over the sessions that ran from
fromtoto(local dates, inclusive, up to 366 days), by day, week, or month: revenue per available seat, fill rate and average price (from confirmed bookings, as Home and reports count them), per currency; the revenue agent's suggestions for those sessions by status, mode and kind, with acceptance (applied over applied and rejected); and shadow accuracy, over each session's last shadow suggestion once it ran: for raises, the share that sold out or ended above what similar sessions ended with; for lowers, the share that ended below itlist_pricing_suggestionsList the revenue agent's pricing suggestions, by session start (soonest first): raise or lower one session's price for a ticket type, from booking pace against similar past sessions, within the guardrails
reject_pricing_suggestionTurn down one of the revenue agent's suggest-mode pricing suggestions, with a reason (wrong, not_now, too_risky, edited, other) and an optional note: the same as reject_proposal on its proposal
Private sessions
create_private_sessionCreate a private session for one party: a session of a product at a location at any local date and time, outside any schedule, priced
flat(one amount for the party) orper_person, before fees and tax, for up topartySizeMaxguests (the session's capacity by default; a product with no capacity there needs one set with update_settings first)renew_private_linkIssue a new private booking link for a private session, so a link that went to the wrong people stops working: the old token is not found from then on
update_private_sessionChange a private session's terms before the party holds it: whose it is (
name),pricing(flat or per_person),amount(minor units, before fees and tax), orpartySizeMax(null for the session's capacity)
Product preview
get_product_preview_linkGet a link, good for 1 hour, to a product's booking page as guests will see it, whether or not it's on sale (a draft, on sale, or archived): read-only, with a banner saying it's a preview, and no way to hold or book
Products
add_product_locationOffer a product at another location, with its main ticket type's (Standard's) price there in minor units of that location's currency, and the resources its sessions occupy there
create_productCreate a timed product (an experience with sessions) offered at one or more locations, with a Standard ticket type priced per location (minor units of the location's currency) and a capacity in seats per session
create_ticket_typeAdd a ticket type (a priced tier such as VIP, child, or member) to a product's individual booking mode, with an optional seat limit per session and sales window
get_productGet one product's full setup: its fields and settings overrides, each location it's offered at (currency, overrides there, resources), its booking modes (a group option's included seats and smallest and largest party) and ticket types with each type's price per location (amounts in minor units of the location's currency; a type can follow another's price plus a difference), its own charge for any entity fee (set_product_fee), and its schedules
list_productsList the organization's products: name, type, status (draft, active, archived), duration, tax class, the locations each is offered at, and how many active ticket types it has
remove_product_locationStop offering a product at a location: removes its prices, resources, and turned-off price rules there
set_product_resourcesReplace the resources (rooms, equipment, staff roles) a product's sessions occupy at a location
set_up_productSet up a bookable product in one step: a timed product at one location with its Standard price per person, seats per session, length, an optional group option (
groupOption: base charge covering included seats, then an optional per-person amount, priced in the location's currency as with create_group_option), optional extra price types after Standard (ticketTypes: any names, each a difference from Standard or its own price;vipis kept for older callers), an optional weekly schedule (which generates its sessions), and whether it goes on sale nowupdate_productChange a product's name, slug (its part of booking page addresses; old addresses keep working), description, duration, status, or tax class
update_ticket_typeChange a ticket type's name, description, display position, seat limit per session (null for none), sales window (ISO datetimes, null to clear), or status (archived takes it off sale; active brings it back)
Profile
get_profileGet who you're signed in as: your name, email, whether two-factor is on, and each organization you belong to with your roles there (and whether it requires two-factor), and invitations waiting for your answer.
currentmarks the organization your other calls act in
Promo codes
create_promo_codeCreate a promo code guests type at checkout: an amount or percentage off the tickets, extras, or both; a set price per seat; or the service charge waived
get_comps_reportGet what promo codes and free stored value (promotional gift certificates, and goodwill and service recovery credits) took off bookings, by reason and by code or certificate, over a date range
list_promo_codesList promo codes, newest first: each one's code, terms, limits, uses so far, status, and who made it
update_promo_codeChange a promo code: its limits, reason, or status (archive to stop guests using it; a used code is archived, never deleted)
Proposals
approve_proposalApprove an open proposal
get_proposalGet one proposal an AI agent made: what it would change, why, its evidence, confidence, and expiry, the tool and input it would call (for Edit), and what was decided
list_proposalsList the proposals AI agents made, newest first: by default the open ones you may decide (each checked against what its change touches), as the Inbox's Needs action shows them
reject_proposalReject an open proposal, with a reason: wrong, not_now, too_risky, edited (you made the change yourself with other input), or other, and an optional note
Quotes
create_quoteQuote a party for one session: individual tickets (
lines), a group option such as the private game (group), or a private session staff created (private), with add-ons and menu counts, priced as a booking would be nowget_quoteGet one quote: its number, state (open, expired, invoiced, void), the session and party, its price as quoted (orders:amounts), who it's for (customers:contact for more than the first name), until when it's valid, whether it holds the session, and its booking and invoices once invoiced
list_quotesList quotes, newest first: by state (open, expired, invoiced, void), session, or location, only those for sessions the caller may read
void_quoteWithdraw an open quote: it keeps its number, its link shows it's no longer on offer, and a session it held goes back on sale.
noteis staff's own words, never shown to the guest
Reports
get_bookings_reportGet counts, not money, for any range of local dates (up to 366 days), grouped by day, week (Monday), month, location, or product: confirmed bookings and their seats, who made them (the guest or staff), bookings canceled, and no-shows (null until check-in exists), plus the party size distribution over the range
get_sales_reportGet sales for any range of local dates (up to 366 days), grouped by day, week (Monday), month, location, or product: per group and currency, the orders, seats, tickets, extras, discounts, net sales (after discounts, before service charge and tax), service charge, tax, and total booked; then what was collected (payments less refunds, on the date the money moved), refunded, and the balance due
get_service_charge_reportGet the service charge (every fee) for any range of local dates (up to 366 days), by location and day, month, or the whole range, in each currency: charged, waived by a promo code, kept on refunded orders, refunded, and net, before tax (its tax is in get_tax_report)
get_tax_reportGet the tax to remit, for any range of local dates (up to 366 days): per location, then tax class and rate, the taxable amount and the tax booked, refunded, and net, in each currency
Run sheet
get_run_sheetGet one session's run sheet: its confirmed bookings in the order they booked (then as the orders were made), each with party size, the guest's name as you may see it, menu choices, the answers to kitchen and run sheet questions per guest (past the party flagged), staff's note, whether money is owing, and check-ins (null until check-in exists); with the session's totals: seats, the kitchen's counts by course and choice (as get_kitchen_counts), allergen and dietary plates, guests' notes, seats nobody chose a dish for
Search
searchFind bookings, customers, experiences, and sessions for the command palette
Seating
assign_tablesPut a session's guests at its tables automatically:
fill(the default) seats everyone not at a table in the free seats and leaves everyone seated where they are;resetseats everyone not placed by staff again from scratch, around the guests staff placedget_kitchen_sheetGet one session's kitchen sheet laid out by table, as the kitchen sheet email has it: the grand totals per dish (as get_kitchen_counts), then each table in order with each seat's guest by booking code and guest number, their dish for every course (or none yet), their allergies and dietary answers, and the table's plates per dish; then the guests not at a table
get_seatingGet who sits where at a session's tables: each table in order with every seat and who's in it (guest number, name as the run sheet shows it, booking code, party size, menu choices, allergies and other answers, checked in, placed automatically or by staff), the guests not at a table and why, and seats free
move_guestsMove guests to another table at a session: one guest, some of a party (
positions), or a whole booking's party, each move to a table by its name and optionally to given seats (else the lowest free; a guest already at that table keeps their seat)undo_assign_tablesUndo an assign_tables call by its assignmentId: everyone it seated or moved goes back where they were
undo_move_guestsUndo a move_guests call by its moveId: everyone it moved goes back where they were (unassigned again if they were)
Session actions
cancel_sessionCancel a session: it comes off sale and frees its resources
message_sessionEmail everyone booked on a session: one email to each confirmed booking's organizer, with your subject and text quoted as you wrote them (plain text) beside the booking's details and manage link
move_sessionMove a session to a new local date and start time (and optionally length) at the same location and product
Sessions
create_blockBlock time at a location: a closure (the whole location), one resource, or one product
create_scheduleAdd a schedule for a product at a location: weekly start times (ISO weekdays, 1 is Monday) and/or one-off dates, from startsOn to an optional endsOn
create_sessionCreate one session of a product at a location outside any schedule: a one-off date, or one only staff can book (settings { "visibility": "staff" })
delete_blockRemove a block or closure, so its time is free again: the sessions it took off sale go back on sale (the preview names them)
generate_sessionsCreate the sessions of one schedule, or of every running schedule, as far ahead as bookings open
get_sessionGet one session's staff view, as in list_sessions, with its current per-person ticket prices for a party of one and whether each is the session's own price
list_blocksList blocks and closures (time when a location is closed, a resource is unavailable, or a product isn't offered) that end after
from, optionally at one locationlist_schedulesList schedules (the weekly or one-off start times that generate sessions), optionally for one product or location, with their times in words ("Thursday to Sunday at 19:00") and as data, and their own prices (set_schedule_price) for those who can read prices
list_sessionsList sessions over a range of local dates (each location's own dates), soonest first: their times, status, schedule, capacity, seats held and booked, guests checked in, and settings set on the session
update_blockChange a block's or closure's times (local; a date
toincludes that whole day) or noteupdate_scheduleChange a schedule's name, end date, or times (times replace all of them)
Settings
get_settingsGet the settings in effect at one level, with where each value comes from (the default, or the level that set it) and whether it can be set there
set_session_capacitySet how many seats one session has, such as fewer for a table out of service or more for an extra one, or null to remove the session's own number so it follows its product's capacity again
update_settingsChange settings at one level (see get_settings for the keys, values, and where each can be set)
Settings search
search_settingsFind settings by everyday words ("how long are seats held at checkout", "refund limit", "privacy page"): the best matches, each with its value in effect at the level asked and where it comes from (the default, or the level that set it), as get_settings gives them
Setup
create_entityCreate a legal entity: a business with its own currency, tax registrations, tax rates, fees, and (later) Stripe account
create_feeAdd a fee an entity charges on every order, such as a service charge: a rate of the discounted subtotal (ratePpm, 3% is 30000) or a fixed amount per order in minor units
create_locationCreate a location (a venue)
create_resourceCreate a resource at a location: a space (a room), equipment, or a staff role
create_tax_classCreate a tax class (e.g. alcohol) for the whole organization
get_setupGet how the business is set up: its legal entities (currency, tax registrations, tax rates, fees such as a service charge), locations (time zone, address, any tax rates of their own), resources at each location (rooms, equipment, staff roles), and tax classes
remove_tax_rateStop charging one tax rate
remove_tax_registrationRemove one of an entity's tax registrations, e.g. after deregistering
set_product_feeReplace an entity fee for one product with its own rate or amount, waive it (0, e.g. no service charge on gift certificates), or go back to the entity's fee (null)
set_tax_rateSet one tax's rate for a tax class, for a whole entity (entityId) or at one location (locationId)
set_tax_registrationRecord that an entity is registered to collect a tax in a jurisdiction, with its registration number (e.g
update_entityRename an entity, or change its legal name or address
update_feeChange a fee: its name, its charge (ratePpm or amount; giving one replaces the other), its tax class (null for untaxed), whether staff refunds give it back, whether it's active, or its order on receipts
update_locationRename a location, or change its slug, time zone, or address
update_resourceRename a resource or change its kind or buffers (setup and reset minutes)
Split payment
charge_unpaid_sharesCharge the organizer's saved card now for a split booking's unpaid shares, as the deadline would: guests' payments still open are canceled first (one paid meanwhile counts), then the card is charged once for what's left, never more than the organizer agreed to
extend_split_deadlineGive a split booking's guests longer to pay their shares: a new deadline, later than the current one and before the session
release_unpaid_seatsPut a split booking's unpaid seats back on sale now (or the ones named), through the same seat removal as change_booking_seats: the seats that stay keep their price, a service charge already paid stays, and nothing is refunded by itself
Stored value
redeem_stored_valueTake a gift certificate or a credit as payment on a confirmed booking with a balance due, at the desk or on the phone: its code (a gift certificate's is 12 characters, a credit's 10) and an optional
amountin minor units (left out: as much as is owed, up to what's left on it)
Suppressions
lift_suppressionLift a spam-complaint suppression, so Lokl emails that address for this organization again, from then on: messages skipped while it held aren't sent
list_suppressionsList the email addresses Lokl won't send to for this organization, newest first: addresses that bounced for good (the address doesn't exist, so it holds for every organization on Lokl; shown here when one of your messages was to it) and addresses whose guest marked one of your messages as spam (only yours, and it can be lifted with lift_suppression)
Tips
get_tip_qrGet the tip QR code for a product at a location: its page address, SVG, and whether tips by QR are enabled there
get_tip_reportGet paid tips per session, with the members who checked guests in; tips without a session count per location, product and local paid date
list_tipsList tips, newest first, by local dates, location, product, session, booking or state
refund_tipRefund part or all of a tip to the card it was paid with, for a recorded reason