使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/googleworkspace/cli --skill recipe-batch-invite-to-event开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
Add Multiple Attendees to a Calendar Event
PREREQUISITE: Load the following skills to execute this recipe: gws-calendarAdd a list of attendees to an existing Google Calendar event and send notifications.
Steps
- Get the event:
gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}' - Add attendees:
gws calendar events patch --params '{"calendarId": "primary", "eventId": "EVENT_ID", "sendUpdates": "all"}' --json '{"attendees": [{"email": "alice@company.com"}, {"email": "bob@company.com"}, {"email": "carol@company.com"}]}' - Verify attendees:
gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'

