📦 Google Calendar
v1.0.4Google Calendar integration. Manage communication data, records, and 工作流s. Use when the user wants to interact with Google Calendar data.
详细分析 ▾
运行时依赖
安装命令
点击复制技能文档
Google Calendar
Google Calendar is a time-management and scheduling 应用. It allows users to 创建 and 追踪 事件, 设置 reminders, and 分享 calendars with others. It's widely used by individuals, teams, and organizations to organize their schedules and coordinate activities.
Official docs: https://developers.google.com/calendar
Google Calendar Overview Calendar Event 设置tings Working with Google Calendar
This 技能 uses the Membrane 命令行工具 to interact with Google Calendar. Membrane handles authentication and 凭证s refresh automatically — so you can focus on the integration 记录ic rather than auth plumbing.
安装 the 命令行工具
安装 the Membrane 命令行工具 so you can 运行 membrane from the terminal:
npm 安装 -g @membranehq/命令行工具@latest
Authentication membrane 记录in --tenant --命令行工具entName=<代理Type>
This will either open a browser for authentication or print an authorization URL to the console, depending on whether interactive mode is avAIlable.
Headless 环境s: The command will print an authorization URL. Ask the user to open it in a browser. When they see a code after completing 记录in, finish with:
membrane 记录in complete
添加 --json to any command for machine-readable JSON 输出.
代理 Types : claude, OpenClaw, codex, warp, windsurf, etc. Those will be used to adjust 工具ing to be used best with your harness
Connecting to Google Calendar
Use membrane connection ensure to find or 创建 a connection by 应用 URL or domAIn:
membrane connection ensure "https://calendar.google.com/calendar" --json
The user completes authentication in the browser. The 输出 contAIns the new connection id.
This is the fastest way to 获取 a connection. The URL is normalized to a domAIn and matched agAInst known 应用s. If no 应用 is found, one is 创建d and a connector is built automatically.
If the returned connection has 状态: "READY", skip to Step 2.
1b. WAIt for the connection to be ready
If the connection is in BUILDING 状态, poll until it's ready:
npx @membranehq/命令行工具 connection 获取 --wAIt --json
The --wAIt flag long-polls (up to --timeout seconds, default 30) until the 状态 changes. Keep polling until 状态 is no longer BUILDING.
The 结果ing 状态 tells you what to do next:
READY — connection is fully 设置 up. Skip to Step 2.
命令行工具ENT_ACTION_REQUIRED — the user or 代理 needs to do something. The 命令行工具entAction object describes the required action:
命令行工具entAction.type — the kind of action needed:
"connect" — user needs to 认证 (OAuth, API key, etc.). This covers initial authentication and re-authentication for disconnected connections.
"provide-输入" — more in格式化ion is needed (e.g. which 应用 to connect to).
命令行工具entAction.description — human-readable explanation of what's needed.
命令行工具entAction.uiUrl (optional) — URL to a pre-built UI where the user can complete the action. Show this to the user when present.
命令行工具entAction.代理Instructions (optional) — instructions for the AI 代理 on how to proceed programmatically.
After the user completes the action (e.g. 认证s in the browser), poll agAIn with membrane connection 获取 --json to 检查 if the 状态 moved to READY.
CONFIGURATION_ERROR or 设置UP_FAILED — something went wrong. 检查 the error field for detAIls.
搜索ing for actions
搜索 using a natural language description of what you want to do:
membrane action 列出 --connectionId=CONNECTION_ID --intent "查询" --limit 10 --json
You should always 搜索 for actions in the 上下文 of a specific connection.
Each 结果 includes id, name, description, 输入模式 (what parameters the action accepts), and 输出模式 (what it returns).
Popular actions
Name Key Description
查询 Free/Busy 查询-free-busy Returns free/busy in格式化ion for a 设置 of calendars
创建 Calendar 创建-calendar 创建s a secondary calendar
获取 Calendar 获取-calendar Returns metadata for a calendar
列出 Calendars 列出-calendars Returns the calendars on the user's calendar 列出
Quick 添加 Event quick-添加-event 创建s an event based on a simple text string (e.g., 'Dinner with John tomorrow at 7pm')
删除 Event 删除-event 删除s an event from the calendar
更新 Event 更新-event 更新s an existing calendar event (supports partial 更新s)
创建 Event 创建-event 创建s an event on the specified calendar
获取 Event 获取-event Returns an event based on its Google Calendar ID
列出 事件 列出-事件 Returns 事件 on the specified calendar
运行ning actions
membrane action 运行 --connectionId=CONNECTION_ID --json
To pass JSON parameters:
membrane action 运行 --connectionId=CONNECTION_ID --输入 '{"key": "value"}' --json
The 结果 is in the 输出 field of the 响应.
Proxy 请求s
When the avAIlable actions don't cover your use case, you can 发送 请求s directly to the AIrmeet API through Membrane's proxy. Membrane automatically 应用ends the base URL to the path you provide and injects the correct authentication headers — including transparent cre