get_test_record_attachment_content
Fetch a test record's attachment content from Polarion, rendering images and SVG markup for immediate viewing.
Instructions
Fetch a test record 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 or get_work_item_attachment_content for the other domains. Use list_test_record_attachments to discover attachment ids, file names, and sizes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iteration | No | Record iteration number (0-based). | |
| project_id | Yes | Polarion project ID. | |
| test_run_id | Yes | Test run ID (e.g. 'TR-2026-01'). | |
| test_case_id | Yes | Full test case work item ID 'project/WI-id' as returned by list_test_records. | |
| attachment_id | Yes | Attachment id ({testCaseId}_{fileName} token) from list_test_record_attachments. |