Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Download Media
GOOGLE_CHAT_DOWNLOAD_MEDIADownloads the bytes of a Google Chat message attachment via the media API. Use this after `get_attachment` to fetch the actual file content for an attachment. The `resource_name` parameter is the `attachmentDataRef.resourceName` returned by `get_attachment`. Returns the downloaded file. The download endpoint adds `?alt=media` automatically, which is required by Google to return raw bytes rather than the JSON Media resource.
Find Direct Message
GOOGLE_CHAT_FIND_DIRECT_MESSAGEReturns the existing direct message space with the specified user. Use this action when you need to find an existing DM space with a particular user, such as when checking if a DM already exists before creating one or when you need the space resource name for subsequent operations. If no direct message space exists with the specified user, this action returns a NOT_FOUND (404) error. Note: This only finds existing DM spaces - it does not create a new one. To start a new DM (or safely get-or-create one), use the GOOGLE_CHAT_SET_UP_SPACE action instead.
Find Group Chats
GOOGLE_CHAT_FIND_GROUP_CHATSFinds group chat spaces whose human memberships contain exactly the calling user and the specified users. Results are paginated.
Get Attachment
GOOGLE_CHAT_GET_ATTACHMENTGets the metadata of a Google Chat message attachment. Returns the attachment's content type, filename, source, and references that can be used to download the file via the media API. To fetch the binary bytes of the attachment, pass the returned `attachmentDataRef.resourceName` to the `download_media` action. Requires Chat app authentication (the `chat.bot` scope) — this endpoint is not callable with regular user OAuth.
Get Custom Emoji
GOOGLE_CHAT_GET_CUSTOM_EMOJIReturns details about a custom emoji in Google Chat. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. Use this action when you need to retrieve information about a specific custom emoji, such as its name, unique identifier, or temporary image URL. This is useful for displaying emoji details or verifying emoji existence before performing other operations. Note: The `payload` field is only populated when creating or updating custom emojis and is not returned when getting emoji details.
Get Chat Space Member
GOOGLE_CHAT_GET_MEMBERReturns details about a membership in a space. Use this action when you need to retrieve information about a specific member's relationship with a Google Chat space, including their role, state, and user details.
Get Message
GOOGLE_CHAT_GET_MESSAGEReturns details about a specific message in a Google Chat space. Use this action when you need to retrieve the full content, sender information, thread details, and other metadata for a particular message. Requires user authentication with an appropriate Google Chat OAuth scope.
Get Space
GOOGLE_CHAT_GET_SPACERetrieves details of a specific Google Chat space, including its display name, description, membership count, threading state, and available configuration. Administrator access can be requested when authorized; some response fields depend on the scopes used.
Get Space Event
GOOGLE_CHAT_GET_SPACE_EVENTReturns an event from a Google Chat space. The event payload contains the most recent version of the resource that changed. Use this action when you need to retrieve details about a specific space event, such as a new message, membership change, reaction, or space update. If the resource was modified after the event occurred, the server returns the updated resource in the event payload. Note: The `permissionSettings` field is not returned in the Space object of the Space event.
Get Space Notification Setting
GOOGLE_CHAT_GET_SPACE_NOTIFICATION_SETTINGGets the notification settings for a user in a specific space. Use when you need to retrieve the caller's space notification setting, including whether notifications are muted and what type of notifications are enabled. Requires user authentication with the `https://www.googleapis.com/auth/chat.users.spacesettings` OAuth scope.
Get space read state
GOOGLE_CHAT_GET_SPACE_READ_STATEReturns details about a user's read state within a space. Use this action when you need to identify which messages in a space have been read or unread by the user.
Get thread read state
GOOGLE_CHAT_GET_THREAD_READ_STATEReturns details about a user's read state within a thread. Use this action when you need to identify which messages in a specific thread have been read or unread by the user.
List custom emojis
GOOGLE_CHAT_LIST_CUSTOM_EMOJISLists custom emojis visible to the authenticated user in Google Chat. Use this action when you need to retrieve all custom emojis available in Google Chat for the authenticated user. This is useful for displaying available emojis, filtering by creator, or enumerating organization-specific custom emojis. Supports pagination via pageSize and pageToken parameters. By default, returns up to 25 emojis.
List Space Members
GOOGLE_CHAT_LIST_MEMBERSLists a page of memberships in a Google Chat space, with optional role or member-type filters and options to include Google Groups or invited members. Use the returned nextPageToken to fetch subsequent pages.
List Messages
GOOGLE_CHAT_LIST_MESSAGESLists non-system messages from one Google Chat space, with creation-time or thread filtering and a next-page token. It does not search message text or filter by sender; use GOOGLE_CHAT_SEARCH_MESSAGES for text search. Declared OAuth requirements include a Chat messages scope and directory.readonly.
List reactions on a message
GOOGLE_CHAT_LIST_REACTIONSLists a page of emoji reactions on a specific Google Chat message. Results can be filtered by emoji type or user, and a page token can be used to retrieve subsequent pages.
List Section Items
GOOGLE_CHAT_LIST_SECTION_ITEMSLists all items (such as spaces) within a specified section of a user's Google Chat. Use when you need to retrieve all items grouped under a section in Google Chat, or when implementing pagination to fetch all items across multiple pages. Sections can be system sections like 'default-spaces' or custom sections created by the user. Requires user authentication with the `https://www.googleapis.com/auth/chat.users.sections.readonly` (read-only) or `https://www.googleapis.com/auth/chat.users.sections` (full access) OAuth scope.
List Sections
GOOGLE_CHAT_LIST_SECTIONSLists all sections available to the authenticated user in Google Chat. Use this action when you need to retrieve all sections for organizing conversations in the navigation panel. Sections include custom sections created by the user and system sections like default direct messages, default spaces, and default apps. Requires user authentication with one of the following OAuth scopes: - https://www.googleapis.com/auth/chat.users.sections - https://www.googleapis.com/auth/chat.users.sections.readonly
List Space Events
GOOGLE_CHAT_LIST_SPACE_EVENTSLists events from a Google Chat space. Use when you need to retrieve historical events such as new messages, membership changes, or reactions from a specific Google Chat space. The filter parameter is required and must specify event type filters. Note: This action requires specifying event type filters in the filter parameter. Supported event types include message events (created, updated, deleted), membership events (created, updated, deleted), and reaction events.
List Spaces
GOOGLE_CHAT_LIST_SPACESLists a page of Google Chat spaces the authenticated user belongs to, using the chat.spaces or chat.spaces.readonly OAuth scope. Group chats and direct messages are not listed until the first message is sent.