get_gmail_attachment_content
Download the content of a specific Gmail attachment by providing the message ID, attachment ID, and user email. Use the returned base64-encoded data to save or process the attachment.
Instructions
Downloads the content of a specific email attachment.
Args: message_id (str): The ID of the Gmail message containing the attachment. attachment_id (str): The ID of the attachment to download. user_google_email (str): The user's Google email address. Required.
Returns: str: Attachment metadata and base64-encoded content that can be decoded and saved.
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": {
"message_id": "<message_id>",
"attachment_id": "<attachment_id>",
"user_google_email": "<user_google_email>"
},
"name": "get_gmail_attachment_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | ||
| attachment_id | Yes | ||
| user_google_email | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |