Add Attachment to TestRail Case
add_attachment_to_caseUpload file attachments to TestRail test cases to provide supporting documentation, evidence, or reference materials for comprehensive test management.
Instructions
Upload a file attachment to a TestRail test case.
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": {
"case_id": "<case_id>",
"file_path": "<file_path>"
},
"name": "add_attachment_to_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | TestRail case ID | |
| file_path | Yes | Path to the file to upload as attachment |