@testomatio/mcp 1.0.14 → 2.0.0-beta.9

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.
@@ -0,0 +1,173 @@
1
+ export const LABELS_TOOLS = [
2
+ {
3
+ "name": "labels_list",
4
+ "description": "List labels (/api/v2/{project_id}/labels)",
5
+ "inputSchema": {
6
+ "type": "object",
7
+ "properties": {
8
+ "page": {
9
+ "type": "integer",
10
+ "minimum": 1
11
+ },
12
+ "per_page": {
13
+ "type": "integer",
14
+ "minimum": 1,
15
+ "maximum": 100
16
+ },
17
+ "query": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "additionalProperties": false
22
+ }
23
+ },
24
+ {
25
+ "name": "labels_get",
26
+ "description": "Get label by slug",
27
+ "inputSchema": {
28
+ "type": "object",
29
+ "properties": {
30
+ "label_id": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ "required": [
35
+ "label_id"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ {
41
+ "name": "labels_create",
42
+ "description": "Create label (/api/v2/{project_id}/labels)",
43
+ "inputSchema": {
44
+ "type": "object",
45
+ "properties": {
46
+ "title": {
47
+ "type": "string"
48
+ },
49
+ "color": {
50
+ "type": "string"
51
+ },
52
+ "visibility": {
53
+ "type": "array",
54
+ "items": {
55
+ "type": "string",
56
+ "enum": [
57
+ "filter",
58
+ "list"
59
+ ]
60
+ }
61
+ },
62
+ "scope": {
63
+ "type": "array",
64
+ "items": {
65
+ "type": "string",
66
+ "enum": [
67
+ "tests",
68
+ "suites",
69
+ "runs",
70
+ "plans",
71
+ "steps",
72
+ "templates"
73
+ ]
74
+ }
75
+ },
76
+ "field": {
77
+ "type": "object"
78
+ }
79
+ },
80
+ "required": [
81
+ "title"
82
+ ],
83
+ "additionalProperties": false
84
+ }
85
+ },
86
+ {
87
+ "name": "labels_update",
88
+ "description": "Update label (/api/v2/{project_id}/labels/{id})",
89
+ "inputSchema": {
90
+ "type": "object",
91
+ "properties": {
92
+ "label_id": {
93
+ "type": "string"
94
+ },
95
+ "title": {
96
+ "type": "string"
97
+ },
98
+ "color": {
99
+ "type": "string"
100
+ },
101
+ "visibility": {
102
+ "type": "array",
103
+ "items": {
104
+ "type": "string",
105
+ "enum": [
106
+ "filter",
107
+ "list"
108
+ ]
109
+ }
110
+ },
111
+ "scope": {
112
+ "type": "array",
113
+ "items": {
114
+ "type": "string",
115
+ "enum": [
116
+ "tests",
117
+ "suites",
118
+ "runs",
119
+ "plans",
120
+ "steps",
121
+ "templates"
122
+ ]
123
+ }
124
+ },
125
+ "field": {
126
+ "type": "object"
127
+ }
128
+ },
129
+ "required": [
130
+ "label_id"
131
+ ],
132
+ "additionalProperties": false
133
+ }
134
+ },
135
+ {
136
+ "name": "labels_delete",
137
+ "description": "Delete label (/api/v2/{project_id}/labels/{id})",
138
+ "inputSchema": {
139
+ "type": "object",
140
+ "properties": {
141
+ "label_id": {
142
+ "type": "string"
143
+ }
144
+ },
145
+ "required": [
146
+ "label_id"
147
+ ],
148
+ "additionalProperties": false
149
+ }
150
+ },
151
+ {
152
+ "name": "labels_search",
153
+ "description": "Search labels (delegates to labels list; docs has no dedicated search parameter)",
154
+ "inputSchema": {
155
+ "type": "object",
156
+ "properties": {
157
+ "query": {
158
+ "type": "string"
159
+ },
160
+ "page": {
161
+ "type": "integer",
162
+ "minimum": 1
163
+ },
164
+ "per_page": {
165
+ "type": "integer",
166
+ "minimum": 1,
167
+ "maximum": 100
168
+ }
169
+ },
170
+ "additionalProperties": false
171
+ }
172
+ }
173
+ ];
@@ -0,0 +1,317 @@
1
+ export const PLANS_TOOLS = [
2
+ {
3
+ "name": "plans_list",
4
+ "description": "List plans (/api/v2/{project_id}/plans)",
5
+ "inputSchema": {
6
+ "type": "object",
7
+ "properties": {
8
+ "page": {
9
+ "type": "integer",
10
+ "minimum": 1
11
+ },
12
+ "per_page": {
13
+ "type": "integer",
14
+ "minimum": 1,
15
+ "maximum": 100
16
+ },
17
+ "query": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "additionalProperties": false
22
+ }
23
+ },
24
+ {
25
+ "name": "plans_get",
26
+ "description": "Get plan by ID",
27
+ "inputSchema": {
28
+ "type": "object",
29
+ "properties": {
30
+ "plan_id": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ "required": [
35
+ "plan_id"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ {
41
+ "name": "plans_create",
42
+ "description": "Create plan (/api/v2/{project_id}/plans)",
43
+ "inputSchema": {
44
+ "type": "object",
45
+ "properties": {
46
+ "title": {
47
+ "type": "string"
48
+ },
49
+ "description": {
50
+ "type": "string"
51
+ },
52
+ "kind": {
53
+ "type": "string",
54
+ "enum": [
55
+ "manual",
56
+ "automated",
57
+ "mixed"
58
+ ]
59
+ },
60
+ "hidden": {
61
+ "type": "boolean"
62
+ },
63
+ "as_manual": {
64
+ "type": "boolean"
65
+ },
66
+ "test_ids": {
67
+ "type": "array",
68
+ "items": {
69
+ "type": "string"
70
+ },
71
+ "description": "List of test IDs (8-char) to include in the plan. If omitted, all tests matching the plan kind are included."
72
+ },
73
+ "suite_ids": {
74
+ "type": "array",
75
+ "items": {
76
+ "type": "string"
77
+ },
78
+ "description": "List of suite IDs (8-char) to include in the plan. If omitted, all suites are considered."
79
+ },
80
+ "link": {
81
+ "type": "array",
82
+ "items": {
83
+ "type": "object",
84
+ "properties": {
85
+ "action": {
86
+ "type": "string",
87
+ "enum": [
88
+ "add",
89
+ "remove"
90
+ ]
91
+ },
92
+ "type": {
93
+ "type": "string",
94
+ "enum": [
95
+ "label",
96
+ "custom_field",
97
+ "tag",
98
+ "issue",
99
+ "jira"
100
+ ]
101
+ },
102
+ "value": {
103
+ "type": "string"
104
+ }
105
+ },
106
+ "required": [
107
+ "action",
108
+ "type",
109
+ "value"
110
+ ],
111
+ "additionalProperties": false
112
+ }
113
+ }
114
+ },
115
+ "required": [
116
+ "title"
117
+ ],
118
+ "additionalProperties": false
119
+ }
120
+ },
121
+ {
122
+ "name": "plans_update",
123
+ "description": "Update plan (/api/v2/{project_id}/plans/{id})",
124
+ "inputSchema": {
125
+ "type": "object",
126
+ "properties": {
127
+ "plan_id": {
128
+ "type": "string"
129
+ },
130
+ "title": {
131
+ "type": "string"
132
+ },
133
+ "description": {
134
+ "type": "string"
135
+ },
136
+ "kind": {
137
+ "type": "string",
138
+ "enum": [
139
+ "manual",
140
+ "automated",
141
+ "mixed"
142
+ ]
143
+ },
144
+ "hidden": {
145
+ "type": "boolean"
146
+ },
147
+ "as_manual": {
148
+ "type": "boolean"
149
+ },
150
+ "test_ids": {
151
+ "type": "array",
152
+ "items": {
153
+ "type": "string"
154
+ },
155
+ "description": "List of test IDs (8-char) to include in the plan. If omitted, all tests matching the plan kind are included."
156
+ },
157
+ "suite_ids": {
158
+ "type": "array",
159
+ "items": {
160
+ "type": "string"
161
+ },
162
+ "description": "List of suite IDs (8-char) to include in the plan. If omitted, all suites are considered."
163
+ },
164
+ "link": {
165
+ "type": "array",
166
+ "items": {
167
+ "type": "object",
168
+ "properties": {
169
+ "action": {
170
+ "type": "string",
171
+ "enum": [
172
+ "add",
173
+ "remove"
174
+ ]
175
+ },
176
+ "type": {
177
+ "type": "string",
178
+ "enum": [
179
+ "label",
180
+ "custom_field",
181
+ "tag",
182
+ "issue",
183
+ "jira"
184
+ ]
185
+ },
186
+ "value": {
187
+ "type": "string"
188
+ }
189
+ },
190
+ "required": [
191
+ "action",
192
+ "type",
193
+ "value"
194
+ ],
195
+ "additionalProperties": false
196
+ }
197
+ }
198
+ },
199
+ "required": [
200
+ "plan_id"
201
+ ],
202
+ "additionalProperties": false
203
+ }
204
+ },
205
+ {
206
+ "name": "plans_delete",
207
+ "description": "Delete plan",
208
+ "inputSchema": {
209
+ "type": "object",
210
+ "properties": {
211
+ "plan_id": {
212
+ "type": "string"
213
+ }
214
+ },
215
+ "required": [
216
+ "plan_id"
217
+ ],
218
+ "additionalProperties": false
219
+ }
220
+ },
221
+ {
222
+ "name": "plans_search",
223
+ "description": "Search plans (delegates to plans list; docs has no dedicated search parameter)",
224
+ "inputSchema": {
225
+ "type": "object",
226
+ "properties": {
227
+ "query": {
228
+ "type": "string"
229
+ },
230
+ "page": {
231
+ "type": "integer",
232
+ "minimum": 1
233
+ },
234
+ "per_page": {
235
+ "type": "integer",
236
+ "minimum": 1,
237
+ "maximum": 100
238
+ }
239
+ },
240
+ "additionalProperties": false
241
+ }
242
+ },
243
+ {
244
+ "name": "plans_issues_list",
245
+ "description": "List linked issues for a plan (/api/v2/{project_id}/issues?plan_id=...)",
246
+ "inputSchema": {
247
+ "type": "object",
248
+ "properties": {
249
+ "plan_id": {
250
+ "type": "string"
251
+ },
252
+ "page": {
253
+ "type": "integer",
254
+ "minimum": 1
255
+ },
256
+ "per_page": {
257
+ "type": "integer",
258
+ "minimum": 1,
259
+ "maximum": 100
260
+ },
261
+ "source": {
262
+ "type": "string"
263
+ }
264
+ },
265
+ "required": [
266
+ "plan_id"
267
+ ],
268
+ "additionalProperties": false
269
+ }
270
+ },
271
+ {
272
+ "name": "plans_issues_link",
273
+ "description": "Link issue to a plan (/api/v2/{project_id}/issues)",
274
+ "inputSchema": {
275
+ "type": "object",
276
+ "properties": {
277
+ "plan_id": {
278
+ "type": "string"
279
+ },
280
+ "url": {
281
+ "type": "string"
282
+ },
283
+ "jira_id": {
284
+ "type": "string"
285
+ }
286
+ },
287
+ "required": [
288
+ "plan_id"
289
+ ],
290
+ "additionalProperties": false
291
+ }
292
+ },
293
+ {
294
+ "name": "plans_issues_unlink",
295
+ "description": "Unlink issue from a plan (/api/v2/{project_id}/issues/{id})",
296
+ "inputSchema": {
297
+ "type": "object",
298
+ "properties": {
299
+ "issue_id": {
300
+ "type": "integer"
301
+ },
302
+ "type": {
303
+ "type": "string",
304
+ "enum": [
305
+ "issue",
306
+ "jira_issue"
307
+ ]
308
+ }
309
+ },
310
+ "required": [
311
+ "issue_id",
312
+ "type"
313
+ ],
314
+ "additionalProperties": false
315
+ }
316
+ }
317
+ ];
@@ -0,0 +1,155 @@
1
+ export const RUNGROUPS_TOOLS = [
2
+ {
3
+ "name": "rungroups_list",
4
+ "description": "List run groups as tree (/api/v2/{project_id}/rungroups)",
5
+ "inputSchema": {
6
+ "type": "object",
7
+ "properties": {
8
+ "page": {
9
+ "type": "integer",
10
+ "minimum": 1
11
+ },
12
+ "per_page": {
13
+ "type": "integer",
14
+ "minimum": 1,
15
+ "maximum": 100
16
+ },
17
+ "query": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "additionalProperties": false
22
+ }
23
+ },
24
+ {
25
+ "name": "rungroups_get",
26
+ "description": "Get run group by ID",
27
+ "inputSchema": {
28
+ "type": "object",
29
+ "properties": {
30
+ "rungroup_id": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ "required": [
35
+ "rungroup_id"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ {
41
+ "name": "rungroups_create",
42
+ "description": "Create run group (/api/v2/{project_id}/rungroups)",
43
+ "inputSchema": {
44
+ "type": "object",
45
+ "properties": {
46
+ "title": {
47
+ "type": "string"
48
+ },
49
+ "description": {
50
+ "type": "string"
51
+ },
52
+ "emoji": {
53
+ "type": "string"
54
+ },
55
+ "kind": {
56
+ "type": "string"
57
+ },
58
+ "pin": {
59
+ "type": "boolean"
60
+ },
61
+ "status": {
62
+ "type": "string"
63
+ },
64
+ "parent_id": {
65
+ "type": "string"
66
+ },
67
+ "children": {
68
+ "type": "array"
69
+ }
70
+ },
71
+ "required": [
72
+ "title"
73
+ ],
74
+ "additionalProperties": false
75
+ }
76
+ },
77
+ {
78
+ "name": "rungroups_update",
79
+ "description": "Update run group (/api/v2/{project_id}/rungroups/{id})",
80
+ "inputSchema": {
81
+ "type": "object",
82
+ "properties": {
83
+ "rungroup_id": {
84
+ "type": "string"
85
+ },
86
+ "title": {
87
+ "type": "string"
88
+ },
89
+ "description": {
90
+ "type": "string"
91
+ },
92
+ "emoji": {
93
+ "type": "string"
94
+ },
95
+ "kind": {
96
+ "type": "string"
97
+ },
98
+ "pin": {
99
+ "type": "boolean"
100
+ },
101
+ "status": {
102
+ "type": "string"
103
+ },
104
+ "parent_id": {
105
+ "type": "string"
106
+ },
107
+ "children": {
108
+ "type": "array"
109
+ }
110
+ },
111
+ "required": [
112
+ "rungroup_id"
113
+ ],
114
+ "additionalProperties": false
115
+ }
116
+ },
117
+ {
118
+ "name": "rungroups_delete",
119
+ "description": "Delete run group (/api/v2/{project_id}/rungroups/{id})",
120
+ "inputSchema": {
121
+ "type": "object",
122
+ "properties": {
123
+ "rungroup_id": {
124
+ "type": "string"
125
+ }
126
+ },
127
+ "required": [
128
+ "rungroup_id"
129
+ ],
130
+ "additionalProperties": false
131
+ }
132
+ },
133
+ {
134
+ "name": "rungroups_search",
135
+ "description": "Search run groups (delegates to rungroups list; docs has no dedicated search parameter)",
136
+ "inputSchema": {
137
+ "type": "object",
138
+ "properties": {
139
+ "query": {
140
+ "type": "string"
141
+ },
142
+ "page": {
143
+ "type": "integer",
144
+ "minimum": 1
145
+ },
146
+ "per_page": {
147
+ "type": "integer",
148
+ "minimum": 1,
149
+ "maximum": 100
150
+ }
151
+ },
152
+ "additionalProperties": false
153
+ }
154
+ }
155
+ ];