libcal_suggest
Find and rank available library study spaces, prioritizing same-day slots when no exact date is given. Get top options to compare before booking.
Instructions
Find ranked booking options with same-day priority. Use BEFORE booking when the user has not given an exact date+time. BOOKING WORKFLOW (required):
For open-ended requests ("book a room", "max hours", "soonest available") → call libcal_suggest FIRST.
Present numbered options to the user. Explain the recommended option (usually same-day if available).
Only call libcal_book after the user picks an option (or gives explicit date+time).
Never auto-book a far-future date when sooner options exist. Categories: davis-cubes, davis-study-rooms, davis-computers
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Space category id (default: davis-cubes) | |
| max_options | No | How many options to return (default 5) | |
| preferred_date | No | User's preferred date YYYY-MM-DD (optional, boosts ranking) | |
| prefer_same_day | No | Prioritize today if slots exist (default true) | |
| duration_minutes | No | Desired length in minutes (default 60; use 180 for max/LibCal limit) | |
| preferred_start_time | No | User's preferred start HH:MM (optional, boosts ranking) |