先看看示例
作者提供的示例,实际效果取决于你的输入和使用工具。
输入
把 primary 日历中某事件从原时间改到 2025-01-22 14:00–15:00(America/New_York),并通知所有参会人。
输出
预期交付:更新后的日历事件,以及发送给全部参会人的改期通知。(编辑说明,非实际运行结果)
方法说明
---
name: recipe-reschedule-meeting
description: "Move a Google Calendar event to a new time and automatically notify all attendees."
metadata:
version: 0.22.5
openclaw:
category: "recipe"
domain: "scheduling"
requires:
bins:
- gws
skills:
- gws-calendar
---
# Reschedule a Google Calendar Meeting
> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-calendar`
Move a Google Calendar event to a new time and automatically notify all attendees.
## Steps
1. Find the event: `gws calendar +agenda`
2. Get event details: `gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'`
3. Update the time: `gws calendar events patch --params '{"calendarId": "primary", "eventId": "EVENT_ID", "sendUpdates": "all"}' --json '{"start": {"dateTime": "2025-01-22T14:00:00", "timeZone": "America/New_York"}, "end": {"dateTime": "2025-01-22T15:00:00", "timeZone": "America/New_York"}}'`