get_test_result_attachment_content
Download the binary content of a test result attachment by providing its attachment ID. Returns base64-encoded content with MIME type for rendering or decoding.
Instructions
Download the binary content of a test result attachment. Returns base64-encoded content with its MIME type. Use attachment ID from list_test_result_attachments. For text-based attachments (logs, JSON, XML): decode base64 to read the content. For images (screenshots): the base64 PNG/JPEG can be rendered directly.
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": {
"attachmentId": "<attachmentId>"
},
"name": "get_test_result_attachment_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachmentId | Yes | Attachment ID from list_test_result_attachments. Must be a number (integer), not a string. |