SKILL.md
readonlyread-only
name
recipe-find-free-time
description
查詢多位使用者的 Google 日曆空閒/忙碌狀態,以找出會議時段。
跨日曆尋找空閒時間
先決條件: 載入以下技能以執行此配方:
gws-calendar
查詢多位使用者的 Google 日曆空閒/忙碌狀態,以找出會議時段。
步驟
- 查詢空閒/忙碌:
gws calendar freebusy query --json '{"timeMin": "2024-03-18T08:00:00Z", "timeMax": "2024-03-18T18:00:00Z", "items": [{"id": "user1@company.com"}, {"id": "user2@company.com"}]}' - 檢視輸出,找出重疊的空閒時段
- 在空閒時段建立活動:
gws calendar +insert --summary 'Meeting' --attendee user1@company.com --attendee user2@company.com --start '2024-03-18T14:00:00' --end '2024-03-18T14:30:00'






