Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Complete Space Import
GOOGLE_CHAT_COMPLETE_IMPORTCompletes the import process for an import-mode Google Chat space and makes it visible to users. Use this action at the end of a data migration into Google Workspace, after all messages and memberships have been imported into a space that was created with `importMode: true`. Requires user authentication with domain-wide delegation (service-account flow) and the `chat.import` OAuth scope. Cannot be called with regular user OAuth.
Create Custom Emoji
GOOGLE_CHAT_CREATE_CUSTOM_EMOJICreates a custom emoji in Google Chat for use within a Google Workspace organization. An administrator must enable custom emojis for the organization.
Create Space Member
GOOGLE_CHAT_CREATE_MEMBERCreates a membership for a user, Chat app, or Google Group in a space. When creating a membership, if the member has auto-accept turned off, they're invited and must accept the invitation before joining. Use this action when you need to add a new member to a Google Chat space. This can be used to invite individual users, add Chat apps, or add Google Groups to a space. If the member requires acceptance, they will receive an invitation. Note: `parent` must be the resource name of a space that already exists - this action does not create one. To start a new direct message with a user, use GOOGLE_CHAT_SET_UP_SPACE instead, which creates the DM space and adds the member in one call. Note: App authentication cannot add users external to the Workspace organization, add Google Groups, or add Chat apps to a space.
Create Message
GOOGLE_CHAT_CREATE_MESSAGECreates a message with text or cards in an existing Google Chat space, up to 32,000 bytes, or replies to a thread. Named-thread replies default to failing if the thread is missing; use GOOGLE_CHAT_SET_UP_SPACE to create a direct-message space first.
Create Reaction
GOOGLE_CHAT_CREATE_REACTIONCreates an emoji reaction on a Google Chat message. Use this action when you need to add an emoji reaction (like 👍, ❤️, or 🎉) to an existing message in a Google Chat space. Either emoji_unicode or emoji_custom_id is required, but not both. This action is useful for acknowledging messages, voting on ideas, expressing emotions in response to messages, or building interactive message features in Google Chat bots.
Create section
GOOGLE_CHAT_CREATE_SECTIONCreates a custom section in Google Chat for organizing conversations in the navigation panel. Use when you need to create a new custom section to organize spaces and direct messages in the user's Chat sidebar.
Create Space
GOOGLE_CHAT_CREATE_SPACECreates a named space in Google Chat. The calling user is automatically added as a member and space manager. For a group chat or direct message, use GOOGLE_CHAT_SET_UP_SPACE instead. Use this action when you need to create a discoverable named space for team collaboration or project discussions. For group conversations without a named space, use GOOGLE_CHAT_SET_UP_SPACE. Note: If you receive the error ALREADY_EXISTS when creating a space, try a different displayName. The displayName must be unique within the organization.
Delete Custom Emoji
GOOGLE_CHAT_DELETE_CUSTOM_EMOJIDeletes a custom emoji from Google Chat. By default, users can only delete custom emojis they created. Emoji managers assigned by the administrator can delete any custom emoji in the organization. Use this action when you need to permanently remove a custom emoji that is no longer needed. This action is irreversible — once deleted, the custom emoji cannot be recovered.
Delete Member from Space
GOOGLE_CHAT_DELETE_MEMBERRemoves a user, Google Group, or app membership from a Google Chat space using its membership resource name. The request can use Google Workspace administrator privileges when authorized. A membership that is not found is reported as an error.
Delete Message
GOOGLE_CHAT_DELETE_MESSAGEDeletes a message from a Google Chat space; with user authentication, the force option can also delete its threaded replies. Deletion is irreversible, and permitted actions depend on the caller's authentication and permissions.
Delete Reaction
GOOGLE_CHAT_DELETE_REACTIONDeletes a reaction to a message. Use when you need to remove a reaction that was previously added to a message. Users can only delete their own reactions. This action is irreversible — once the reaction is deleted, it cannot be recovered.
Delete section
GOOGLE_CHAT_DELETE_SECTIONDeletes a custom section from Google Chat by its ID. This action is irreversible — once a section is deleted, it cannot be recovered. If the section contains items (such as spaces), they are moved to Google Chat's default sections and are not deleted. Use when you need to remove a custom section that is no longer needed.
Delete space
GOOGLE_CHAT_DELETE_SPACEDeletes a named space from Google Chat. Always performs a cascading delete, which means that the space's child resources like messages and memberships are also deleted. Use this action when you need to permanently remove a Google Chat space and all associated data. This action is irreversible — the space and all its messages and memberships cannot be recovered once deleted.
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.