read_attachment_text
Extract text from Gmail attachments like PDF, DOCX, XLSX, PPTX, and text files without saving them, so AI agents can summarize or analyze content in chat.
Instructions
Return the text of an attachment without saving it.
Supports PDF, docx, xlsx, pptx, and text files (txt, csv, json, xml, html, md).
Other types (images, zip, doc, xls, ppt): use download_attachment (local server only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| filename | Yes | ||
| max_chars | No | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |