create_test_plan
Creates a test plan in Allure TestOps from a name and optional project, tree, AQL base filter, and tree selection so teams can organize and run selected tests.
Instructions
Create a test plan and return {ok, id, name, projectId}.
base_rql is the AQL selection of the plan (e.g. tag.name = "smoke"). tree_selection_json: {"leafsInclude": [1001], "inverted": false} - the plan takes TreeSelectionDto, which has no filterId (that one belongs to running cases).
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 | ||
| tree_id | No | ||
| base_rql | No | ||
| project_id | No | ||
| tree_selection_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |