add_attachment_to_run
Upload files to a TestRail test run to document results, add screenshots, or include supporting evidence for test execution records.
Instructions
Add an attachment to a test run
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": {
"run_id": "<run_id>",
"file_path": "<file_path>"
},
"name": "add_attachment_to_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Run ID | |
| file_path | Yes | Path to the file to upload |