add_test_cases_to_suite
Attach existing Test Case work items to a static or requirement-based test suite in Azure DevOps, with optional configuration IDs, to organize test coverage in a test plan.
Instructions
Attach one or more existing Test Case work items to a static or requirement-based test suite
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": {
"planId": "<planId>",
"suiteId": "<suiteId>",
"testCaseIds": "<testCaseIds>"
},
"name": "add_test_cases_to_suite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planId | Yes | The numeric ID of the test plan | |
| suiteId | Yes | The numeric ID of the static or requirement-based test suite (cannot add to query-based suites) | |
| projectId | No | The ID or name of the project (Default: MyProject; required if AZURE_DEVOPS_DEFAULT_PROJECT is unset) | |
| testCaseIds | Yes | Non-empty list of Test Case work item IDs to attach to the suite | |
| configurationIds | No | Optional test configuration IDs to assign to the added test cases |