| [ |
| { |
| "name": "end_session", |
| "description": "End the current session.", |
| "parameters": { |
| "type": "object", |
| "properties": {}, |
| "required": [] |
| } |
| }, |
| { |
| "name": "search_venues", |
| "description": "Search available venues for a given date, guest count, and optional budget.", |
| "parameters": { |
| "type": "object", |
| "properties": { |
| "date": { |
| "type": "string", |
| "description": "The event date to check availability for (e.g., '2025-03-08')." |
| }, |
| "guest_count": { |
| "type": "integer", |
| "description": "The expected number of guests." |
| }, |
| "budget": { |
| "type": "number", |
| "description": "Optional maximum budget for the venue rental fee." |
| } |
| }, |
| "required": [ |
| "date", |
| "guest_count" |
| ] |
| } |
| }, |
| { |
| "name": "check_catering_options", |
| "description": "Check available catering packages and pricing for a venue and guest count.", |
| "parameters": { |
| "type": "object", |
| "properties": { |
| "venue_id": { |
| "type": "string", |
| "description": "The venue identifier (e.g., 'garden_pavilion')." |
| }, |
| "guest_count": { |
| "type": "integer", |
| "description": "The number of guests to quote catering for." |
| } |
| }, |
| "required": [ |
| "venue_id", |
| "guest_count" |
| ] |
| } |
| }, |
| { |
| "name": "book_event", |
| "description": "Book an event. All required fields must be collected before calling.", |
| "parameters": { |
| "type": "object", |
| "properties": { |
| "name": { |
| "type": "string", |
| "description": "The name of the person booking the event." |
| }, |
| "phone": { |
| "type": "string", |
| "description": "Contact phone number." |
| }, |
| "date": { |
| "type": "string", |
| "description": "The event date (e.g., '2025-03-08')." |
| }, |
| "venue_id": { |
| "type": "string", |
| "description": "The venue identifier (e.g., 'garden_pavilion')." |
| }, |
| "guest_count": { |
| "type": "integer", |
| "description": "The expected number of guests." |
| }, |
| "catering_package": { |
| "type": "string", |
| "description": "The catering package tier (e.g., 'silver', 'gold', 'platinum')." |
| }, |
| "add_ons": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| }, |
| "description": "List of add-on services (e.g., ['dj', 'photographer'])." |
| } |
| }, |
| "required": [ |
| "name", |
| "phone", |
| "date", |
| "venue_id", |
| "guest_count", |
| "catering_package", |
| "add_ons" |
| ] |
| } |
| }, |
| { |
| "name": "update_event", |
| "description": "Update a field on an existing event booking.", |
| "parameters": { |
| "type": "object", |
| "properties": { |
| "event_id": { |
| "type": "string", |
| "description": "The exact event booking ID returned earlier. Do not use placeholders like 'current' or 'latest'." |
| }, |
| "field": { |
| "type": "string", |
| "description": "The field to update (e.g., 'venue_id', 'guest_count', 'catering_package')." |
| }, |
| "new_value": { |
| "type": "string", |
| "description": "The new value for the field." |
| } |
| }, |
| "required": [ |
| "event_id", |
| "field", |
| "new_value" |
| ] |
| } |
| }, |
| { |
| "name": "get_quote", |
| "description": "Get an itemized price quote for an event configuration.", |
| "parameters": { |
| "type": "object", |
| "properties": { |
| "venue_id": { |
| "type": "string", |
| "description": "The venue identifier (e.g., 'garden_pavilion')." |
| }, |
| "guest_count": { |
| "type": "integer", |
| "description": "The expected number of guests." |
| }, |
| "catering_package": { |
| "type": "string", |
| "description": "The catering package tier (e.g., 'silver', 'gold', 'platinum')." |
| }, |
| "add_ons": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| }, |
| "description": "List of add-on services (e.g., ['dj', 'photographer'])." |
| } |
| }, |
| "required": [ |
| "venue_id", |
| "guest_count", |
| "catering_package", |
| "add_ons" |
| ] |
| } |
| } |
| ] |