read_work_item_attachment
Fetch attachment content from a Plane work item to read or analyze images and text files. Supports PNG, JPEG, GIF, WEBP and TXT, MD, CSV, HTML, XML, YAML, JSON, returning vision images or strings.
Instructions
Fetch an attachment's content so the LLM can read or analyze it.
Supported file types: Images (returned as vision-readable image, max 5 MB): PNG, JPEG, GIF, WEBP Text (returned as a string, max 1 MB): TXT, MD, CSV, HTML, XML, YAML, JSON
Not supported (use get_work_item_attachment_download_url instead): PDF — requires a text-extraction library (not installed) DOCX/XLSX/PPTX — binary Office formats, require extraction Audio / Video — non-textual binary formats Generic binary — executables, archives, etc.
Args: project_id: UUID of the project work_item_id: UUID of the work item attachment_id: UUID of the attachment
Returns: Image object for image files, plain string for text files.
Raises: ValueError: If the file type is unsupported or the file exceeds the size limit for its category.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| work_item_id | Yes | ||
| attachment_id | Yes |