Download Chat Attachment
download_chat_attachmentDownloads an attachment from a Google Chat message and saves it to local disk, returning the file path or a temporary download URL.
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 |