Download Chat Attachment
download_chat_attachmentDownload attachments from Google Chat messages and save them to local storage. Retrieve file path or temporary URL for direct access.
Instructions
Downloads an attachment from a Google Chat message and saves it to local disk.
In stdio mode, returns the local file path for direct access. In HTTP mode, returns a temporary download URL (valid for 1 hour).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| message_id | Yes | The message resource name (e.g. spaces/X/messages/Y). | |
| attachment_index | No | Zero-based index of the attachment to download (default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |