query_freebusy
Check free/busy availability across Google calendars for a time interval to identify open slots and avoid scheduling conflicts.
Instructions
Returns free/busy information for a set of calendars.
Args:
user_google_email (str): The user's Google email address. Required.
time_min (str): The start of the interval for the query in RFC3339 format (e.g., '2024-05-12T10:00:00Z' or '2024-05-12').
time_max (str): The end of the interval for the query in RFC3339 format (e.g., '2024-05-12T18:00:00Z' or '2024-05-12').
calendar_ids (Optional[List[str]]): List of calendar identifiers to query. If not provided, queries the primary calendar. Use 'primary' for the user's primary calendar or specific calendar IDs obtained from list_calendars.
group_expansion_max (Optional[int]): Maximum number of calendar identifiers to be provided for a single group. Optional. An error is returned for a group with more members than this value. Maximum value is 100.
calendar_expansion_max (Optional[int]): Maximum number of calendars for which FreeBusy information is to be provided. Optional. Maximum value is 50.
Returns: str: A formatted response showing free/busy information for each requested calendar, including busy time periods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time_max | Yes | ||
| time_min | Yes | ||
| calendar_ids | No | ||
| user_google_email | Yes | ||
| group_expansion_max | No | ||
| calendar_expansion_max | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |