From afec73467bcc58116d6e2938611d66afb53c394f Mon Sep 17 00:00:00 2001 From: Sri Date: Mon, 28 Apr 2025 22:33:43 -0700 Subject: [PATCH 1/2] updated google calendar docs with more fields --- fern/tools/google-calendar.mdx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fern/tools/google-calendar.mdx b/fern/tools/google-calendar.mdx index 9fe23379a..89019a032 100644 --- a/fern/tools/google-calendar.mdx +++ b/fern/tools/google-calendar.mdx @@ -89,7 +89,9 @@ This tool uses the following fields to create events: - `summary`: The title or description of the calendar event - `startDateTime`: The start date and time of the event - `endDateTime`: The end date and time of the event -- `timeZone`: The timezone for the event +- `attendees`: A list of email addresses for people to invite to the event +- `timeZone`: The timezone for the event, defaults to UTC +- `calendarId`: The calendar ID to create the event in, defaults to the primary calendar ### Google Calendar Check Availability Tool @@ -97,7 +99,8 @@ This tool uses the following fields to check availability: - `startDateTime`: The start of the time range to check - `endDateTime`: The end of the time range to check -- `timeZone`: The timezone for the availability check +- `timeZone`: The timezone for the availability check, defaults to UTC +- `calendarId`: The calendar ID to check availability in, defaults to the primary calendar All datetime fields should be provided in ISO 8601 format. From 6c05403710ac2f8d78e35b95d0a63db61a42c5c4 Mon Sep 17 00:00:00 2001 From: Sri Date: Mon, 28 Apr 2025 22:37:44 -0700 Subject: [PATCH 2/2] updated example --- fern/tools/google-calendar.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fern/tools/google-calendar.mdx b/fern/tools/google-calendar.mdx index 89019a032..e0806fe25 100644 --- a/fern/tools/google-calendar.mdx +++ b/fern/tools/google-calendar.mdx @@ -118,19 +118,19 @@ Here's how the tools can be used in your assistant's configuration: "messages": [ { "role": "system", - "content": "You are a scheduling assistant. When users want to schedule an appointment, first check their availability using the Check Availability tool, then use the Create Event tool to schedule the event if they're available.\n\n- Gather date and time range to check availability.\n- To book an appointment, gather the purpose of the appointment, ex: general checkup, dental cleaning and etc.\n\nNotes\n- Use the purpose as summary for booking appointment.\n- Current date: {{date}}\n- Current time: {{time}}" + "content": "You are a scheduling assistant. When users want to schedule an appointment, first check their availability using the Check Availability tool, then use the Create Event tool to schedule the event if they're available.\n\n- Gather date and time range to check availability.\n- To book an appointment, gather the purpose of the appointment, ex: general checkup, dental cleaning and etc.\n\nNotes\n- Use the purpose as summary for booking appointment.\n- Current date: {{now}}" } ], "tools": [ { "type": "google.calendar.availability.check", "name": "checkAvailability", - "description": "Use this tool to check calendar availability and use the America/Los_Angeles as default timezone." + "description": "Use this tool to check calendar availability." }, { "type": "google.calendar.event.create", "name": "scheduleAppointment", - "description": "Use this tool to schedule appointments and create calendar events. Notes: - Use America/Los_Angeles as default timezone - All appointments are 30 mins." + "description": "Use this tool to schedule appointments and create calendar events. Notes: - All appointments are 30 mins. \n- Current date/time: {{now}}" } ] }