← 返回
未分类 中文

Google Chat

Work with Google Chat spaces, members, messages, attachments, and threaded conversations via the Google Chat API. Use this skill when users want to list spac...
使用 Google Chat API 操作聊天室、成员、消息、附件和线程对话,适用于列出聊天室等需求。
hith3sh hith3sh 来源
未分类 clawhub v1.0.6 2 版本 99938.3 Key: 无需
★ 6
Stars
📥 1,499
下载
💾 1
安装
2
版本
#latest

概述

Google Chat

!Google Chat

Access Google Chat via the Google Chat API with OAuth authentication. Manage spaces, members, messages, attachments, and threaded conversations.

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

Setup in 3 Steps

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

How It Works

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

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 Chat again."

Quick Start

# List spaces the user is member of
clawlink_call_tool --tool "google_chat_list_spaces" --params '{}'

# List members in a space
clawlink_call_tool --tool "google_chat_list_members" --params '{"parent": "spaces/space-id"}'

# Send a message to a space
clawlink_call_tool --tool "google_chat_create_message" --params '{"parent": "spaces/space-id", "text": "Hello from OpenClaw!"}'

Authentication

All Google Chat 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 Chat 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-chat and connect Google Chat.
  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-chat in the list.

Verify Connection

clawlink_list_tools --integration google-chat

Response: Returns the live tool catalog for Google Chat.

Reconnect

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

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

Security & Permissions

  • Access is scoped to Google Chat spaces and messages accessible to the connected Google account.
  • All write operations require explicit user confirmation. Before executing any message send, space create, or member change, confirm the intended effect with the user.
  • Destructive actions (deleting spaces, removing members) are marked as high-impact and must be confirmed.
  • Message size is limited to 32,000 bytes. Card-based messages require bot authentication.

Tool Reference

Spaces

ToolDescriptionMode
-------------------------
google_chat_list_spacesList spaces the authenticated user is a member ofRead
google_chat_get_spaceGet details for a specific spaceRead
google_chat_create_spaceCreate a new spaceWrite
google_chat_update_spaceUpdate space name, description, or settingsWrite
google_chat_delete_spaceDelete a spaceWrite

Members

ToolDescriptionMode
-------------------------
google_chat_list_membersList all members in a spaceRead
google_chat_get_memberGet details for a specific memberRead
google_chat_create_membershipAdd a user or group to a spaceWrite
google_chat_delete_membershipRemove a member from a spaceWrite

Messages

ToolDescriptionMode
-------------------------
google_chat_list_messagesList messages in a spaceRead
google_chat_get_messageGet a specific messageRead
google_chat_create_messageSend a message to a space (supports threading)Write
google_chat_update_messageUpdate a message's text or contentWrite
google_chat_delete_messageDelete a messageWrite

Reactions

ToolDescriptionMode
-------------------------
google_chat_list_reactionsList reactions to a messageRead
google_chat_create_reactionAdd an emoji reaction to a messageWrite
google_chat_delete_reactionRemove an emoji reactionWrite

Attachments & Custom Emoji

ToolDescriptionMode
-------------------------
google_chat_list_attachmentsList attachments in a spaceRead
google_chat_create_custom_emojiCreate a custom emoji for the organizationWrite

Sections

ToolDescriptionMode
-------------------------
google_chat_create_sectionCreate a custom section in a spaceWrite

Code Examples

List spaces

clawlink_call_tool --tool "google_chat_list_spaces" \
  --params '{}'

Send a message to a space

clawlink_call_tool --tool "google_chat_create_message" \
  --params '{
    "parent": "spaces/space-id",
    "text": "Hello team! Just wanted to share an update on the project status."
  }'

Reply in a thread

clawlink_call_tool --tool "google_chat_create_message" \
  --params '{
    "parent": "spaces/space-id",
    "text": "Thanks for the update!",
    "thread": {
      "thread_key": "original-message-id"
    }
  }'

Add a reaction to a message

clawlink_call_tool --tool "google_chat_create_reaction" \
  --params '{
    "parent": "spaces/space-id/messages/message-id",
    "emoji_unicode": "👍"
  }'

Discovery Workflow

  1. Call clawlink_list_integrations to confirm Google Chat is connected.
  2. Call clawlink_list_tools --integration google-chat 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-chat.
  5. If no Google Chat tools appear, direct the user to https://claw-link.dev/dashboard?add=google-chat.

Execution Workflow

┌─────────────────────────────────────────────────────────────┐
│  READ OPERATIONS (Safe)                                     │
│  list → get → search → describe → call                      │
│                                                             │
│  Example: List spaces → Get space → Show members            │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│  WRITE OPERATIONS (Require Confirmation)                    │
│  list → get → describe → preview → confirm → call           │
│                                                             │
│  Example: Preview message → User confirms → Execute send    │
└─────────────────────────────────────────────────────────────┘
  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 get operations before writes when that reduces ambiguity.
  4. For writes or anything marked as requiring confirmation, call clawlink_preview_tool first.
  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

  • Space names use format spaces/space-id in API calls.
  • Message threading uses thread_key to reply to existing threads.
  • Custom emojis are only available for Google Workspace accounts and require admin enablement.
  • With user authentication, only plain text messages are supported. Card-based messages require bot authentication.
  • Message size limit is 32,000 bytes.

Error Handling

Status / ErrorMeaning
-------------------------
Tool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration google-chat.
Missing connectionGoogle Chat is not connected. Direct the user to https://claw-link.dev/dashboard?add=google-chat.
404 Not FoundSpace, message, or member does not exist. Verify the IDs.
403 ForbiddenInsufficient permissions or the space requires bot authentication.
Write rejectedUser did not confirm a write action. Always confirm before executing writes.

Troubleshooting: Tools Not Visible

  1. Check that the ClawLink plugin is installed:

```bash

openclaw plugins list

```

  1. If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
  2. If a fresh chat does not help, run:

```bash

openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json

openclaw gateway restart

```

  1. After restart, tell the user to send /new again and retry.

Troubleshooting: Invalid Tool Call

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

Resources

Related Skills

  • Slack — For alternative team messaging
  • Gmail — For email alongside chat

Powered by ClawLink — an integration hub for OpenClaw

!ClawLink Logo

版本历史

共 2 个版本

  • v1.0.6 当前
    2026-06-09 16:12 安全 安全
  • v0.1.0
    2026-05-21 13:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,403 📥 323,866
dev-programming

GitHub

hith3sh
通过 GitHub REST 和GraphQL API 与仓库、议题、拉取请求、提交、分支、发布和工作流进行交互。在需要时使用此技能。
★ 6 📥 1,958
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,485 📥 547,284