@alternative-path/qa-path-mcp 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +23 -0
- package/QUICK_INSTALL.md +133 -0
- package/README.md +226 -0
- package/TOOLS_DOCUMENTATION.md +675 -0
- package/dist/__tests__/tools/module-tools.test.d.ts +2 -0
- package/dist/__tests__/tools/module-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/module-tools.test.js +145 -0
- package/dist/__tests__/tools/module-tools.test.js.map +1 -0
- package/dist/__tests__/tools/project-tools.test.d.ts +2 -0
- package/dist/__tests__/tools/project-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/project-tools.test.js +674 -0
- package/dist/__tests__/tools/project-tools.test.js.map +1 -0
- package/dist/__tests__/tools/query-tools.test.d.ts +2 -0
- package/dist/__tests__/tools/query-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/query-tools.test.js +225 -0
- package/dist/__tests__/tools/query-tools.test.js.map +1 -0
- package/dist/__tests__/tools/testgroup-launch-tools.test.d.ts +2 -0
- package/dist/__tests__/tools/testgroup-launch-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/testgroup-launch-tools.test.js +553 -0
- package/dist/__tests__/tools/testgroup-launch-tools.test.js.map +1 -0
- package/dist/__tests__/utils/mcp-error-mapper.test.d.ts +2 -0
- package/dist/__tests__/utils/mcp-error-mapper.test.d.ts.map +1 -0
- package/dist/__tests__/utils/mcp-error-mapper.test.js +240 -0
- package/dist/__tests__/utils/mcp-error-mapper.test.js.map +1 -0
- package/dist/__tests__/utils/mcp-response.test.d.ts +2 -0
- package/dist/__tests__/utils/mcp-response.test.d.ts.map +1 -0
- package/dist/__tests__/utils/mcp-response.test.js +72 -0
- package/dist/__tests__/utils/mcp-response.test.js.map +1 -0
- package/dist/agents/test-planner-context.d.ts +7 -0
- package/dist/agents/test-planner-context.d.ts.map +1 -0
- package/dist/agents/test-planner-context.js +283 -0
- package/dist/agents/test-planner-context.js.map +1 -0
- package/dist/agents/test-planner-prompt.d.ts +34 -0
- package/dist/agents/test-planner-prompt.d.ts.map +1 -0
- package/dist/agents/test-planner-prompt.js +82 -0
- package/dist/agents/test-planner-prompt.js.map +1 -0
- package/dist/api-client.d.ts +52 -0
- package/dist/api-client.d.ts.map +1 -0
- package/dist/api-client.js +285 -0
- package/dist/api-client.js.map +1 -0
- package/dist/constants.d.ts +7 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +7 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +175 -0
- package/dist/index.js.map +1 -0
- package/dist/services/project-context-service.d.ts +15 -0
- package/dist/services/project-context-service.d.ts.map +1 -0
- package/dist/services/project-context-service.js +36 -0
- package/dist/services/project-context-service.js.map +1 -0
- package/dist/tools/auth-tools.d.ts +16 -0
- package/dist/tools/auth-tools.d.ts.map +1 -0
- package/dist/tools/auth-tools.js +66 -0
- package/dist/tools/auth-tools.js.map +1 -0
- package/dist/tools/automation-tools.d.ts +28 -0
- package/dist/tools/automation-tools.d.ts.map +1 -0
- package/dist/tools/automation-tools.js +541 -0
- package/dist/tools/automation-tools.js.map +1 -0
- package/dist/tools/export-import-tools.d.ts +18 -0
- package/dist/tools/export-import-tools.d.ts.map +1 -0
- package/dist/tools/export-import-tools.js +61 -0
- package/dist/tools/export-import-tools.js.map +1 -0
- package/dist/tools/module-tools.d.ts +43 -0
- package/dist/tools/module-tools.d.ts.map +1 -0
- package/dist/tools/module-tools.js +289 -0
- package/dist/tools/module-tools.js.map +1 -0
- package/dist/tools/project-context-tools.d.ts +19 -0
- package/dist/tools/project-context-tools.d.ts.map +1 -0
- package/dist/tools/project-context-tools.js +133 -0
- package/dist/tools/project-context-tools.js.map +1 -0
- package/dist/tools/project-tools.d.ts +47 -0
- package/dist/tools/project-tools.d.ts.map +1 -0
- package/dist/tools/project-tools.js +362 -0
- package/dist/tools/project-tools.js.map +1 -0
- package/dist/tools/query-tools.d.ts +22 -0
- package/dist/tools/query-tools.d.ts.map +1 -0
- package/dist/tools/query-tools.js +127 -0
- package/dist/tools/query-tools.js.map +1 -0
- package/dist/tools/testcase-tools.d.ts +135 -0
- package/dist/tools/testcase-tools.d.ts.map +1 -0
- package/dist/tools/testcase-tools.js +845 -0
- package/dist/tools/testcase-tools.js.map +1 -0
- package/dist/tools/testgroup-launch-tools.d.ts +37 -0
- package/dist/tools/testgroup-launch-tools.d.ts.map +1 -0
- package/dist/tools/testgroup-launch-tools.js +727 -0
- package/dist/tools/testgroup-launch-tools.js.map +1 -0
- package/dist/utils/mcp-error-mapper.d.ts +27 -0
- package/dist/utils/mcp-error-mapper.d.ts.map +1 -0
- package/dist/utils/mcp-error-mapper.js +79 -0
- package/dist/utils/mcp-error-mapper.js.map +1 -0
- package/dist/utils/mcp-response.d.ts +26 -0
- package/dist/utils/mcp-response.d.ts.map +1 -0
- package/dist/utils/mcp-response.js +34 -0
- package/dist/utils/mcp-response.js.map +1 -0
- package/package.json +60 -0
|
@@ -0,0 +1,675 @@
|
|
|
1
|
+
# QA-Path Tools Documentation
|
|
2
|
+
|
|
3
|
+
This document lists all MCP tools and prompts exposed by the QA-Path MCP server, with parameters, sample prompts to trigger each tool, and sample human-readable outputs.
|
|
4
|
+
|
|
5
|
+
For each tool you will find:
|
|
6
|
+
- **Sample prompt(s)** — Example natural-language prompts you can give (e.g. in chat) to trigger the tool.
|
|
7
|
+
- **Sample human-readable output** — What the user typically sees when the tool runs.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 0. Prompts (Agents)
|
|
12
|
+
|
|
13
|
+
### qa-path-test-planner
|
|
14
|
+
|
|
15
|
+
| Field | Value |
|
|
16
|
+
|-------|--------|
|
|
17
|
+
| **Prompt name** | `qa-path-test-planner` |
|
|
18
|
+
| **Title** | qa-path-test-planner |
|
|
19
|
+
| **Description** | Standard test plan agent. Uses embedded test-planning context to produce consistent, repeatable test plans, test cases, and automation workflows without manual context files. |
|
|
20
|
+
| **Arguments** | `project_summary` (optional) – Short description of the project/feature to plan tests for<br>`links` (optional) – BDD, TDD, JIRA, or Confluence links<br>`scope` (optional) – Test scope (in/out of scope, platforms, focus areas) |
|
|
21
|
+
|
|
22
|
+
**How to use**
|
|
23
|
+
- In Cursor: use the prompts list (e.g. slash command or prompt picker) and select **qa-path-test-planner**. Optionally fill in project summary, links, and scope.
|
|
24
|
+
- The agent receives the full test-planning context (structure, best practices, checklists) from the server; you do not need to attach or paste a context file.
|
|
25
|
+
|
|
26
|
+
**Sample usage**
|
|
27
|
+
- "Use the qa-path-test-planner prompt to create a test plan for the new Document Upload feature. Here's the BDD link: …"
|
|
28
|
+
- Invoke **qa-path-test-planner** with `project_summary`: "Transaction management migration", `links`: "Confluence page URL", `scope`: "In scope: UI and API; out of scope: legacy reports."
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 1. Auth Tools
|
|
33
|
+
|
|
34
|
+
### check_auth_status
|
|
35
|
+
|
|
36
|
+
| Field | Value |
|
|
37
|
+
|-------|--------|
|
|
38
|
+
| **Tool name** | `check_auth_status` |
|
|
39
|
+
| **Description** | Check if the MCP server is currently authenticated with the API. When authenticated, returns the logged-in user (id, username, user_email). |
|
|
40
|
+
| **Mandatory parameters** | None |
|
|
41
|
+
| **Optional parameters** | None |
|
|
42
|
+
|
|
43
|
+
**Sample prompt(s)**
|
|
44
|
+
- "Am I logged in? Check my auth status."
|
|
45
|
+
- "Who is currently authenticated?"
|
|
46
|
+
- "Verify that the MCP server is connected to QA-Path."
|
|
47
|
+
|
|
48
|
+
**Sample human-readable output**
|
|
49
|
+
- **Authenticated:** MCP server is authenticated. Current user: **Anirvan Goswami** (anirvan@alternative-path.com).
|
|
50
|
+
- **Not authenticated:** MCP server is not authenticated. Set `QA_PATH_API_KEY` in your MCP config and restart the server.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## 2. Project Context Tools
|
|
55
|
+
|
|
56
|
+
### set_active_project
|
|
57
|
+
|
|
58
|
+
| Field | Value |
|
|
59
|
+
|-------|--------|
|
|
60
|
+
| **Tool name** | `set_active_project` |
|
|
61
|
+
| **Description** | Set the active project for subsequent operations. Once set, all tools that require a project will use this project automatically — you won't need to pass `projectId` to every tool. |
|
|
62
|
+
| **Mandatory parameters** | `projectId` (string) – Project ID (UUID). Get this from `list_projects`. |
|
|
63
|
+
| **Optional parameters** | None |
|
|
64
|
+
|
|
65
|
+
**Sample prompt(s)**
|
|
66
|
+
- "Set my active project to 977dfeb2-e572-44da-8fe6-5c88f61609e4."
|
|
67
|
+
- "Use the QA Path Demo project for all operations."
|
|
68
|
+
- "Switch active project to d0951cf8-0622-4710-878a-fcc5536100e2."
|
|
69
|
+
|
|
70
|
+
**Sample human-readable output**
|
|
71
|
+
- **Success:** Active project set to **QA Path Demo** (ID: 977dfeb2-…). All subsequent operations will use this project.
|
|
72
|
+
- **Failure:** Project ID not found or invalid UUID.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
### get_active_project
|
|
77
|
+
|
|
78
|
+
| Field | Value |
|
|
79
|
+
|-------|--------|
|
|
80
|
+
| **Tool name** | `get_active_project` |
|
|
81
|
+
| **Description** | Get the currently active project. Returns the project ID, name, and prefix if one is set. |
|
|
82
|
+
| **Mandatory parameters** | None |
|
|
83
|
+
| **Optional parameters** | None |
|
|
84
|
+
|
|
85
|
+
**Sample prompt(s)**
|
|
86
|
+
- "What project am I currently working in?"
|
|
87
|
+
- "Show me the active project."
|
|
88
|
+
- "Which project is set as active?"
|
|
89
|
+
|
|
90
|
+
**Sample human-readable output**
|
|
91
|
+
- **Set:** Active project: **QA Path Demo** (prefix: QPD, ID: 977dfeb2-…).
|
|
92
|
+
- **Not set:** No active project set. Use `set_active_project` or pass `projectId` to each tool.
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## 3. Project Tools
|
|
97
|
+
|
|
98
|
+
### list_projects
|
|
99
|
+
|
|
100
|
+
| Field | Value |
|
|
101
|
+
|-------|--------|
|
|
102
|
+
| **Tool name** | `list_projects` |
|
|
103
|
+
| **Description** | List projects accessible to the authenticated user with filtering and sorting. Returns projects with their details including test case counts and module counts. |
|
|
104
|
+
| **Mandatory parameters** | `page` (number, min: 1) – Page number<br>`pageSize` (number, min: 1, max: 10000) – Number of results per page |
|
|
105
|
+
| **Optional parameters** | `query` (string) – Filter query in canonical format (e.g. `name = 'MyProject'`). Leave empty to get all.<br>`sortField` (string) – Field to sort by: `name`, `description`, `created_at`, `createdByUser`<br>`sortOrder` (string) – `ASC` or `DESC` |
|
|
106
|
+
|
|
107
|
+
**Sample prompt(s)**
|
|
108
|
+
- "List all my projects."
|
|
109
|
+
- "Show me the projects I have access to, sorted by name."
|
|
110
|
+
- "Find projects with 'demo' in the name."
|
|
111
|
+
|
|
112
|
+
**Sample human-readable output**
|
|
113
|
+
- **Success:** Found **2** project(s).
|
|
114
|
+
- **QA Path Demo** (prefix: QPD) — 12 test cases, 4 modules. ID: 977dfeb2-…
|
|
115
|
+
- **Harpal's Second Project** (prefix: HSS) — 5 test cases, 3 modules. ID: d0951cf8-…
|
|
116
|
+
- **Empty:** No projects found.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
### suggest_project_prefix
|
|
121
|
+
|
|
122
|
+
| Field | Value |
|
|
123
|
+
|-------|--------|
|
|
124
|
+
| **Tool name** | `suggest_project_prefix` |
|
|
125
|
+
| **Description** | Generate a unique project prefix suggestion based on the project name. Checks existing prefixes in the organisation and suggests an available one. |
|
|
126
|
+
| **Mandatory parameters** | `projectName` (string) – Project name to generate prefix from |
|
|
127
|
+
| **Optional parameters** | None |
|
|
128
|
+
|
|
129
|
+
**Sample prompt(s)**
|
|
130
|
+
- "Suggest a prefix for a project called 'Payment Gateway'."
|
|
131
|
+
- "What prefix should I use for 'Regression Suite'?"
|
|
132
|
+
|
|
133
|
+
**Sample human-readable output**
|
|
134
|
+
- **Success:** Suggested prefix for "Payment Gateway": **PAG**. This prefix is available.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
### create_project
|
|
139
|
+
|
|
140
|
+
| Field | Value |
|
|
141
|
+
|-------|--------|
|
|
142
|
+
| **Tool name** | `create_project` |
|
|
143
|
+
| **Description** | Create a new project in the organisation. The project name and prefix must be unique within the organisation. |
|
|
144
|
+
| **Mandatory parameters** | `name` (string) – Project name<br>`prefix` (string) – Project key prefix (2–4 characters, must be unique) |
|
|
145
|
+
| **Optional parameters** | `description` (string) – Project description<br>`context` (string) – Project context |
|
|
146
|
+
|
|
147
|
+
**Sample prompt(s)**
|
|
148
|
+
- "Create a project called 'Payment Gateway' with prefix PAG."
|
|
149
|
+
- "Add a new project named 'Regression Suite', prefix RS, description 'Nightly regression tests'."
|
|
150
|
+
|
|
151
|
+
**Sample human-readable output**
|
|
152
|
+
- **Success:** Project **Payment Gateway** (PAG) created successfully. ID: uuid-here.
|
|
153
|
+
- **Failure:** Creation failed. Name or prefix may already be in use.
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
### update_project
|
|
158
|
+
|
|
159
|
+
| Field | Value |
|
|
160
|
+
|-------|--------|
|
|
161
|
+
| **Tool name** | `update_project` |
|
|
162
|
+
| **Description** | Update an existing project. Only projects in the authenticated user's organisation can be updated. |
|
|
163
|
+
| **Mandatory parameters** | `projectId` (string) – Project ID (UUID) to update<br>`name` (string) – Updated project name |
|
|
164
|
+
| **Optional parameters** | `description` (string) – Updated project description<br>`context` (string) – Updated project context |
|
|
165
|
+
|
|
166
|
+
**Sample prompt(s)**
|
|
167
|
+
- "Rename project 977dfeb2-… to 'QA Path Production'."
|
|
168
|
+
- "Update the description of project d0951cf8-… to 'Main regression project'."
|
|
169
|
+
|
|
170
|
+
**Sample human-readable output**
|
|
171
|
+
- **Success:** Project updated successfully. Name is now **QA Path Production**.
|
|
172
|
+
- **Failure:** Update failed. Check that the project ID is valid and you have permission.
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## 4. Module Tools
|
|
177
|
+
|
|
178
|
+
### list_modules
|
|
179
|
+
|
|
180
|
+
| Field | Value |
|
|
181
|
+
|-------|--------|
|
|
182
|
+
| **Tool name** | `list_modules` |
|
|
183
|
+
| **Description** | List all modules, components, and subcomponents in the project. Returns a hierarchical tree structure with parent-child relationships. Supports searching by module name. |
|
|
184
|
+
| **Mandatory parameters** | None |
|
|
185
|
+
| **Optional parameters** | `search` (string) – Filter modules by name (case-insensitive)<br>`projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
186
|
+
|
|
187
|
+
**Sample prompt(s)**
|
|
188
|
+
- "List all modules in the project."
|
|
189
|
+
- "Show me the module tree for this project."
|
|
190
|
+
- "Find modules with 'login' in the name."
|
|
191
|
+
|
|
192
|
+
**Sample human-readable output**
|
|
193
|
+
- **Success:** Module tree for the project:
|
|
194
|
+
- **Module Edit** (level 1)
|
|
195
|
+
- **Component Edit** (level 2)
|
|
196
|
+
- **Module MCP** (level 1)
|
|
197
|
+
- **Empty:** No modules in this project yet.
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
### create_module
|
|
202
|
+
|
|
203
|
+
| Field | Value |
|
|
204
|
+
|-------|--------|
|
|
205
|
+
| **Tool name** | `create_module` |
|
|
206
|
+
| **Description** | Create a new module (level 1), component (level 2), or subcomponent (level 3). The level is determined by the `parentId`. |
|
|
207
|
+
| **Mandatory parameters** | `name` (string) – Name of the module/component/subcomponent |
|
|
208
|
+
| **Optional parameters** | `parentId` (string) – Parent module ID. If provided, creates a child; if not, creates a top-level module<br>`context` (string) – Optional context/description<br>`projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
209
|
+
|
|
210
|
+
**Sample prompt(s)**
|
|
211
|
+
- "Create a new module named 'Checkout Flow'."
|
|
212
|
+
- "Add a component called 'Login Flow' under module a627e125-…."
|
|
213
|
+
- "Create a subcomponent under component X with name 'Password Reset'."
|
|
214
|
+
|
|
215
|
+
**Sample human-readable output**
|
|
216
|
+
- **Success:** Module **Checkout Flow** created successfully (level 1). ID: uuid-here.
|
|
217
|
+
- **Failure:** Module creation failed. Check that the name is valid and you have permission.
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
### update_module
|
|
222
|
+
|
|
223
|
+
| Field | Value |
|
|
224
|
+
|-------|--------|
|
|
225
|
+
| **Tool name** | `update_module` |
|
|
226
|
+
| **Description** | Update an existing module, component, or subcomponent. You can change its name and/or context. |
|
|
227
|
+
| **Mandatory parameters** | `moduleId` (string) – ID of the module to update |
|
|
228
|
+
| **Optional parameters** | `name` (string) – New name<br>`context` (string) – New context/description<br>`projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
229
|
+
|
|
230
|
+
**Sample prompt(s)**
|
|
231
|
+
- "Rename module a627e125-… to 'Component Edit v2'."
|
|
232
|
+
- "Update the module's description to 'Login and logout flows'."
|
|
233
|
+
|
|
234
|
+
**Sample human-readable output**
|
|
235
|
+
- **Success:** Module updated successfully. Name is now **Component Edit v2**.
|
|
236
|
+
- **Failure:** Update failed. Ensure the module ID exists and you have permission.
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
### get_module
|
|
241
|
+
|
|
242
|
+
| Field | Value |
|
|
243
|
+
|-------|--------|
|
|
244
|
+
| **Tool name** | `get_module` |
|
|
245
|
+
| **Description** | Get detailed information about a specific module, including its children and path in the hierarchy. |
|
|
246
|
+
| **Mandatory parameters** | `moduleId` (string) – ID of the module to retrieve |
|
|
247
|
+
| **Optional parameters** | None |
|
|
248
|
+
|
|
249
|
+
**Sample prompt(s)**
|
|
250
|
+
- "Get details for module a627e125-…."
|
|
251
|
+
- "Show me the component Edit and its children."
|
|
252
|
+
- "What is the hierarchy path for this module?"
|
|
253
|
+
|
|
254
|
+
**Sample human-readable output**
|
|
255
|
+
- **Success:** **Component Edit** (level 2). Parent ID: … . Children: none.
|
|
256
|
+
- **Failure:** Module not found for the given ID.
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## 5. Test Case Tools
|
|
261
|
+
|
|
262
|
+
### list_test_cases
|
|
263
|
+
|
|
264
|
+
| Field | Value |
|
|
265
|
+
|-------|--------|
|
|
266
|
+
| **Tool name** | `list_test_cases` |
|
|
267
|
+
| **Description** | List test cases with filtering and sorting. Supports canonical format queries (e.g. `status = 'New' AND priority = 'High'`). Use `get_query_schema` with entity `testcase` to discover all filterable fields and valid values. |
|
|
268
|
+
| **Mandatory parameters** | None |
|
|
269
|
+
| **Optional parameters** | `query` (string, max 5000 chars) – Filter query in canonical format. Leave empty to get all.<br>`page` (number, default: 1) – Page number<br>`pageSize` (number, default: 25, max: 10000) – Results per page<br>`moduleId` (string) – Filter by module ID<br>`sortField` (string) – Sort by: `key`, `title`, `type`, `priority`, `status`, `created_at`, `updated_at`, etc.<br>`sortOrder` (string) – `asc` or `desc`<br>`timezone` (string) – Timezone for date parsing (e.g. `America/New_York`)<br>`projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
270
|
+
|
|
271
|
+
**Sample prompt(s)**
|
|
272
|
+
- "List all test cases in the project."
|
|
273
|
+
- "Show test cases in module a627e125-…."
|
|
274
|
+
- "Find test cases where status = 'New' AND priority = 'High'."
|
|
275
|
+
- "List test cases sorted by created_at desc, page 2."
|
|
276
|
+
|
|
277
|
+
**Sample human-readable output**
|
|
278
|
+
- **Success:** Found **10** test case(s) (page 1 of 1).
|
|
279
|
+
- **QPD-4** — Login Flow Test (status: New, priority: High, type: Functional Test).
|
|
280
|
+
- **QPD-5** — API Auth Test (status: Active, type: API test).
|
|
281
|
+
- **Empty:** No test cases match the filters.
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
### get_test_case
|
|
286
|
+
|
|
287
|
+
| Field | Value |
|
|
288
|
+
|-------|--------|
|
|
289
|
+
| **Tool name** | `get_test_case` |
|
|
290
|
+
| **Description** | Get detailed information about a specific test case by ID. |
|
|
291
|
+
| **Mandatory parameters** | `testCaseId` (string) – ID (UUID) of the test case to retrieve |
|
|
292
|
+
| **Optional parameters** | `projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
293
|
+
|
|
294
|
+
**Sample prompt(s)**
|
|
295
|
+
- "Get details for test case 1cf10d9c-…."
|
|
296
|
+
- "Show me test case QPD-4."
|
|
297
|
+
- "What is the full info for this test case including automation status?"
|
|
298
|
+
|
|
299
|
+
**Sample human-readable output**
|
|
300
|
+
- **Success:** **QPD-4** — Login Flow Test. Type: Functional Test. Status: New. Module: Component Edit.
|
|
301
|
+
- **Failure:** Test case not found for the given ID.
|
|
302
|
+
|
|
303
|
+
---
|
|
304
|
+
|
|
305
|
+
### get_execution_history
|
|
306
|
+
|
|
307
|
+
| Field | Value |
|
|
308
|
+
|-------|--------|
|
|
309
|
+
| **Tool name** | `get_execution_history` |
|
|
310
|
+
| **Description** | Get execution history for a test case (runs, results, dates). |
|
|
311
|
+
| **Mandatory parameters** | `testCaseId` (string) – ID (UUID) of the test case |
|
|
312
|
+
| **Optional parameters** | `projectId` (string) – Project ID (UUID). If not provided, uses active project.<br>`page` (number, default: 1) – Page number<br>`pageSize` (number, default: 25) – Results per page |
|
|
313
|
+
|
|
314
|
+
**Sample prompt(s)**
|
|
315
|
+
- "Show execution history for test case 1cf10d9c-…."
|
|
316
|
+
- "When was QPD-4 last run and what was the result?"
|
|
317
|
+
- "List past runs for this test case."
|
|
318
|
+
|
|
319
|
+
**Sample human-readable output**
|
|
320
|
+
- **Success:** 3 run(s) found. Run on 2025-01-28 — Passed; Run on 2025-01-27 — Failed.
|
|
321
|
+
- **Empty:** No execution history for this test case yet.
|
|
322
|
+
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
### get_execution_plan
|
|
326
|
+
|
|
327
|
+
| Field | Value |
|
|
328
|
+
|-------|--------|
|
|
329
|
+
| **Tool name** | `get_execution_plan` |
|
|
330
|
+
| **Description** | Get the exact details of the automated test steps (execution plan) for a test case. Returns the saved plan including steps, tool calls, assertions, and metadata. |
|
|
331
|
+
| **Mandatory parameters** | `testCaseId` (string) – ID (UUID) of the test case |
|
|
332
|
+
| **Optional parameters** | `projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
333
|
+
|
|
334
|
+
**Sample prompt(s)**
|
|
335
|
+
- "Get the execution plan for test case 1cf10d9c-…."
|
|
336
|
+
- "Show me the saved automation script for QPD-4."
|
|
337
|
+
- "What are the exact automation steps for this NLP test?"
|
|
338
|
+
|
|
339
|
+
**Sample human-readable output**
|
|
340
|
+
- **Success:** Execution plan for **QPD-4**: **14** steps. Steps include browser_navigate, browser_click, assertions, etc.
|
|
341
|
+
- **No plan:** No automation plan saved for this test case. Use `generate_nlp_script` to create one.
|
|
342
|
+
|
|
343
|
+
---
|
|
344
|
+
|
|
345
|
+
### create_test_case
|
|
346
|
+
|
|
347
|
+
| Field | Value |
|
|
348
|
+
|-------|--------|
|
|
349
|
+
| **Tool name** | `create_test_case` |
|
|
350
|
+
| **Description** | Create a new test case in a specified module, component, or subcomponent. |
|
|
351
|
+
| **Mandatory parameters** | `title` (string) – Title/summary of the test case<br>`moduleId` (string) – ID of the module/component/subcomponent |
|
|
352
|
+
| **Optional parameters** | `description` (string) – Detailed description<br>`type` (string) – e.g. `Functional Test`, `Regression Test`, `Smoke Test`, `API test`<br>`status` (string) – e.g. `New`, `In Progress`, `Completed`<br>`priority` (string) – e.g. `Low`, `Normal`, `High`, `Critical`<br>`estimatedDuration` (number) – Estimated duration in minutes<br>`testData` (string) – Test data as JSON string<br>`labels` (array of strings) – Label names<br>`projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
353
|
+
|
|
354
|
+
**Sample prompt(s)**
|
|
355
|
+
- "Create a test case titled 'Validate Login' in module a627e125-…."
|
|
356
|
+
- "Add a new API test called 'Checkout Flow' in the given module, status Active, priority High."
|
|
357
|
+
|
|
358
|
+
**Sample human-readable output**
|
|
359
|
+
- **Success:** Test case created. **QPD-5** — Validate Login. ID: uuid-here.
|
|
360
|
+
- **Failure:** Creation failed. Check that the module ID is valid and required fields (title, moduleId) are provided.
|
|
361
|
+
|
|
362
|
+
---
|
|
363
|
+
|
|
364
|
+
### update_test_case
|
|
365
|
+
|
|
366
|
+
| Field | Value |
|
|
367
|
+
|-------|--------|
|
|
368
|
+
| **Tool name** | `update_test_case` |
|
|
369
|
+
| **Description** | Update an existing test case. You can update any field. |
|
|
370
|
+
| **Mandatory parameters** | `testCaseId` (string) – ID of the test case to update |
|
|
371
|
+
| **Optional parameters** | `title` (string)<br>`description` (string)<br>`type` (string)<br>`status` (string)<br>`priority` (string)<br>`estimatedDuration` (number) – Minutes<br>`testData` (string) – JSON string<br>`labels` (array of strings)<br>`projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
372
|
+
|
|
373
|
+
**Sample prompt(s)**
|
|
374
|
+
- "Update test case 1cf10d9c-…: set priority to High and status to Active."
|
|
375
|
+
- "Change QPD-4 title to 'Updated Login Test' and estimated duration to 60 minutes."
|
|
376
|
+
|
|
377
|
+
**Sample human-readable output**
|
|
378
|
+
- **Success:** Test case updated. Priority: High; Status: Active.
|
|
379
|
+
- **Failure:** Update failed. Ensure the test case ID exists and you have permission.
|
|
380
|
+
|
|
381
|
+
---
|
|
382
|
+
|
|
383
|
+
## 6. Export / Import Tools
|
|
384
|
+
|
|
385
|
+
### get_export_structure
|
|
386
|
+
|
|
387
|
+
| Field | Value |
|
|
388
|
+
|-------|--------|
|
|
389
|
+
| **Tool name** | `get_export_structure` |
|
|
390
|
+
| **Description** | Get the module structure and test case fields needed for export. Returns JSON with module hierarchy and available test case fields. Can be used to generate Excel templates. |
|
|
391
|
+
| **Mandatory parameters** | None |
|
|
392
|
+
| **Optional parameters** | `projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
393
|
+
|
|
394
|
+
**Sample prompt(s)**
|
|
395
|
+
- "Get the export structure for this project."
|
|
396
|
+
- "What modules and test case fields are available for export?"
|
|
397
|
+
|
|
398
|
+
**Sample human-readable output**
|
|
399
|
+
- **Success:** Export structure retrieved. **Modules:** Module Edit (id: …), Component Edit (id: …). **Test case fields:** title, description, type, status, priority, estimatedDuration, testData, labels, …
|
|
400
|
+
- **Empty:** No modules in project; testCaseFields list is still available.
|
|
401
|
+
|
|
402
|
+
---
|
|
403
|
+
|
|
404
|
+
## 7. Automation Tools
|
|
405
|
+
|
|
406
|
+
### generate_nlp_script
|
|
407
|
+
|
|
408
|
+
| Field | Value |
|
|
409
|
+
|-------|--------|
|
|
410
|
+
| **Tool name** | `generate_nlp_script` |
|
|
411
|
+
| **Description** | Generate an automation script from NLP instructions using the Script Creator flow. Runs the AI agent to interpret and execute the instructions, then saves the generated script to the specified test case. Returns execution logs and test steps. Use `list_llm_models` to get available model IDs first. |
|
|
412
|
+
| **Mandatory parameters** | `nlpInstructions` (string) – NLP instructions (one per line). Example: `open https://example.com\nClick Login\nEnter username and password`<br>`modelId` (string) – ID of the AI model to use. Get from `list_llm_models`.<br>`testCaseId` (string) – UUID of the test case where the script will be saved |
|
|
413
|
+
| **Optional parameters** | `projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
414
|
+
|
|
415
|
+
**Sample prompt(s)**
|
|
416
|
+
- "First list the available LLM models, then generate an NLP script for test case 1cf10d9c-… with instructions: Navigate to https://www.saucedemo.com, enter username standard_user, enter password secret_sauce, verify logged in."
|
|
417
|
+
- "Generate automation from these steps and save to QPD-4: open login page, type username, type password, click Login, check welcome message."
|
|
418
|
+
|
|
419
|
+
**Sample human-readable output**
|
|
420
|
+
- **Success:** NLP script generated and saved to **QPD-4**. Status: Completed. Steps executed: 9. Execution time: ~45s.
|
|
421
|
+
- **Failure:** Check that `modelId` is valid (use `list_llm_models`) and `testCaseId` exists.
|
|
422
|
+
|
|
423
|
+
---
|
|
424
|
+
|
|
425
|
+
## 8. Test Group & Test Launch Tools
|
|
426
|
+
|
|
427
|
+
### list_testgroups
|
|
428
|
+
|
|
429
|
+
| Field | Value |
|
|
430
|
+
|-------|--------|
|
|
431
|
+
| **Tool name** | `list_testgroups` |
|
|
432
|
+
| **Description** | List test groups in a project with filtering and sorting. |
|
|
433
|
+
| **Mandatory parameters** | `page` (number, min: 1) – Page number<br>`pageSize` (number, min: 1, max: 10000) – Results per page |
|
|
434
|
+
| **Optional parameters** | `query` (string, max 5000 chars) – Filter query in canonical format<br>`sortField` (string) – Sort by: `name`, `description`, `key`, `group_type`, `created_at`, `updated_at`, `next_scheduled_run`, `createdByUser`<br>`sortOrder` (string) – `ASC` or `DESC`<br>`projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
435
|
+
|
|
436
|
+
**Sample prompt(s)**
|
|
437
|
+
- "List all test groups in this project."
|
|
438
|
+
- "Show test groups sorted by created_at descending."
|
|
439
|
+
|
|
440
|
+
**Sample human-readable output**
|
|
441
|
+
- **Success:** Found **3** test group(s). TG-910 — Smoke Suite; TG-915 — Nightly Regression; TG-920 — API Tests.
|
|
442
|
+
- **Empty:** No test groups found.
|
|
443
|
+
|
|
444
|
+
---
|
|
445
|
+
|
|
446
|
+
### get_testgroup
|
|
447
|
+
|
|
448
|
+
| Field | Value |
|
|
449
|
+
|-------|--------|
|
|
450
|
+
| **Tool name** | `get_testgroup` |
|
|
451
|
+
| **Description** | Get detailed information about a specific test group by ID, including associated test cases. |
|
|
452
|
+
| **Mandatory parameters** | `testGroupId` (string) – UUID of the test group |
|
|
453
|
+
| **Optional parameters** | `projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
454
|
+
|
|
455
|
+
**Sample prompt(s)**
|
|
456
|
+
- "Get details for test group c967fb57-…."
|
|
457
|
+
- "Show me what test cases are in TG-915."
|
|
458
|
+
|
|
459
|
+
**Sample human-readable output**
|
|
460
|
+
- **Success:** **TG-915** — Nightly Regression. Type: Static. Contains 5 test case(s): QPD-4, QPD-5, …
|
|
461
|
+
- **Failure:** Test group not found for the given ID.
|
|
462
|
+
|
|
463
|
+
---
|
|
464
|
+
|
|
465
|
+
### create_testgroup
|
|
466
|
+
|
|
467
|
+
| Field | Value |
|
|
468
|
+
|-------|--------|
|
|
469
|
+
| **Tool name** | `create_testgroup` |
|
|
470
|
+
| **Description** | Create a new test group in a project. Test groups are used to organise test cases for execution (test launches). |
|
|
471
|
+
| **Mandatory parameters** | `name` (string) – Name of the test group |
|
|
472
|
+
| **Optional parameters** | `description` (string) – Optional description<br>`projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
473
|
+
|
|
474
|
+
**Sample prompt(s)**
|
|
475
|
+
- "Create a test group named 'Nightly Regression'."
|
|
476
|
+
- "Add a new test group called 'Smoke Suite' with description 'Pre-release smoke tests'."
|
|
477
|
+
|
|
478
|
+
**Sample human-readable output**
|
|
479
|
+
- **Success:** Test group **Nightly Regression** created. Key: **TG-916**. ID: uuid-here.
|
|
480
|
+
- **Failure:** Test group creation failed. Check name and permissions.
|
|
481
|
+
|
|
482
|
+
---
|
|
483
|
+
|
|
484
|
+
### update_tests_in_testgroup
|
|
485
|
+
|
|
486
|
+
| Field | Value |
|
|
487
|
+
|-------|--------|
|
|
488
|
+
| **Tool name** | `update_tests_in_testgroup` |
|
|
489
|
+
| **Description** | Add and/or remove test cases from an existing test group. At least one of `addTestCaseIds` or `removeTestCaseIds` must be provided. |
|
|
490
|
+
| **Mandatory parameters** | `testGroupId` (string) – UUID of the test group |
|
|
491
|
+
| **Optional parameters** | `addTestCaseIds` (array of strings) – Test case UUIDs to add<br>`removeTestCaseIds` (array of strings) – Test case UUIDs to remove<br>`projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
492
|
+
|
|
493
|
+
**Sample prompt(s)**
|
|
494
|
+
- "Add test case 1cf10d9c-… to test group c967fb57-…."
|
|
495
|
+
- "Update TG-915: add QPD-4 and QPD-5, remove QPD-3."
|
|
496
|
+
|
|
497
|
+
**Sample human-readable output**
|
|
498
|
+
- **Success:** Test group updated. Added: 2. Removed: 1.
|
|
499
|
+
- **Failure:** Provide at least one non-empty list (addTestCaseIds or removeTestCaseIds).
|
|
500
|
+
|
|
501
|
+
---
|
|
502
|
+
|
|
503
|
+
### list_environments
|
|
504
|
+
|
|
505
|
+
| Field | Value |
|
|
506
|
+
|-------|--------|
|
|
507
|
+
| **Tool name** | `list_environments` |
|
|
508
|
+
| **Description** | List environments available for the project. Use this to get `environmentId` for `create_test_launch`. |
|
|
509
|
+
| **Mandatory parameters** | None |
|
|
510
|
+
| **Optional parameters** | `projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
511
|
+
|
|
512
|
+
**Sample prompt(s)**
|
|
513
|
+
- "List environments for this project."
|
|
514
|
+
- "What environments are available for test launches?"
|
|
515
|
+
|
|
516
|
+
**Sample human-readable output**
|
|
517
|
+
- **Success:** Found **2** environment(s). **Staging** (id: uuid-1); **Production** (id: uuid-2).
|
|
518
|
+
- **Empty:** No environments configured for this project.
|
|
519
|
+
|
|
520
|
+
---
|
|
521
|
+
|
|
522
|
+
### list_llm_models
|
|
523
|
+
|
|
524
|
+
| Field | Value |
|
|
525
|
+
|-------|--------|
|
|
526
|
+
| **Tool name** | `list_llm_models` |
|
|
527
|
+
| **Description** | List LLM (automation) models available for test launches and NLP script generation. Use this to get `modelId` for `generate_nlp_script` or `llmModelId` for `create_test_launch`. |
|
|
528
|
+
| **Mandatory parameters** | None |
|
|
529
|
+
| **Optional parameters** | `projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
530
|
+
|
|
531
|
+
**Sample prompt(s)**
|
|
532
|
+
- "List available LLM models."
|
|
533
|
+
- "What AI models can I use for automation?"
|
|
534
|
+
|
|
535
|
+
**Sample human-readable output**
|
|
536
|
+
- **Success:** Found **2** model(s). **gpt-4o-mini** (id: uuid-1); **5.1 model** (id: uuid-2).
|
|
537
|
+
|
|
538
|
+
---
|
|
539
|
+
|
|
540
|
+
### create_test_launch
|
|
541
|
+
|
|
542
|
+
| Field | Value |
|
|
543
|
+
|-------|--------|
|
|
544
|
+
| **Tool name** | `create_test_launch` |
|
|
545
|
+
| **Description** | Create a new test launch in an existing test group. A test launch runs the test cases associated with the group. Use `list_environments` and `list_llm_models` to get the required IDs. |
|
|
546
|
+
| **Mandatory parameters** | `testGroupId` (string) – UUID of the test group to launch<br>`environmentId` (string) – Environment UUID. Get from `list_environments`.<br>`llmModelId` (string) – LLM model UUID. Get from `list_llm_models`. |
|
|
547
|
+
| **Optional parameters** | `name` (string, max 100 chars) – Optional name for the launch<br>`projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
548
|
+
|
|
549
|
+
**Sample prompt(s)**
|
|
550
|
+
- "List environments and models, then create a test launch for test group c967fb57-… named 'Nightly Run'."
|
|
551
|
+
- "Launch TG-915 using the Staging environment and gpt-4o-mini model."
|
|
552
|
+
|
|
553
|
+
**Sample human-readable output**
|
|
554
|
+
- **Success:** Test launch created. **TL-491** — Nightly Run. Status: in_progress. ID: uuid-here.
|
|
555
|
+
- **Failure:** Launch failed. Ensure environmentId and llmModelId are valid UUIDs from their respective list tools.
|
|
556
|
+
|
|
557
|
+
---
|
|
558
|
+
|
|
559
|
+
### list_test_launches
|
|
560
|
+
|
|
561
|
+
| Field | Value |
|
|
562
|
+
|-------|--------|
|
|
563
|
+
| **Tool name** | `list_test_launches` |
|
|
564
|
+
| **Description** | List test launches for a specific test group. Supports searching by name/key and filtering by status. |
|
|
565
|
+
| **Mandatory parameters** | `testGroupId` (string) – UUID of the test group |
|
|
566
|
+
| **Optional parameters** | `search` (string, max 255 chars) – Filter launches by name or key<br>`status` (string) – Filter by status: `all`, `new`, `in_progress`, `completed`, `aborted`, `paused` (default: `all`)<br>`page` (number, default: 1) – Page number<br>`pageSize` (number, default: 25, max: 100) – Results per page<br>`projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
567
|
+
|
|
568
|
+
**Sample prompt(s)**
|
|
569
|
+
- "List all launches for test group c967fb57-…."
|
|
570
|
+
- "Show in_progress launches for TG-915."
|
|
571
|
+
- "Find a launch named 'Nightly Run' in this test group."
|
|
572
|
+
|
|
573
|
+
**Sample human-readable output**
|
|
574
|
+
- **Success:** Found **3** launch(es). TL-489 — Completed; TL-490 — Aborted; TL-491 — In Progress.
|
|
575
|
+
- **Empty:** No launches found matching the filters.
|
|
576
|
+
|
|
577
|
+
---
|
|
578
|
+
|
|
579
|
+
### get_test_launch
|
|
580
|
+
|
|
581
|
+
| Field | Value |
|
|
582
|
+
|-------|--------|
|
|
583
|
+
| **Tool name** | `get_test_launch` |
|
|
584
|
+
| **Description** | Get detailed information about a specific test launch by ID, including status and execution statistics. |
|
|
585
|
+
| **Mandatory parameters** | `launchId` (string) – UUID of the test launch |
|
|
586
|
+
| **Optional parameters** | `projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
587
|
+
|
|
588
|
+
**Sample prompt(s)**
|
|
589
|
+
- "Get details for test launch ce259325-…."
|
|
590
|
+
- "Show me the status and stats for TL-491."
|
|
591
|
+
|
|
592
|
+
**Sample human-readable output**
|
|
593
|
+
- **Success:** **TL-491** — Nightly Run. Status: in_progress. Test cases: 5 total, 3 passed, 1 failed, 1 pending.
|
|
594
|
+
- **Failure:** Test launch not found for the given ID.
|
|
595
|
+
|
|
596
|
+
---
|
|
597
|
+
|
|
598
|
+
### update_test_launch
|
|
599
|
+
|
|
600
|
+
| Field | Value |
|
|
601
|
+
|-------|--------|
|
|
602
|
+
| **Tool name** | `update_test_launch` |
|
|
603
|
+
| **Description** | Update an existing test launch status to `completed` or `aborted`. |
|
|
604
|
+
| **Mandatory parameters** | `launchId` (string) – UUID of the test launch<br>`status` (string) – New status: `completed` or `aborted` |
|
|
605
|
+
| **Optional parameters** | `projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
606
|
+
|
|
607
|
+
**Sample prompt(s)**
|
|
608
|
+
- "Mark test launch ce259325-… as completed."
|
|
609
|
+
- "Abort the running test launch TL-491."
|
|
610
|
+
|
|
611
|
+
**Sample human-readable output**
|
|
612
|
+
- **Success:** Test launch status updated to **completed**. Launch ID: ce259325-….
|
|
613
|
+
- **Failure:** Only `completed` and `aborted` are supported. Ensure the launch ID exists.
|
|
614
|
+
|
|
615
|
+
---
|
|
616
|
+
|
|
617
|
+
## 9. Query Tools
|
|
618
|
+
|
|
619
|
+
### get_query_schema
|
|
620
|
+
|
|
621
|
+
| Field | Value |
|
|
622
|
+
|-------|--------|
|
|
623
|
+
| **Tool name** | `get_query_schema` |
|
|
624
|
+
| **Description** | Get the query schema for any entity (`testcase`, `testgroup`, or `project`). Returns all filterable fields, their supported operators, and valid values (including IDs for user/module fields). Use this before constructing a `query` parameter for `list_test_cases`, `list_testgroups`, or `list_projects`. |
|
|
625
|
+
| **Mandatory parameters** | `entity` (string) – Entity type: `testcase`, `testgroup`, or `project` |
|
|
626
|
+
| **Optional parameters** | `projectId` (string) – Project ID (UUID). If not provided, uses active project. |
|
|
627
|
+
|
|
628
|
+
**Sample prompt(s)**
|
|
629
|
+
- "Get the query schema for test cases."
|
|
630
|
+
- "What fields can I filter test groups by?"
|
|
631
|
+
- "Show me all filterable fields for projects."
|
|
632
|
+
|
|
633
|
+
**Sample human-readable output**
|
|
634
|
+
- **Success:** Query schema for **testcase**: Fields: `status` (operators: `=`, `!=`; values: `New`, `Active`, …), `priority` (operators: `=`, `!=`; values: `Low`, `Normal`, `High`, `Critical`), `moduleId` (operators: `=`; values: [list of module IDs and names]), …
|
|
635
|
+
|
|
636
|
+
---
|
|
637
|
+
|
|
638
|
+
## Summary Table
|
|
639
|
+
|
|
640
|
+
| Category | Tool name | Mandatory parameters | Optional parameters |
|
|
641
|
+
|----------|-----------|----------------------|---------------------|
|
|
642
|
+
| Auth | check_auth_status | — | — |
|
|
643
|
+
| Project context | set_active_project | projectId | — |
|
|
644
|
+
| Project context | get_active_project | — | — |
|
|
645
|
+
| Project | list_projects | page, pageSize | query, sortField, sortOrder |
|
|
646
|
+
| Project | suggest_project_prefix | projectName | — |
|
|
647
|
+
| Project | create_project | name, prefix | description, context |
|
|
648
|
+
| Project | update_project | projectId, name | description, context |
|
|
649
|
+
| Module | list_modules | — | search, projectId |
|
|
650
|
+
| Module | create_module | name | parentId, context, projectId |
|
|
651
|
+
| Module | update_module | moduleId | name, context, projectId |
|
|
652
|
+
| Module | get_module | moduleId | — |
|
|
653
|
+
| Test case | list_test_cases | — | query, page, pageSize, moduleId, sortField, sortOrder, timezone, projectId |
|
|
654
|
+
| Test case | get_test_case | testCaseId | projectId |
|
|
655
|
+
| Test case | get_execution_history | testCaseId | projectId, page, pageSize |
|
|
656
|
+
| Test case | get_execution_plan | testCaseId | projectId |
|
|
657
|
+
| Test case | create_test_case | title, moduleId | description, type, status, priority, estimatedDuration, testData, labels, projectId |
|
|
658
|
+
| Test case | update_test_case | testCaseId | title, description, type, status, priority, estimatedDuration, testData, labels, projectId |
|
|
659
|
+
| Export | get_export_structure | — | projectId |
|
|
660
|
+
| Automation | generate_nlp_script | nlpInstructions, modelId, testCaseId | projectId |
|
|
661
|
+
| Test group | list_testgroups | page, pageSize | query, sortField, sortOrder, projectId |
|
|
662
|
+
| Test group | get_testgroup | testGroupId | projectId |
|
|
663
|
+
| Test group | create_testgroup | name | description, projectId |
|
|
664
|
+
| Test group | update_tests_in_testgroup | testGroupId | addTestCaseIds, removeTestCaseIds, projectId |
|
|
665
|
+
| Test launch | list_environments | — | projectId |
|
|
666
|
+
| Test launch | list_llm_models | — | projectId |
|
|
667
|
+
| Test launch | create_test_launch | testGroupId, environmentId, llmModelId | name, projectId |
|
|
668
|
+
| Test launch | list_test_launches | testGroupId | search, status, page, pageSize, projectId |
|
|
669
|
+
| Test launch | get_test_launch | launchId | projectId |
|
|
670
|
+
| Test launch | update_test_launch | launchId, status | projectId |
|
|
671
|
+
| Query | get_query_schema | entity | projectId |
|
|
672
|
+
|
|
673
|
+
---
|
|
674
|
+
|
|
675
|
+
*Set `QA_PATH_API_KEY` in your MCP config for authentication. Use `set_active_project` once per session to avoid passing `projectId` to every tool call.*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-tools.test.d.ts","sourceRoot":"","sources":["../../../src/__tests__/tools/module-tools.test.ts"],"names":[],"mappings":""}
|