# Worked examples

These examples use an invented dinner experience, Lantern Table in Toronto, with 56 seats, Thursday to Sunday seatings and three main-course choices. Names and details are made up.

## Tonight's run sheet

**Ask:** “Who's coming tonight and what are they eating at Lantern Table?”

A good answer uses [get_run_sheet](/docs/tools/run-sheet#get_run_sheet) for the parties and [get_kitchen_counts](/docs/tools/menus#get_kitchen_counts) for totals by food choice. It identifies the venue's date and sessions before answering.

## Seats left on Saturday

**Ask:** “How many covers Saturday at Lantern Table?”

[list_sessions](/docs/tools/sessions#list_sessions) gives the seats booked and left for each session. The answer separates the seatings instead of combining their availability.

## Who has allergies

**Ask:** “Who has allergies tonight at Lantern Table?”

[get_run_sheet](/docs/tools/run-sheet#get_run_sheet) and [get_kitchen_counts](/docs/tools/menus#get_kitchen_counts) show the recorded answers and kitchen totals. What names the answer includes depends on your role.

## Kitchen counts

**Ask:** “How many of each main do we need for Saturday's seating at Lantern Table?”

[get_kitchen_counts](/docs/tools/menus#get_kitchen_counts) totals the choices for that seating. The assistant asks which seating if more than one matches.

## Move a session

**Ask:** “Move Lantern Table's Friday 7pm session to Saturday 6pm and offer 15% credit.”

[list_sessions](/docs/tools/sessions#list_sessions) finds the session, then [move_session](/docs/tools/session-actions#move_session) previews the move. Read the impact before confirming. [apply_changeset](/docs/tools/changesets#apply_changeset) applies the approved move. [issue_credit](/docs/tools/credits#issue_credit) prepares the credit for each booking; those previews also need your approval before apply.

## Change a price

**Ask:** “Make Thursdays CAD 20 cheaper at Lantern Table.”

[list_price_rules](/docs/tools/pricing#list_price_rules) checks the existing rules. [create_price_rule](/docs/tools/pricing#create_price_rule) previews a new rule for the intended dates and ticket types. The assistant asks for missing details and shows the impact. Only after your confirmation does [apply_changeset](/docs/tools/changesets#apply_changeset) apply the change.

## Undo the last change

**Ask:** “Undo that last change.”

[list_activity](/docs/tools/activity#list_activity) identifies the change. The assistant confirms which change you mean, then uses [undo_changeset](/docs/tools/changesets#undo_changeset) if it supports undo and is still within its 15-minute window.
