create_test_plan
Create an Azure DevOps test plan in a project to organize and track testing work. Specify a name and optional details such as state, owner, build, dates, area path, and iteration.
Instructions
Create a new test plan in a project (requires Basic + Test Plans license and Test Management write permission)
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": {
"name": "<name>"
},
"name": "create_test_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new test plan | |
| state | No | State of the test plan (e.g., "Active", "Inactive") | |
| buildId | No | Optional build ID associated with the test plan | |
| endDate | No | End date in ISO 8601 format (e.g., "2026-06-30") | |
| ownerId | No | User ID (GUID) of the test plan owner | |
| areaPath | No | Area path for the test plan | |
| iteration | No | Iteration path for the test plan (e.g., "MyProject\\Sprint 1"). Defaults to projectId when omitted (specify explicitly if projectId is a project GUID). | |
| projectId | No | The ID or name of the project (Default: MyProject; required if AZURE_DEVOPS_DEFAULT_PROJECT is unset) | |
| startDate | No | Start date in ISO 8601 format (e.g., "2026-06-01") | |
| description | No | Description of the test plan |