add_run
Create a new test run in TestRail by providing a project ID and run name, with optional case selection, suite, milestone, description, or assignee.
Instructions
Create 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": {
"project_id": "<project_id>",
"name": "<name>"
},
"name": "add_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Run name | |
| refs | No | Comma-separated references | |
| case_ids | No | Case IDs (when include_all=false) | |
| suite_id | No | Suite ID (for multi-suite projects) | |
| project_id | Yes | Project ID | |
| description | No | Run description | |
| include_all | No | Include all test cases | |
| milestone_id | No | Milestone ID | |
| assignedto_id | No | User ID to assign |