book_lesson
ChatGPTBook a student into a lesson. payWith Auto (default) uses the eligible plan the quote recommends (an unlimited one first, then the one whose classes are lost first), else the drop-in price; Entitlement, DropIn or Free (staff only) force it; entitlementId names a plan; waitlistIfFull puts the student on the waiting list of a full lesson. Admin or Editor. Side effect: changes what a family owes or has paid. Ask the user to confirm the amount first.
cancel_lesson_booking
ChatGPTCancel a session booking. Inside the cancellation window (the plan's, else Business Rules) the class or credits come back and a drop-in is credited; after it the booking is late-cancelled and stays used unless returnSession is set with a reason. A freed seat goes to the waiting list. Admin or Editor. Side effect: changes existing records in the school's workspace and may not be undoable. Ask the user to confirm first.
complete_task
ChatGPTMark a task complete. Admin or Editor. Side effect: adds to the school's records.
create_family
ChatGPTCreate a new billing account (family or household). Admin or Editor. Side effect: adds to the school's records.
create_family_contact
ChatGPTAdd a contact (parent or guardian) to a billing account. Admin or Editor. Side effect: adds to the school's records.
create_task
ChatGPTCreate a task. Admin or Editor. Side effect: adds to the school's records.
end_enrollment
ChatGPTEnd one enrollment (Dar de baja de esta Clase). When it is the student's last class seat, plan or booking, send drop, else 409 student_lastLiveItem. Admin or Editor. Side effect: changes existing records in the school's workspace and may not be undoable. Ask the user to confirm first.
enroll_student
ChatGPTEnroll a student into a class or course, applying pricing and creating any charge. Admin or Editor. Side effect: changes what a family owes or has paid. Ask the user to confirm the amount first.
get_activity_attendance
ChatGPTGet the attendance sheet for one activity (class session, event, or private lesson), listing each expected student and their status. Requires role: Admin, Editor, Instructor or Viewer.
get_calendar
ChatGPTReturn the unified schedule (classes, events, lessons, and bookings) for a date range. Admin, Editor, or Viewer.
get_class
ChatGPTGet a single class by id, including its schedules and roster summary. Requires role: Admin, Editor or Viewer.
get_classes_board
ChatGPTReturn the classes board: a grouped, at-a-glance view of classes and their fill levels. Requires role: Admin, Editor, Instructor or Viewer.
get_debt_report
ChatGPTReturn the debt report: outstanding balances per account and location, flagged for churn risk. Requires role: Admin or Editor.
get_family
ChatGPTGet a single billing account by id, including its balance and profile. Requires role: AccountContact, Admin, Editor or Viewer.
get_family_ledger
ChatGPTReturn the account's full billing ledger (every invoice, payment, credit memo, and refund) in chronological order with a running balance. Requires role: Admin or Editor.
get_invoice
ChatGPTGet a single invoice by id, including its line items. Admin, Editor, or Viewer.
get_portal_setup_status
ChatGPTShow how far the school is in setting up its Portal, step by step (branding, locations, teachers, courses, offerings, booking rules, teacher availability, going live), each marked done or listing exactly what is still missing. Requires role: Admin, Editor or Viewer.
get_student
ChatGPTGet a single student by id. Requires role: AccountContact, Admin, Editor, Instructor or Viewer.
get_teacher_contact
ChatGPTA teacher's email and phone. Only when the user asks how to contact them. Requires role: Admin, Editor or Viewer.
list_activities_for_day
ChatGPTList every lesson and event on one date (today by default) with roster size, present / late / absent / excused counts and how much of the day's roll call is done; instructors see only what they teach. Requires role: Admin, Editor, Instructor or Viewer.
list_classes
ChatGPTList group classes with their schedules and enrollment counts. Requires role: Admin, Editor or Viewer.
list_families
ChatGPTList families (billing accounts) with their balance and status. Requires role: AccountContact, Admin, Editor or Viewer.
list_family_contacts
ChatGPTA family's people with email and phone. Only when the user asks how to contact them. Requires role: AccountContact, Admin, Editor or Viewer.
list_student_enrollments
ChatGPTList a student's current and past enrollments with each class's teachers and weekly schedule. Staff, an instructor for classes they teach, or the student's own family portal contact. Requires role: AccountContact, Admin, Editor, Instructor or Viewer.
list_students
ChatGPTList active students with their profile and status. Requires role: AccountContact, Admin, Editor, Instructor or Viewer.
list_tasks
ChatGPTList tasks in the staff inbox. Admin, Editor, or Viewer.
list_teachers
ChatGPTList instructors with their profile and status. Admin, Editor, or Viewer.
move_student_to_class
ChatGPTMove an active enrollment to another class (Mover a otra Clase): ends it here, starts it there, billing carries on and the student stays active. Admin or Editor. Side effect: changes existing records in the school's workspace and may not be undoable. Ask the user to confirm first.
search_families
ChatGPTSearch billing accounts by name or contact for quick lookup. Admin, Editor, or Viewer.
search_help
ChatGPTAnswer how-to questions from the alinaflow help center. Use this first whenever someone asks how to do something in alinaflow, how a feature works, what a term means, how to set something up, or how to resolve or fix a problem, for example 'how do I resolve a teacher or room scheduling conflict', 'how do makeup credits work', 'how do I charge a registration fee', 'what counts as a family'. Returns up to 2 short help sections with instructions and steps, each with the link to its article. It explains the product; it does not read or change a school's records.
search_students
ChatGPTSearch students by name or contact for quick lookup. Admin, Editor, or Viewer.
update_student
ChatGPTUpdate a student's profile. Sending accountId moves the student to that family through the same rules as POST /accounts/{id}/students (their contact and own discounts go with them); an empty id is refused, a student always has a family. Admin or Editor. Side effect: changes existing records in the school's workspace and may not be undoable. Ask the user to confirm first.