add_attachment_to_plan
Attach files to test plans in TestRail to document requirements, evidence, or supporting materials for testing processes.
Instructions
Add an attachment to a test plan
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": {
"plan_id": "<plan_id>",
"file_path": "<file_path>"
},
"name": "add_attachment_to_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | Plan ID | |
| file_path | Yes | Path to the file to upload |