编程

Google Calendar

试用

通过 OAuth 认证调用 Google 日历 REST 接口,读写日程与可用时间。

它能做什么

该技能通过 OAuth 连接 Google Calendar,提供列日历、列事件、按文本搜索、查询忙闲、创建/修改/移动/删除事件等工具。读取操作直接返回数据,写入操作必须在用户确认后才会执行。鉴权与令牌存储由托管的 ClawLink 服务处理,聊天中无需配置 Google API 密钥。

什么时候用它

  • 列出某天的日程或在多个日历中搜索事件
  • 在单个或多个日历之间查找空闲时段
  • 创建、更新、删除日程并处理参会人
  • 获取带时区的当前时间以辅助安排会议

技能文档

Google Calendar

Google Calendar

Access Google Calendar via the Google Calendar API with OAuth authentication. Check calendars, find free time, schedule meetings, and update events.

This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Google Calendar API access yourself.

Setup in 3 Steps

Step 1: InstallStep 2: Pair AccountStep 3: Connect Google Calendar
InstallPairApp-specific connection GIF coming soon
Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect Google Calendar

How It Works

┌─────────────────┐     ┌──────────────┐     ┌──────────────────┐
│   OpenClaw      │────▶│   ClawLink   │────▶│ Google Calendar  │
│   (User Chat)   │     │   (OAuth)    │     │   API (REST)     │
└─────────────────┘     └──────────────┘     └──────────────────┘
         │                       │                       │
         │  1. Install Plugin    │                       │
         │  2. Pair Device       │                       │
         │  3. Connect Google Calendar                    │
         │                       │  4. Secure Token      │
         │                       │  5. Proxy Requests    │
         │                       │                       │
         ▼                       ▼                       ▼
   ┌──────────┐           ┌──────────┐           ┌──────────┐
   │  SKILL   │           │ Dashboard│           │ Calendar │
   │  File    │           │ Auth     │           │ Events   │
   └──────────┘           └──────────┘           └──────────┘

Install

Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.

openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart

Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Google Calendar again."

Quick Start

# List calendars
clawlink_call_tool --tool "googlecalendar_list_calendars" --params '{}'

# Get current date/time for timezone-aware scheduling
clawlink_call_tool --tool "googlecalendar_get_current_date_time" --params '{"timezone": "America/New_York"}'

# List events for a specific day
clawlink_call_tool --tool "googlecalendar_events_list" --params '{"calendar_id": "primary", "time_min": "2025-01-15T00:00:00Z", "time_max": "2025-01-16T00:00:00Z"}'

# Find free time slots
clawlink_call_tool --tool "googlecalendar_find_free_slots" --params '{"time_min": "2025-01-15T09:00:00Z", "time_max": "2025-01-15T18:00:00Z", "calendar_ids": ["primary"], "meeting_duration_minutes": 60}'

Authentication

All Google Calendar tool calls are authenticated automatically by ClawLink using the user's connected Google account.

No API key is required in chat. ClawLink stores the OAuth token securely and injects it into every Google Calendar API request on the user's behalf.

Getting Connected

  1. Install the ClawLink plugin (see Install above).
  2. Pair the plugin with clawlink_begin_pairing if it is not configured yet.
  3. Open https://claw-link.dev/dashboard?add=google-calendar and connect Google Calendar.
  4. Call clawlink_list_integrations to verify the connection is active.

Connection Management

List Connections

clawlink_list_integrations

Response: Returns all connected integrations. Look for google-calendar in the list.

Verify Connection

clawlink_list_tools --integration google-calendar

Response: Returns the live tool catalog for Google Calendar.

Reconnect

If Google Calendar tools are missing or the connection shows an error:

  1. Direct the user to https://claw-link.dev/dashboard?add=google-calendar
  2. After they confirm, call clawlink_list_integrations to verify
  3. Then call clawlink_list_tools --integration google-calendar

Security & Permissions

  • Access is scoped to calendars accessible to the connected Google account.
  • All write operations require explicit user confirmation. Before executing any event create, update, move, or delete, confirm the intended effect with the user.
  • Destructive actions (deleting events, clearing calendars) are marked as high-impact and must be confirmed.
  • Moves and deletions of events with attendees affect other people's calendars — treat these as especially sensitive.

Tool Reference

Calendars

ToolDescriptionMode
googlecalendar_list_calendarsList all calendars in the user's calendar listRead
googlecalendar_get_calendarGet a specific calendar's metadataRead
googlecalendar_duplicate_calendarCreate a new empty calendarWrite
googlecalendar_patch_calendarUpdate calendar title, description, timezoneWrite
googlecalendar_calendars_deleteDelete a secondary calendarWrite
googlecalendar_clear_calendarDelete all events from a calendarWrite

Events

ToolDescriptionMode
googlecalendar_events_listList events on a calendar with time filteringRead
googlecalendar_events_list_all_calendarsList events across all calendarsRead
googlecalendar_events_getGet a specific event by IDRead
googlecalendar_find_eventSearch events by text query and time rangeRead
googlecalendar_create_eventCreate a new calendar eventWrite
googlecalendar_update_eventFull update of an existing eventWrite
googlecalendar_patch_eventPartial update of event fieldsWrite
googlecalendar_delete_eventDelete an event by IDWrite
googlecalendar_events_moveMove an event to another calendarWrite
googlecalendar_events_instancesGet instances of a recurring eventRead

Scheduling

ToolDescriptionMode
googlecalendar_find_free_slotsFind free/busy time slots across calendarsRead
googlecalendar_get_current_date_timeGet current date and time in a timezoneRead
googlecalendar_quick_addParse natural language to create a simple eventWrite

Attendees

ToolDescriptionMode
googlecalendar_remove_attendeeRemove an attendee from an eventWrite

Availability

ToolDescriptionMode
googlecalendar_freebusy_queryGet free/busy info for a list of calendarsRead

Access Control

ToolDescriptionMode
googlecalendar_acl_listList access control rules for a calendarRead
googlecalendar_acl_insertCreate an ACL rule (share calendar)Write
googlecalendar_acl_deleteDelete an ACL ruleWrite

Code Examples

List today's events

clawlink_call_tool --tool "googlecalendar_events_list" \
  --params '{
    "calendar_id": "primary",
    "time_min": "2025-01-15T00:00:00-05:00",
    "time_max": "2025-01-15T23:59:59-05:00",
    "single_events": true,
    "order_by": "startTime"
  }'

Find free time for a meeting

clawlink_call_tool --tool "googlecalendar_find_free_slots" \
  --params '{
    "time_min": "2025-01-15T09:00:00-05:00",
    "time_max": "2025-01-15T17:00:00-05:00",
    "calendar_ids": ["primary"],
    "meeting_duration_minutes": 60
  }'

Create a meeting event

clawlink_call_tool --tool "googlecalendar_create_event" \
  --params '{
    "calendar_id": "primary",
    "summary": "Team Sync",
    "description": "Weekly team synchronization meeting",
    "start_datetime": "2025-01-15T10:00:00",
    "event_duration_minutes": 60,
    "timezone": "America/New_York",
    "attendees": ["colleague@example.com"]
  }'

Update an event

clawlink_call_tool --tool "googlecalendar_patch_event" \
  --params '{
    "calendar_id": "primary",
    "event_id": "abc123xyz",
    "summary": "Updated Team Sync",
    "start_datetime": "2025-01-15T11:00:00",
    "event_duration_minutes": 90
  }'

Discovery Workflow

  1. Call clawlink_list_integrations to confirm Google Calendar is connected.
  2. Call clawlink_list_tools --integration google-calendar to see the live catalog.
  3. Treat the returned list as the source of truth. Do not guess or assume what tools exist.
  4. If the user describes a capability but the exact tool is unclear, call clawlink_search_tools with a short query and integration google-calendar.
  5. If no Google Calendar tools appear, direct the user to https://claw-link.dev/dashboard?add=google-calendar.

Execution Workflow

┌─────────────────────────────────────────────────────────────┐
│  READ OPERATIONS (Safe)                                     │
│  list → get → find → search → describe → call               │
│                                                             │
│  Example: List calendars → Find free slots → Show options   │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│  WRITE OPERATIONS (Require Confirmation)                    │
│  list → get → describe → preview → confirm → call           │
│                                                             │
│  Example: Preview event creation → User confirms            │
│           → Execute create                                   │
└─────────────────────────────────────────────────────────────┘
  1. For unfamiliar tools, ambiguous requests, or any write action, call clawlink_describe_tool first.
  2. Use the returned guidance, schema, whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.
  3. Prefer read, list, search, and availability operations before writes.
  4. For event changes or other high-impact actions, call clawlink_preview_tool first, then confirm with the user.
  5. Execute with clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.
  6. If the tool call fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion.

Notes

  • Timezone-aware scheduling: Always use IANA timezone identifiers (e.g., America/New_York, Europe/London) not abbreviations.
  • UTC timestamps ending in Z are interpreted in UTC regardless of calendar timezone — use timezone-offset timestamps for local date queries.
  • Primary calendar is referenced as calendar_id: "primary".
  • Events with attendees automatically send invitations via Google Calendar.
  • Deleting or moving events with attendees affects their calendars too — always confirm.
  • No conflict checking is performed before event creation — use find_free_slots to detect overlaps.

Error Handling

Status / ErrorMeaning
Tool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration google-calendar.
Missing connectionGoogle Calendar is not connected. Direct the user to https://claw-link.dev/dashboard?add=google-calendar.
404 Not FoundCalendar or event does not exist. Verify the calendar_id and event_id.
403 ForbiddenInsufficient permissions to access or modify the calendar.
400 Bad RequestInvalid datetime format or timezone. Use ISO 8601 with timezone offset.
Write rejectedUser did not confirm a write action. Always confirm before executing event creates, updates, moves, or deletes.

Troubleshooting: Tools Not Visible

  1. Check that the ClawLink plugin is installed:
    openclaw plugins list
    
  2. If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
  3. If a fresh chat does not help, run:
    openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
    openclaw gateway restart
    
  4. After restart, tell the user to send /new again and retry.

Troubleshooting: Invalid Tool Call

  1. Ensure the integration slug is exactly google-calendar.
  2. Use clawlink_describe_tool to verify parameter names and types before calling.
  3. For write operations, always call clawlink_preview_tool first.

Resources

  • Gmail — For email management alongside scheduling
  • Google Meet — For video conferencing

Powered by ClawLink — an integration hub for OpenClaw

ClawLink Logo

相关技能

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai21 次安装8 星标

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván855 次安装69 星标

把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。

作者 nssa.io1.0k 次安装47 星标

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván558 次安装18 星标

按用户明确指令,在得到大脑(Get笔记)中保存、搜索并管理笔记与知识库。

作者 iswalle767 次安装66 星标

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

作者 fly0pants4.3k 次安装296 星标

hith3sh 的更多技能

浏览全部技能

Manage Facebook Pages, posts, comments, messages, and insights via the Facebook Graph API. Use this skill when users want to post content, read engagement metrics, moderate comments, or automate Facebook Page workflows from chat.

作者 hith3sh107 次安装33 星标

Manage Instagram Business and Creator accounts via the Instagram Graph API. Publish posts and carousels, retrieve media and insights, moderate comments, send DMs, and manage story content. Use this skill when users want to manage Instagram content, analyze engagement, or automate social media workflows.

作者 hith3sh84 次安装35 星标

Manage LinkedIn presence via the LinkedIn API. Create posts and articles, manage comments, handle media uploads, search ad targeting entities, and retrieve user profile and image data.

作者 hith3sh87 次安装32 星标

Manage Reddit posts, comments, subreddits, users, moderation, and community workflows via the Reddit API. Use when users want to search subreddits, inspect posts, submit content, manage comments, or automate moderation actions.

作者 hith3sh80 次安装32 星标

Work with GitHub repositories, issues, pull requests, commits, branches, releases, and workflows via the GitHub REST and GraphQL APIs. Use this skill when us...

作者 Jay87 次安装32 星标

Manage Discord guilds, channels, messages, members, roles, and application commands - powered by ClawLink.

作者 Jay82 次安装32 星标