# Gws Chat Send

Google Chat: Send a message to a space.

- Repository: https://github.com/googleworkspace/cli (32044 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add googleworkspace/cli --skill gws-chat-send -g -a claude-code -y`
Codex: `npx skills add googleworkspace/cli --skill gws-chat-send -g -a codex -y`
Cursor: `npx skills add googleworkspace/cli --skill gws-chat-send -g -a cursor -y`
Gemini CLI: `npx skills add googleworkspace/cli --skill gws-chat-send -g -a gemini-cli -y`

## Description

Google Chat: Send a message to a space.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# chat +send

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

Send a message to a space

## Usage

```bash
gws chat +send --space <NAME> --text <TEXT>
```

## Flags

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--space` | ✓ |, | Space name (e.g. spaces/AAAA...) |
| `--text` | ✓ |, | Message text (plain text) |

## Examples

```bash
gws chat +send --space spaces/AAAAxxxx --text 'Hello team!'
```

## Tips

- Use 'gws chat spaces list' to find space names.
- For cards or threaded replies, use the raw API instead.

> [!CAUTION]
> This is a **write** command, confirm with the user before executing.

## See Also

- [gws-shared](../gws-shared/SKILL.md), Global flags and auth
- [gws-chat](../gws-chat/SKILL.md), All manage chat spaces and messages commands

