get_work_item_attachment_content
Retrieve a work item attachment's content for viewing. Images (PNG, JPEG, GIF, WebP) display inline; SVG returns source markup. Use attachment ID from list_work_item_attachments.
Instructions
Fetch a work item attachment's content for viewing.
PNG, JPEG, GIF, and WebP return as a viewable image; SVG returns its source markup as text. Any other extension is rejected before any request. Use get_document_attachment_content for document attachments. Use list_work_item_attachments to discover attachment ids, file names, and sizes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Polarion project ID. | |
| work_item_id | Yes | Work item ID within project_id. | |
| attachment_id | Yes | Attachment id (bare filename token) from list_work_item_attachments. |