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

ParameterTypeRequiredDescription
messageIdstringYesThe id of the UIMessage that holds the attachment.
attachmentIndexintegerNoZero-based index into the message's file parts (in order of appearance). Defaults to the first file.
projectIdstringNoTarget company (project id). Org-scoped tokens only; call email_list_projects first.

On this page