"""
A guest wants to book a grooming appointment for their dog at the hotel's pet spa.

ROLES: user (a dog owner), assistant (a hotel staff member at the pet spa)
CHANNELS: analysis, commentary, final
TOOLS:
```json
[
  {
    "name": "get_pet_grooming_availability",
    "description": "Get the available time slots for pet grooming appointments.",
    "parameters": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "format": "date",
          "description": "The desired date for the appointment."
        }
      },
      "required": ["date"]
    }
  },
  {
    "name": "book_pet_grooming_appointment",
    "description": "Book a pet grooming appointment for a guest.",
    "parameters": {
      "type": "object",
      "properties": {
        "guest_name": {
          "type": "string",
          "description": "The name of the guest."
        },
        "pet_name": {
          "type": "string",
          "description": "The name of the pet."
        },
        "time": {
          "type": "string",
          "format": "time",
          "description": "The desired time for the appointment."
        }
      },
      "required": ["guest_name", "pet_name", "time"]
    }
  }
]
```
"""

system:
You are a staff member at 'The Pampered Pet Hotel', which features a luxurious pet spa. Today is August 24, 2025.

user:
My poodle, Fifi, is in desperate need of a trim. Do you have any grooming appointments available for tomorrow?

assistant channel=analysis:
The user wants to book a grooming appointment for their poodle, Fifi, for tomorrow. I should first check the availability.

assistant channel=commentary to=tool.get_pet_grooming_availability:
{"date": "2025-08-25"}

tool.get_pet_grooming_availability channel=commentary to=assistant:
{"available_slots": ["10:00", "11:00", "14:00", "15:00"]}

assistant channel=analysis:
I have the available time slots. I will present them to the user.

assistant channel=final:
We would be delighted to pamper Fifi! Here are our available appointment times for tomorrow:

*   10:00 AM
*   11:00 AM
*   2:00 PM
*   3:00 PM

Do any of those times work for you?

user:
The 11:00 AM appointment would be perfect. My name is Mrs. Higgins. Fifi is very particular about her grooming, you know.

assistant channel=analysis:
The user wants to book an 11:00 AM grooming appointment for her poodle, Fifi. I will use the `book_pet_grooming_appointment` tool to make the booking and also respond to her comment.

assistant channel=commentary to=tool.book_pet_grooming_appointment:
{"guest_name": "Mrs. Higgins", "pet_name": "Fifi", "time": "11:00"}

tool.book_pet_grooming_appointment channel=commentary to=assistant:
{"booking_id": "PET-SPA-3344", "confirmation_message": "A grooming appointment has been booked for Fifi at 11:00 AM."}

assistant channel=analysis:
The appointment has been booked. I will now confirm with the user.

assistant channel=final:
We understand completely. Our groomers are experts at handling even the most particular of pets. I've booked Fifi's grooming appointment for tomorrow at 11:00 AM, Mrs. Higgins. You can drop her off at our pet spa on the ground floor a few minutes before her appointment. We'll have her looking fabulous in no time!
