Reply in a Google Chat thread
reply_chat_messageReplies as the user in an existing Google Chat thread (space and thread from list_recent_chat, search_chat or get_chat_thread). The reply goes into that thread or fails with CHAT_NOT_FOUND; it never starts a new thread instead. In a direct message or group chat without threads, send_chat_message posts in the conversation. The message is sent immediately and cannot be unsent from Fezola. accountId is required when several Google Chat accounts are connected. Returns the sent reply with its link. Fails with CHAT_WRITE_NOT_GRANTED or CHAT_SEND_DISABLED like send_chat_message. Attachments work as in send_chat_message.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"space": "<space>",
"thread": "<thread>"
},
"name": "reply_chat_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Message text, sent as written. Google Chat formatting: *bold*, _italic_, ~strikethrough~, `code`. Optional when attachments are given. | |
| space | Yes | Space, group chat or DM: "spaces/AAAA", as returned by the other Google Chat tools. | |
| thread | Yes | Thread: "spaces/AAAA/threads/BBBB" or just "BBBB". | |
| accountId | No | Google Chat account. Optional when only one is connected. | |
| requestId | No | Optional idempotency key. Calling again with the same requestId, text and files returns the message already sent (alreadySent: true) instead of sending it twice. Without it, the same text and files sent to the same place within 10 minutes also count as one message and return alreadySent: true; a new requestId always sends a new message. | |
| attachments | No | Files to send with the message (10 max, 50 MB in total): a file you provide ({ filename, mimeType, base64 }, 700 KB each, the whole call under 1 MB) or an attachment of an email in a connected mailbox ({ fromEmail: { accountId, uid, folder, index } }; the whole email must be 15 MB or less, about 11 MB of attachments; Fezola reads it from the mailbox). Executable types blocked by Google Chat (exe, bat, js, jar, msi...) are refused. Files are uploaded first; if one fails, no message is sent. |