get_work_item_attachment_content
Retrieve attachment content for a Polarion work item. Supports viewing images (PNG, JPEG, GIF, WebP) and returns SVG source markup as text.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"work_item_id": "<work_item_id>",
"attachment_id": "<attachment_id>"
},
"name": "get_work_item_attachment_content"
}
}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. |