Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mcp_servers/google_calendar/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ async def find_free_slots(
body = {
"timeMin": time_min_dt.isoformat(),
"timeMax": time_max_dt.isoformat(),
"timeZone": timezone,
"items": [{"id": item} for item in items],
}

Expand Down Expand Up @@ -947,7 +948,7 @@ async def list_tools() -> list[types.Tool]:
),
types.Tool(
name="google_calendar_find_free_slots",
description="Find both free and busy time slots in Google Calendars for specified calendars within a defined time range (defaults to the current day UTC if time_min/time_max are omitted). Returns busy intervals and calculated free slots by finding gaps between busy periods; time_min must precede time_max if both are provided. This action retrieves free and busy time slots for the specified calendars over a given time period. It analyzes the busy intervals from the calendars and provides calculated free slots based on the gaps in the busy periods.",
description="Find both free and busy time slots in Google Calendars for specified calendars within a defined time range (defaults to the current day UTC if time_min/time_max are omitted). Returns busy intervals and calculated free slots by finding gaps between busy periods; time_min must precede time_max if both are provided. This action retrieves free and busy time slots for the specified calendars over a given time period. It analyzes the busy intervals from the calendars and provides calculated free slots based on the gaps in the busy periods. All returned times include timezone information and are formatted in the requested timezone for easy interpretation and scheduling.",
inputSchema={
"type": "object",
"properties": {
Expand Down