Skills & utilities
email_read_attachment
Read the text content of a file the operator attached to the current chat thread.
read email_read_attachment
Read the text content of a file the operator attached to the current chat thread. Use for CSV, TXT, Markdown, or JSON attachments — image attachments are passed to you as vision input and don't need this tool. Returns up to 50KB of decoded text. Resolve messageId from the file part's parent UIMessage in the conversation.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
messageId | string | Yes | The id of the UIMessage that holds the attachment. |
attachmentIndex | integer | No | Zero-based index into the message's file parts (in order of appearance). Defaults to the first file. |
projectId | string | No | Target company (project id). Org-scoped tokens only; call email_list_projects first. |