add_attachment_to_case
Attach files to test cases in TestRail to provide supporting documentation, evidence, or related materials for testing purposes.
Instructions
Add an attachment to a 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 | Case ID | |
| file_path | Yes | Path to the file to upload |