You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/tools/google-calendar.mdx
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,15 +89,18 @@ This tool uses the following fields to create events:
89
89
-`summary`: The title or description of the calendar event
90
90
-`startDateTime`: The start date and time of the event
91
91
-`endDateTime`: The end date and time of the event
92
-
-`timeZone`: The timezone for the event
92
+
-`attendees`: A list of email addresses for people to invite to the event
93
+
-`timeZone`: The timezone for the event, defaults to UTC
94
+
-`calendarId`: The calendar ID to create the event in, defaults to the primary calendar
93
95
94
96
### Google Calendar Check Availability Tool
95
97
96
98
This tool uses the following fields to check availability:
97
99
98
100
-`startDateTime`: The start of the time range to check
99
101
-`endDateTime`: The end of the time range to check
100
-
-`timeZone`: The timezone for the availability check
102
+
-`timeZone`: The timezone for the availability check, defaults to UTC
103
+
-`calendarId`: The calendar ID to check availability in, defaults to the primary calendar
101
104
102
105
<Info>
103
106
All datetime fields should be provided in ISO 8601 format.
@@ -115,19 +118,19 @@ Here's how the tools can be used in your assistant's configuration:
115
118
"messages": [
116
119
{
117
120
"role": "system",
118
-
"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}}"
121
+
"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}}"
119
122
}
120
123
],
121
124
"tools": [
122
125
{
123
126
"type": "google.calendar.availability.check",
124
127
"name": "checkAvailability",
125
-
"description": "Use this tool to check calendar availability and use the America/Los_Angeles as default timezone."
128
+
"description": "Use this tool to check calendar availability."
126
129
},
127
130
{
128
131
"type": "google.calendar.event.create",
129
132
"name": "scheduleAppointment",
130
-
"description": "Use this tool to schedule appointments and create calendar events. Notes: - Use America/Los_Angeles as default timezone - All appointments are 30 mins."
133
+
"description": "Use this tool to schedule appointments and create calendar events. Notes: - All appointments are 30 mins.\n- Current date/time: {{now}}"
0 commit comments