Skip to content
cccskills
FreePublished on GitHub

gws-chat

Manage Google Chat spaces, the places where conversations happen, and their messages through the gws command-line tool. Create or update spaces, add members, send messages, and upload or download attachments.

OriginalShow the original description

Google Chat: Manage Chat spaces and messages.

See how to install

Good for

  • Create a Google Chat space with initial members
  • List spaces and update their details
  • Send messages to a space
  • Upload or download attachments

Files included (1)

  • SKILL.md5.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

chat (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws chat <resource> <method> [flags]

Helper Commands

CommandDescription
+sendSend a message to a space

API Resources

customEmojis

media

  • download — Downloads media. Download is supported on the URI /v1/media/{+name}?alt=media.
  • upload — Uploads an attachment. For an example, see Upload media as a file attachment.

spaces

  • completeImport — Completes the import process for the specified space and makes it visible to users.
  • create — Creates a space. Can be used to create a named space, or a group chat in Import mode. For an example, see Create a space.
  • delete — Deletes a named space. Always performs a cascading delete, which means that the space's child resources—like messages posted in the space and memberships in the space—are also deleted. For an example, see Delete a space.
  • findDirectMessage — Returns the existing direct message with the specified user. If no direct message space is found, returns a 404 NOT_FOUND error. For an example, see Find a direct message. With app authentication, returns the direct message space between the specified user and the calling Chat app.
  • get — Returns details about a space. For an example, see Get details about a space.
  • list — Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see List spaces.
  • patch — Updates a space. For an example, see Update a space. If you're updating the displayName field and receive the error message ALREADY_EXISTS, try a different display name.. An existing space within the Google Workspace organization might already use this display name.
  • search — Returns a list of spaces in a Google Workspace organization based on an administrator's search. In the request, set use_admin_access to true. For an example, see Search for and manage spaces.
  • setup — Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see Set up a space with initial members. To specify the human members to add, add memberships with the appropriate membership.member.name. To add a human user, use users/{user}, where {user} can be the email address for the user.
  • members — Operations on the 'members' resource
  • messages — Operations on the 'messages' resource
  • spaceEvents — Operations on the 'spaceEvents' resource

users

  • sections — Operations on the 'sections' resource
  • spaces — Operations on the 'spaces' resource

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws chat --help

# Inspect a method's required params, types, and defaults
gws schema chat.<resource>.<method>

Use gws schema output to build your --params and --json flags.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Retrieve Google Workspace audit logs, which record account activity, and usage reports through gws. Review activity in applications such as the Admin console and Google Drive, or inspect statistics for the organization, users, and entities.

  • Reviewing Admin console and Google Drive activity
  • Checking organization usage statistics
  • Retrieving usage reports for users
googleworkspace/cli31.7KUpdated Oct 7, 2026

gws-calendar

FreeSummary

Manage Google Calendar events and calendars, including creating, updating, and deleting events. View upcoming events across calendars, check availability, and manage the permissions that control who can access a calendar.

  • Creating, updating, or deleting calendar events
  • Viewing upcoming events across multiple calendars
  • Checking availability across calendars
googleworkspace/cli31.7KUpdated Oct 7, 2026

View upcoming Google Calendar events across all calendars in one agenda. Check today, tomorrow, this week, or a chosen number of days, with options to filter calendars and change the display time zone.

  • Checking today's events across multiple calendars
  • Reviewing tomorrow's or this week's schedule
  • Listing the next three days on a work calendar
googleworkspace/cli31.7KUpdated Oct 7, 2026

Create a Google Calendar event with a title and start and end times. You can also choose a calendar, add a location and description, invite attendees, and include a Google Meet link.

  • Adding a meeting with a specified start and end time
  • Creating an event with attendees
  • Scheduling an online meeting with a Google Meet link
googleworkspace/cli31.7KUpdated Oct 7, 2026

gws-chat-send

FreeSummary

Send plain text messages to a specified Google Chat space using the gws command line tool. Use it for team updates and announcements, with guidance on finding space identifiers and confirming messages before sending.

  • Sending a team announcement
  • Sharing a progress update in a space
  • Finding the destination space before sending
googleworkspace/cli31.7KUpdated Oct 7, 2026

gws-classroom

FreeSummary

Manage Google Classroom courses, class lists, coursework, and invitations through an agent. Use it to create or update classes, check course details, and handle teacher or student invitations with the gws command-line tool.

  • Create a class and update its details
  • Manage student and teacher lists
  • Manage coursework and learning materials
googleworkspace/cli31.7KUpdated Oct 7, 2026

See all skills by googleworkspace

Report a problem with this skill