Read Attachment
read_attachmentRead a slice of any file in the user's attachment library, by id.
Use this when the attachment summary doesn't contain enough data to answer. For spreadsheets, paginate with row_start/row_end (default window = 500 rows). For PDFs/PPTX and text files, use page_start/page_end (1-indexed, inclusive; default window = 10 pages). When the result has truncated=True, advance page_start to read on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | for multi-sheet xlsx, the sheet name (default: first sheet) | |
| columns | No | list of column names to keep (default: all) | |
| row_end | No | zero-indexed, exclusive (default: row_start + 500) | |
| page_end | No | 1-indexed, inclusive (PDFs/PPTX/text files) | |
| row_start | No | zero-indexed, inclusive | |
| page_start | No | 1-indexed, inclusive (PDFs/PPTX/text files) | |
| attachment_id | Yes | a file id from list_attachments or an [Attachment: id=N] summary |