find_free_slots
Queries busy periods across specified calendars and returns available time slots within a given window, so you can schedule meetings without conflicts.
Instructions
Query busy times for a list of calendars and return free slots within the window.
Args: calendar_ids: List of calendar IDs to check (use 'primary' for the user's primary calendar). time_min: Start of the window to check, RFC 3339 format, e.g. '2026-06-01T09:00:00Z'. time_max: End of the window to check, RFC 3339 format. timezone: IANA timezone name for the query (default 'UTC').
Returns: busy: dict mapping each calendar_id to its list of busy periods ({start, end} each in RFC 3339). A calendar the freebusy API couldn't read (bad id, no access, etc.) maps instead to a single-element list holding {calendar_id, calendar_summary, error} — the same per-calendar error shape list_all_events uses, rather than aborting the whole query. calendar_summary falls back to the id when the calendar isn't in the user's list. free_slots: list of free periods ({start, end}) across all calendars, computed as the complement of the union of all busy times.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"calendar_ids": "<calendar_ids>",
"time_min": "<time_min>",
"time_max": "<time_max>"
},
"name": "find_free_slots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time_max | Yes | ||
| time_min | Yes | ||
| timezone | No | UTC | |
| calendar_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||