xray_add_evidence_to_run
Attach a screenshot, PDF, or log file to a test run by passing base64-encoded content with filename and MIME type. Use it to document results directly on the run.
Instructions
Attach evidence to a test run. Pass base64-encoded file content with filename and mimeType. Evidence can be screenshots, PDFs, or log files. Use the Read tool or user attachment to obtain base64 content before calling this tool.
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": {
"id": "<id>",
"content": "<content>",
"filename": "<filename>",
"mimeType": "<mimeType>"
},
"name": "xray_add_evidence_to_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Test run internal ID | |
| format | No | Response format: toon (compact, default), json (full), summary (one-line) | toon |
| content | Yes | Base64-encoded file content (screenshot, PDF, log). Max ~7.5MB decoded. | |
| filename | Yes | Filename with extension, e.g. screenshot.png | |
| mimeType | Yes | MIME type, e.g. image/png, application/pdf, text/plain |