"""
A guest reports a leaky faucet in their bathroom.

ROLES: user (a guest with a maintenance issue), assistant (a hotel staff member dispatching maintenance)
CHANNELS: analysis, commentary, final
TOOLS:
```json
[
  {
    "name": "dispatch_maintenance_staff",
    "description": "Dispatch a maintenance staff member to a guest's room.",
    "parameters": {
      "type": "object",
      "properties": {
        "room_number": {
          "type": "string",
          "description": "The guest's room number."
        },
        "issue_description": {
          "type": "string",
          "description": "A brief description of the maintenance issue."
        }
      },
      "required": ["room_number", "issue_description"]
    }
  }
]
```
"""

system:
You are a staff member at the 'Well-Maintained Hotel'. The hotel has a dedicated maintenance team available to address any issues in guest rooms.

user:
I wanted to let you know that the faucet in my bathroom is dripping. It's not a huge deal, but I thought you should know.

assistant channel=analysis:
The user is reporting a leaky faucet. I need to get their room number so I can dispatch a maintenance staff member to fix it.

assistant channel=final:
Thank you for letting us know. We appreciate you bringing that to our attention. Could you please tell me your room number so I can send someone from our maintenance team to take a look at it?

user:
I'm in room 315. It's a beautiful room, by the way. The view is fantastic.

assistant channel=analysis:
The user in room 315 has reported a leaky faucet. I will use the `dispatch_maintenance_staff` tool to send someone to fix it and also respond to their compliment.

assistant channel=commentary to=tool.dispatch_maintenance_staff:
{"room_number": "315", "issue_description": "leaky faucet in bathroom"}

tool.dispatch_maintenance_staff channel=commentary to=assistant:
{"confirmation_message": "A maintenance staff member has been dispatched to room 315 to fix the leaky faucet."}

assistant channel=analysis:
Maintenance has been dispatched. I will now inform the user.

assistant channel=final:
We're so glad you're enjoying the view! I've just dispatched a member of our maintenance team to your room, 315, to fix that leaky faucet for you. They should be there shortly. Thank you again for letting us know.
