JustFlows

Bookings · AI

AI agent tools

The bookings_* tools AI agents and the admin assistant can use, and the capability each one needs.

61 Bookings routes are offered to MCP clients and the admin assistant as bookings_* tools. A tool runs its route with the agent’s own session, so capability checks, field visibility, and the audit trail still apply, and it is listed only to sessions that hold its capability. See Bring your own AI to connect an agent.

ToolRouteWhat it doesCapability
bookings_list · readGET /bookingsList bookings in a date range, optionally for one staff member, status, or search text (number, name, email).bookings:read
bookings_createPOST /bookingsA phone or walk-in booking made by staff. It follows the service's rules unless force is sent. A paid service waits for payment unless it is confirmed as settled by hand, which needs bookings:payments.bookings:create
bookings_get · readGET /bookings/{id}One booking with its answers, audit history, email outbox, service rules, and what the session may do with it. Sensitive answers need bookings:intake-sensitive.bookings:read
bookings_transitionPOST /bookings/{id}/transitionConfirm, cancel, check in, complete, mark no-show, restore, or send back to payment. Cancelling and restoring need bookings:cancel. Approving a booking whose service is paid sends it to payment unless paid is sent.bookings:update
bookings_reschedulePOST /bookings/{id}/rescheduleMoves a booking to another start, another team member, or both. Payment and credits stay with the booking.bookings:update
bookings_series_createPOST /seriesBooks the same time every 1–12 days or weeks, 2–52 times. Each date is booked on its own; dates that are taken or have no credit left are reported and skipped. Sending the same key again continues the series instead of booking it twice.bookings:create
bookings_series_get · readGET /series/{id}A recurring series with each of its bookings.bookings:read
bookings_series_cancelPOST /series/{id}/cancelCancels the series' live bookings from a moment on (now by default).bookings:cancel
bookings_services_list · readGET /servicesList bookable services with duration, price, policy, and eligible staff.bookings:read
bookings_service_savePOST /servicesCreate a bookable service. Pass id to update one; pass confirm: true to archive a service that has upcoming bookings.bookings:manage
bookings_service_get · readGET /services/{id}Read one bookable service.bookings:read
bookings_staff_list · readGET /staffList staff profiles that can be booked.bookings:read
bookings_staff_savePOST /staffCreate or update a staff profile. Pass confirm: true to archive one that has upcoming bookings.bookings:manage
bookings_locations_list · readGET /locationsList booking locations with their time zones.bookings:read
bookings_location_savePOST /locationsCreate or update a booking location.bookings:manage
bookings_schedules_get · readGET /schedules/{ownerKind}/{ownerId}Weekly hours, date overrides, and busy periods of a team member, location, or resource.bookings:read
bookings_schedules_replacePUT /schedules/{ownerKind}/{ownerId}/{kind}Replaces one kind of schedule row (weekly, date, or busy) for a team member, location, or resource.bookings:manage
bookings_maintenance_list · readGET /resources/{id}/maintenanceA resource's maintenance blocks that have not ended.bookings:read
bookings_maintenance_addPOST /resources/{id}/maintenanceWhen bookings or class sessions already use the resource then, the first call answers 409 affected with the list. Send it again with resolve and the ids you were shown in acknowledged.bookings:manage
bookings_service_intake_get · readGET /services/{id}/intakeThe current version of the service's intake questions.bookings:read
bookings_service_intake_savePUT /services/{id}/intakeSaves a new version of the intake questions. Bookings keep the version they answered.bookings:manage
bookings_classes_list · readGET /classesList classes, courses, and workshops with their rule, capacity, and status.bookings:read
bookings_class_savePOST /classesA single session, a recurring class, or a course. The sessions are made from its rule.bookings:manage
bookings_class_get · readGET /classes/{id}A class with its sessions.bookings:read
bookings_class_updatePUT /classes/{id}Changes that would move or remove booked sessions are answered with the conflicts first; send resolve: true to apply them.bookings:manage
bookings_class_enrolPOST /classes/{id}/enrolmentsStaff enrol a participant in every session still to come, or none. A paid course needs bookings:payments unless credits pay.bookings:create
bookings_class_session_updatePUT /class-sessions/{id}Change instructor, room, time, or places for this session, this and later ones, or all of them (scope). People booked are told.bookings:manage
bookings_class_session_cancelPOST /class-sessions/{id}/cancelCancels one session; its places are cancelled without penalty.bookings:cancel
bookings_class_sessions_list · readGET /class-sessionsSessions with places booked and left, for the calendar. Accounts with only their own calendar see the sessions they teach.bookings:read
bookings_class_roster · readGET /class-sessions/{id}/rosterWho is booked, with attendance and any participant who no longer meets the class's rules.bookings:read
bookings_class_attendancePUT /class-sessions/{id}/attendanceSets checked in, attended, late, absent, excused, or no-show per place. Excused gives a make-up lesson when the policy allows.bookings:update
bookings_messages_list · readGET /messagesSent and waiting messages with their counts.bookings:read
bookings_message_sendPOST /messagesEach account that may get messages for a participant gets one email naming only its own participants. Messages written in quiet hours wait until morning.bookings:manage
bookings_terms_list · readGET /termsList school terms with enrolment dates, holidays, and priority days for returning students.bookings:read
bookings_term_savePOST /termsName, first and last date, and optionally enrolment open and close dates, priority days for last term's students, and holidays.bookings:manage
bookings_levels_list · readGET /levelsList levels by discipline, lowest first.bookings:read
bookings_level_savePOST /levelsA level in a discipline, ordered by rank.bookings:manage
bookings_participant_levels · readGET /participants/{id}/levelsThe current level per discipline, with its history.bookings:read
bookings_participant_level_setPOST /participants/{id}/levelsSets a level with a reason, kept in the history.bookings:update
bookings_enrolment_request_decidePOST /enrolment-requests/{id}/decideApproving enrols the participant, with the usual capacity checks; declining gives a reason.bookings:create
bookings_assessments_list · readGET /participants/{id}/assessmentsA participant's assessments and level recommendations (needs bookings:assessments).bookings:assessments
bookings_assessment_addPOST /participants/{id}/assessmentsNotes, the level assessed, and a recommendation. A move to another level waits for a decision.bookings:assessments
bookings_assessment_decidePOST /assessments/{id}/decideApproving sets the participant's level; it can be decided once.bookings:assessments
bookings_class_place_manyPOST /classes/{id}/placementsEnrols each participant on their own. Whoever does not fit is reported with the reason; repeating it enrols no one twice.bookings:create
bookings_productions_list · readGET /productionsList productions: shows, recitals, exams, competitions.bookings:read
bookings_production_get · readGET /productions/{id}Its events with sessions and confirmations, the cast, and clashes with other classes.bookings:read
bookings_participants_list · readGET /participantsContact details need bookings:customers; dates of birth, notes, and emergency contacts need bookings:participants-sensitive.bookings:read
bookings_participant_get · readGET /participants/{id}A participant with the accounts that act for them, their consents, and their bookings. Consent history needs bookings:participants-sensitive.bookings:read
bookings_coach_notes_list · readGET /participants/{id}/coach-notesStaff only. Instructors with only their own calendar see notes for people they teach.bookings:read
bookings_coach_note_addPOST /participants/{id}/coach-notesA note, optionally tied to a class session.bookings:read
bookings_check_in_lookupPOST /check-in/lookupFinds a member by today's code (or their fixed number with member cards on), with today's bookings and anything to flag: unpaid, unapproved, or not allowed.bookings:update
bookings_strikes_list · readGET /strikesList late-cancellation and no-show strikes, active or all.bookings:read
bookings_credit_plans_list · readGET /credit-plansWhich commerce products grant credits, and how.bookings:read
bookings_credit_plan_savePUT /credit-plans/{productRef}What a product grants: credits per purchase or period, how long they last, which services they pay for, limits, early access, guest passes, and weekly repeats. provider names the commerce plugin that owns the plan; only it can grant from the plan. Left out, an existing plan keeps its owner and a new one takes the only commerce plugin, when there is exactly one. A provider that is not installed and active is refused with 422.bookings:manage
bookings_credits_list · readGET /creditsList customers' credit balances (memberships, packages, manual grants), filtered by email or status.bookings:read
bookings_credits_grantPOST /creditsStaff give a customer credits from a plan. The customer gets an email; the reason stays internal.bookings:manage
bookings_credits_get · readGET /credits/{id}One customer's grants with their audited history.bookings:read
bookings_credits_adjustPOST /credits/grants/{id}/adjustAdd or remove credits on one grant with a reason: { delta, reason, key }. Never below what is reserved and used.bookings:manage
bookings_calendars_get · readGET /calendars/owner/{ownerKind}/{ownerId}A team member's, location's, or resource's linked calendars with their health, and a team member's subscription address state.bookings:read
bookings_reports_get · readGET /reportsBookings by status, rates, utilisation, demand, booking lead time, waiting list, credits, payment states, and facilities, for up to 366 days in the site's time zone. Amounts appear only as the commerce plugin's own figures, for sessions it lets see them.bookings:reports
bookings_demo_loadPOST /demoFills Bookings with a demo business. One demo at a time.bookings:manage