send_message
Post a text message to a Google Chat space, with optional threading support using a thread key or existing thread name.
Instructions
Post a text message to a Google Chat space (optionally threaded).
Side effects: creates a new visible message in the space. For adding an emoji reaction to an existing message use create_reaction. For listing what's in a space use get_messages. Requires the chat.messages.create (chat_write) OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| space_id | Yes | Target space resource name ("spaces/<id>") from list_spaces. | |
| message_text | Yes | Plain text body. Supports Chat markdown (e.g. *bold*, _italic_, `code`). | |
| thread_key | No | App-defined thread key — messages with the same key thread together. If no thread exists with this key, a new one is created. Mutually exclusive with thread_name. | |
| thread_name | No | Resource name of an existing thread ("spaces/X/threads/Y") to reply to. Falls back to a new thread if the specified one is not found. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |