download_chat_attachment
Download a Google Chat message attachment by providing the message ID and attachment index. Returns a file or a temporary download URL.
Instructions
Download a Chat message attachment to disk or expose via URL.
Side effects: writes a file to the configured attachment storage (stdio mode) or publishes a 1-hour download URL (HTTP mode). In stateless mode, returns a base64 preview. Use get_messages to discover the message ID and per-message attachment indices. Requires the chat_read OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| message_id | Yes | Message resource name ("spaces/<space>/messages/<msg>") from get_messages. | |
| attachment_index | No | 0-based index into the message's attachments list. Default 0 (first attachment). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |