Read an attachment's text
read_attachmentsRead the text content of an attachment — markdown (.md) first and foremost, plus plain text, CSV, JSON, YAML, XML and HTML. Use this after list_attachments or retrieve_attachments: the url those return is a short-lived signed URL on a private bucket and cannot be fetched directly. Pass the attachment id in kwargs and company_id in the body. At most 256 KB are returned per call: when truncated is true, call again with offset set to the returned next_offset to get the next slice, and repeat until truncated is false — size in the response is metadata written at upload time, not a count of bytes actually read, so don't rely on it to decide you are done paging. PDF and Office files (.docx, .xlsx, .pptx) are NOT readable yet — that is a known gap, not a broken file; point the user at app_url instead. Each attachment carries app_url, a deep link to its project's attachments page — null for company-level attachments, which have no dedicated page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| kwargs | Yes |