Skip to content

Commit 887fc18

Browse files
authored
Updated google calendar docs with more fields (#365)
* updated google calendar docs with more fields * updated example
1 parent 0e94959 commit 887fc18

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

fern/tools/google-calendar.mdx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,18 @@ This tool uses the following fields to create events:
8989
- `summary`: The title or description of the calendar event
9090
- `startDateTime`: The start date and time of the event
9191
- `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
9395

9496
### Google Calendar Check Availability Tool
9597

9698
This tool uses the following fields to check availability:
9799

98100
- `startDateTime`: The start of the time range to check
99101
- `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
101104

102105
<Info>
103106
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:
115118
"messages": [
116119
{
117120
"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}}"
119122
}
120123
],
121124
"tools": [
122125
{
123126
"type": "google.calendar.availability.check",
124127
"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."
126129
},
127130
{
128131
"type": "google.calendar.event.create",
129132
"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}}"
131134
}
132135
]
133136
}

0 commit comments

Comments
 (0)