addRun
Create a new test run in TestRail by specifying project ID and run name, with optional case selection, suite, configuration, milestone, and assignee.
Instructions
Creates a new test run in a TestRail project / TestRailプロジェクトに新しいテスト実行を作成します
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": {
"projectId": "<projectId>",
"name": "<name>"
},
"name": "addRun"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Test run name | |
| refs | No | Reference/requirement IDs | |
| caseIds | No | Specific case IDs to include | |
| suiteId | No | Suite ID (required for multi-suite projects) | |
| configIds | No | Configuration IDs to use | |
| projectId | Yes | TestRail Project ID | |
| includeAll | No | Include all test cases from the suite | |
| description | No | Test run description | |
| milestoneId | No | Milestone ID | |
| assignedtoId | No | User ID to assign to |