Add Test Result Attachment
add_test_result_attachmentUpload evidence files to a manual test result, returning attachment IDs for use in submission or later updates. Attach screenshots or logs to support test outcomes.
Instructions
Upload evidence to a manual test result.
The returned attachment_ids can be used as attachment_id values in submit_manual_test_results. Result-level evidence can also be uploaded after a manual result has been resolved.
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": {
"test_result_id": "<test_result_id>",
"attachment": "<attachment>"
},
"name": "add_test_result_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment | Yes | Attachment payload using the repo-standard pattern: {name, content_type, content? | url?}. | |
| project_id | No | Optional override for the default Project ID. | |
| output_format | No | Output format: 'json' (default) or 'plain'. | |
| test_result_id | Yes | Manual test result ID (required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | No | ||
| file_names | No | ||
| status_code | No | ||
| target_kind | No | ||
| attachment_ids | No |