create_test_suite
Creates static, requirement-based, or query-based test suites under an Azure DevOps test plan, helping you organize test cases by requirements or WIQL queries.
Instructions
Create a static, requirement-based, or query-based test suite under 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": {
"planId": "<planId>",
"name": "<name>"
},
"name": "create_test_suite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new test suite | |
| planId | Yes | The numeric ID of the parent test plan | |
| projectId | No | The ID or name of the project (Default: MyProject; required if AZURE_DEVOPS_DEFAULT_PROJECT is unset) | |
| suiteType | No | Suite type: "staticTestSuite" (default), "requirementTestSuite" (requires requirementId), or "dynamicTestSuite" (requires queryString) | staticTestSuite |
| queryString | No | WIQL query returning Test Case work items (required when suiteType is "dynamicTestSuite") | |
| parentSuiteId | No | Parent static suite ID. When omitted, automatically resolves and uses the test plan rootSuite ID. | |
| requirementId | No | Requirement / User Story / PBI work item ID (required when suiteType is "requirementTestSuite") | |
| inheritDefaultConfigurations | No | Whether the suite inherits default configurations from its parent |