AgentPMT
Google Chat

Google Chat

Connector

Available ActionsEach successful request consumes credits as outlined below.

list_spaces5crlist_members5crlist_messages5crcreate_message5crreply_message5crupdate_message5crdelete_message5crlist_reactions5cradd_reaction5crdelete_reaction5crget_attachment5cr

Details

Bridge your agent to your Google Chat spaces—post updates, keep threads moving, and turn routine teamwork into quick, automated nudges that keep everyone in sync. Supports reactions, direct messaging, and posting and reading in spaces. All actions take place as the connected user.

Use Cases

Send messages to spaces, Reply in existing threads, List recent messages, Filter message history, Add or remove reactions, Retrieve space memberships, Fetch attachment metadata, Automate team notifications

Credentials

Google OAuth *
Connect your Google account.
oauth token

Manage credentials in your dashboard.

Actions(11)

list_spaces5cr3 params

List all Google Chat spaces the authenticated user has access to.

List all Google Chat spaces the authenticated user has access to.

page_sizeinteger

Maximum number of results per page.

Default: 50
Range: 1 - 1000
page_tokenstring

Pagination token from a previous response to fetch the next page.

filterstring

Filter query (e.g., 'spaceType = "SPACE"').

list_members5cr4 params(1 required)

List members of a specific Google Chat space.

List members of a specific Google Chat space.

spacerequiredstring

Space name or ID (e.g., 'spaces/AAA' or 'AAA').

page_sizeinteger

Maximum number of results per page.

Default: 50
Range: 1 - 1000
page_tokenstring

Pagination token from a previous response.

filterstring

Filter query for members.

list_messages5cr4 params(1 required)

List messages in a Google Chat space in reverse chronological order (newest first). The filter parameter supports createTime and thread.name only; full-text search is not supported.

List messages in a Google Chat space in reverse chronological order (newest first). The filter parameter supports createTime and thread.name only; full-text search is not supported.

spacerequiredstring

Space name or ID (e.g., 'spaces/AAA' or 'AAA').

page_sizeinteger

Maximum number of results per page.

Default: 50
Range: 1 - 1000
page_tokenstring

Pagination token from a previous response.

filterstring

Filter query. Supports createTime and thread.name only (e.g., 'createTime > "2025-01-01T00:00:00Z"').

create_message5cr4 params(1 required)

Send a new message to a Google Chat space. Optionally post into an existing thread.

Send a new message to a Google Chat space. Optionally post into an existing thread.

spacerequiredstring

Space name or ID (e.g., 'spaces/AAA' or 'AAA').

textstring

Message text content. Required if cards_v2 is not provided.

cards_v2array

Cards v2 payload for rich card messages. Alternative to text.

Array of: object
thread_namestring

Thread resource name (e.g., 'spaces/AAA/threads/CCC') to post into an existing thread.

reply_message5cr4 params(1 required)

Reply to an existing message in its thread. The thread is resolved automatically from the original message.

Reply to an existing message in its thread. The thread is resolved automatically from the original message.

message_namerequiredstring

Message resource name or message ID (e.g., 'spaces/AAA/messages/BBB'). The thread is resolved from this message.

spacestring

Space name or ID, needed if message_name is a short ID rather than a full resource name.

textstring

Reply text content. Required if cards_v2 is not provided.

cards_v2array

Cards v2 payload for rich card replies. Alternative to text.

Array of: object
update_message5cr4 params(1 required)

Edit an existing message. Only the fields provided (text and/or cards_v2) will be updated.

Edit an existing message. Only the fields provided (text and/or cards_v2) will be updated.

message_namerequiredstring

Message resource name or message ID (e.g., 'spaces/AAA/messages/BBB').

spacestring

Space name or ID, needed if message_name is a short ID.

textstring

Updated message text. Required if cards_v2 is not provided.

cards_v2array

Updated cards v2 payload. Alternative to text.

Array of: object
delete_message5cr2 params(1 required)

Delete a message from a Google Chat space.

Delete a message from a Google Chat space.

message_namerequiredstring

Message resource name or message ID (e.g., 'spaces/AAA/messages/BBB').

spacestring

Space name or ID, needed if message_name is a short ID.

list_reactions5cr4 params(1 required)

List all emoji reactions on a message.

List all emoji reactions on a message.

message_namerequiredstring

Message resource name or message ID (e.g., 'spaces/AAA/messages/BBB').

spacestring

Space name or ID, needed if message_name is a short ID.

page_sizeinteger

Maximum number of results per page.

Default: 50
Range: 1 - 1000
page_tokenstring

Pagination token from a previous response.

add_reaction5cr3 params(2 required)

Add an emoji reaction to a message.

Add an emoji reaction to a message.

message_namerequiredstring

Message resource name or message ID (e.g., 'spaces/AAA/messages/BBB').

emoji_unicoderequiredstring

Unicode emoji character to react with (e.g., '👍').

spacestring

Space name or ID, needed if message_name is a short ID.

delete_reaction5cr3 params(1 required)

Remove a reaction from a message.

Remove a reaction from a message.

reaction_namerequiredstring

Reaction resource name or reaction ID (e.g., 'spaces/AAA/messages/BBB/reactions/RRR').

message_namestring

Message resource name, needed if reaction_name is a short ID.

spacestring

Space name or ID, needed if both reaction_name and message_name are short IDs.

get_attachment5cr3 params(1 required)

Retrieve metadata for an attachment on a message.

Retrieve metadata for an attachment on a message.

attachment_namerequiredstring

Attachment resource name or attachment ID (e.g., 'spaces/AAA/messages/BBB/attachments/ATT').

message_namestring

Message resource name, needed if attachment_name is a short ID.

spacestring

Space name or ID, needed if both attachment_name and message_name are short IDs.

Frequently Asked Questions

How do I connect this tool to an external agent?

Install commands

npm install -g @agentpmt/mcp-router
agentpmt-setup

Hosted MCP config

{
  "mcpServers": {
    "agentpmt": {
      "type": "streamable-http",
      "url": "https://api.agentpmt.com/mcp",
      "headers": {
        "Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
        "x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
      }
    }
  }
}

How does an external agent use this tool?

Agent prompt

Call the AgentPMT-Tool-Search-and-Execution tool with action 'get_schema' and tool_id 6968000436a6023a803ab753 ("Google Chat"). Then call the same tool with action 'call_tool', tool_id 6968000436a6023a803ab753, and the parameters needed for my request.

Looking for help integrating AI into your business? Set up a free consultation.