get_attachment
Retrieve email attachments from Gmail messages by providing the message ID and attachment ID. Access files and documents stored in your Gmail account for viewing or downloading.
Instructions
Get a message attachment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | ID of the message containing the attachment | |
| id | Yes | The ID of the attachment |
Input Schema (JSON Schema)
{
"properties": {
"id": {
"description": "The ID of the attachment",
"type": "string"
},
"messageId": {
"description": "ID of the message containing the attachment",
"type": "string"
}
},
"required": [
"messageId",
"id"
],
"type": "object"
}