运行时依赖
安装命令
点击复制技能文档
Google Workspace 技能
This 技能 lets you interact with Google Calendar, Sheets, and Drive through the gws 命令行工具.
设置up 安装 gws if needed. Make sure your Google Workspace account is connected. 安装 this 技能. 启动 using natural-language prompts for calendar, drive, and sheets tasks. Usage
Use the wr应用er script to 运行 gws commands safely.
General Pattern
python3 scripts/gws_wr应用er.py <服务> [args]
Google Calendar 列出 事件: python3 scripts/gws_wr应用er.py calendar 事件 列出 创建 event: python3 scripts/gws_wr应用er.py calendar 事件 创建 --title "Meeting" --启动 "2024-05-15T10:00:00Z" Google Drive 列出 files: python3 scripts/gws_wr应用er.py drive ls 上传 file: python3 scripts/gws_wr应用er.py drive 上传 Google Sheets Read sheet: python3 scripts/gws_wr应用er.py sheets 获取 Write to sheet: python3 scripts/gws_wr应用er.py sheets 应用end --data '[[1, 2], [3, 4]]' Troubleshooting If gws is not found, 运行 the 安装er. 检查 that your Google Workspace connection is active.