中风险
修改日程并通知所有参与者前没有最终确认步骤
原文依据:4 处发现了什么
实时操作指令直接对主日历中的 `EVENT_ID` 执行 patch,并设置 `sendUpdates` 为 `all`。流程虽然先读取事件详情,但没有要求向用户展示最终事件、日期、时区、参与者和通知范围并取得确认。命令还包含固定的示例日期与时区,若未正确替换就会成为实际更新值。
为什么需要注意
选错事件、误用示例时间或误解时区时,会议可能被移动到错误时间,并立即向所有参与者发送错误通知,影响外部人员的安排和用户信誉。
该流程把修改主日历事件并向所有参与者发通知作为实时步骤,但在 patch 前没有要求核对最终事件、日期、时区或通知对象。若代理选错 EVENT_ID,或把示例中的固定时间直接使用,就可能改错会议并向全部参与者发送通知。自动通知符合技能声明的用途,因此风险不是通知功能本身,而是缺少提交前确认。用户可要求作者加入变更摘要和明确确认,并确保占位日期、时区及 EVENT_ID 必须替换后才能执行。
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"}}'`查看另外 3 个位置
Move a Google Calendar event to a new time and automatically notify all attendees.1. Find the event: `gws calendar +agenda`2. Get event details: `gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'`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"}}'`