build_options_page
Builds an interactive HTML trip options page where agents select lodging, transfers, experiences, day trips, and dining with clients, then generate a priced, branded quote ready for print-to-PDF.
Instructions
Builds a self-contained interactive HTML options page for a trip: lodging (single-select), airport/hotel transfers, profile-matched experiences, requested day trips, and dining. The agent selects options with the client and clicks 'Generate quote' in the page to produce the final priced, branded quote (print-to-PDF friendly). Lodging comes from Google Places (rate on request); priced options come from Viator. Writes the file to disk and returns its path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | Yes | ||
| profile | Yes | ||
| branding | No | ||
| children | No | ||
| dayTrips | No | Day trip targets, e.g. ['Santo Domingo', 'Saona Island'] | |
| maxStays | No | ||
| dateLabel | No | Free-text dates, e.g. 'Mar 14-21, 2026' or 'Flexible dates' | |
| maxDining | No | ||
| outputPath | No | Where to write the HTML file. Defaults to proposals/<slug>.html | |
| clientLabel | No | Client-facing label, e.g. 'The Harrisons' | |
| destination | Yes | Resort area or city, e.g. 'Punta Cana, Dominican Republic' | |
| includeStays | No | ||
| includeDining | No | ||
| maxActivities | No | ||
| includeTransfers | No | Include airport/hotel shuttle options | |
| maxDayTripsPerTarget | No |