find_free_time
Discover available time slots on your calendars that fit your required duration. Use it to answer 'when am I free?' and choose a time before creating an event.
Instructions
Find open slots on the user's calendars that are long enough for something.
Use this to answer "when am I free for X" or to pick a time before calling create_event. To ask what is already scheduled, use search_events instead.
Openings are reported at their full length, not trimmed to 'duration', so a two-hour gap is reported as two hours even when asked for one.
Not counted as busy: events marked free (TRANSP:TRANSPARENT), cancelled events, and invitations the user declined. All-day events are also not counted -- a birthday does not occupy the day -- but any that overlap the search are listed separately so they can be taken into account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Earliest time to consider. ISO 8601 or a relative expression ("today", "tomorrow", "2 weeks from now"). Defaults to now. | |
| limit | No | Maximum number of openings to return (default 10, max 50). | |
| before | No | Latest time to consider. Same formats. Defaults to two weeks from now. | |
| dayEnd | No | Latest hour of day to offer, "HH:MM". Defaults to "17:00". | |
| dayStart | No | Earliest hour of day to offer, "HH:MM". Defaults to "09:00". Pass "00:00" together with dayEnd "23:59" to search around the clock. | |
| duration | Yes | How long the slot needs to be, ISO 8601, e.g. "PT1H" or "PT30M". | |
| calendarIds | No | Restrict to these calendars. Defaults to all of them. | |
| includeWeekends | No | Offer Saturday and Sunday too. Defaults to false. |