Add Test Step Attachment
add_test_step_attachmentUpload evidence files to manual test steps. Attach screenshots or documents directly to specific steps inside a test result.
Instructions
Upload evidence to a manual attachment step inside a test result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step_name | No | Optional attachment-step name to resolve within the manual test result. | |
| attachment | Yes | Attachment payload using the repo-standard pattern: {name, content_type, content? | url?}. | |
| project_id | No | Optional override for the default Project ID. | |
| step_index | No | Optional zero-based manual step index to resolve within the test result execution. | |
| fixture_name | No | Optional fixture name used only for the legacy fixture-step fallback. | |
| fixture_type | No | Optional fixture type hint for the legacy fixture-step fallback: 'before' or 'after'. | |
| attachment_id | No | Optional explicit manual step attachment ID resolved from the test result execution. | |
| output_format | No | Output format: 'json' (default) or 'plain'. | |
| test_result_id | Yes | Parent test result ID (required). | |
| fixture_result_id | No | Optional explicit fixture result ID for legacy fixture-step fallback. |