chat_upload_attachment
Upload a file and send it as an attachment to a Google Chat space, with optional accompanying text.
Instructions
Upload a file and send it as an attachment to a Google Chat space, with optional accompanying text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Base64-encoded file content. | |
| text | No | Optional message text to send alongside the attachment. | |
| Yes | The authenticated Google account to send from. | ||
| filename | Yes | The name for the file as it will appear in the message. | |
| mimeType | Yes | MIME type of the file (e.g. 'application/pdf', 'image/png'). | |
| spaceName | Yes | The space resource name (e.g. 'spaces/XXXXXX'). Get this from chat_list_spaces. | |
| threadName | No | Thread resource name to reply within (optional), from chat_list_messages threadName field. |