gmail_read_attachment
Retrieve up to 5 MiB of a Gmail attachment as base64 after verifying account membership. No files are written or executed.
Instructions
Read at most 5 MiB of an explicitly selected message attachment as base64. Membership is verified; no files are written or executed.
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": {
"accountId": "<accountId>",
"messageId": "<messageId>"
},
"name": "gmail_read_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partId | No | ||
| accountId | Yes | ||
| messageId | Yes | ||
| attachmentId | No |