@opentabs-dev/opentabs-plugin-bitbucket 0.0.80 → 0.0.81

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/dist/tools.json DELETED
@@ -1,2383 +0,0 @@
1
- {
2
- "sdkVersion": "0.0.80",
3
- "iconSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M.778 1.213a.768.768 0 00-.768.892l3.263 19.81c.084.5.515.868 1.022.873H19.95a.772.772 0 00.77-.646l3.27-20.03a.768.768 0 00-.768-.891zM14.52 15.53H9.522L8.17 8.466h7.561z\" fill=\"#2684FF\"/></svg>",
4
- "iconInactiveSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M.778 1.213a.768.768 0 00-.768.892l3.263 19.81c.084.5.515.868 1.022.873H19.95a.772.772 0 00.77-.646l3.27-20.03a.768.768 0 00-.768-.891zM14.52 15.53H9.522L8.17 8.466h7.561z\" fill=\"#999999\"/></svg>",
5
- "iconDarkSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M.778 1.213a.768.768 0 00-.768.892l3.263 19.81c.084.5.515.868 1.022.873H19.95a.772.772 0 00.77-.646l3.27-20.03a.768.768 0 00-.768-.891zM14.52 15.53H9.522L8.17 8.466h7.561z\" fill=\"#2684FF\"/></svg>",
6
- "iconDarkInactiveSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M.778 1.213a.768.768 0 00-.768.892l3.263 19.81c.084.5.515.868 1.022.873H19.95a.772.772 0 00.77-.646l3.27-20.03a.768.768 0 00-.768-.891zM14.52 15.53H9.522L8.17 8.466h7.561z\" fill=\"#999999\"/></svg>",
7
- "tools": [
8
- {
9
- "name": "list_repositories",
10
- "displayName": "List Repositories",
11
- "description": "List repositories in a Bitbucket workspace. Supports pagination and filtering with Bitbucket query language.",
12
- "summary": "List repositories in a workspace",
13
- "icon": "book",
14
- "group": "Repositories",
15
- "input_schema": {
16
- "type": "object",
17
- "properties": {
18
- "workspace": {
19
- "type": "string",
20
- "description": "Workspace slug or UUID"
21
- },
22
- "page": {
23
- "description": "Page number for pagination (default 1)",
24
- "type": "integer",
25
- "minimum": -9007199254740991,
26
- "maximum": 9007199254740991
27
- },
28
- "pagelen": {
29
- "description": "Number of results per page (default 25, max 100)",
30
- "type": "integer",
31
- "minimum": -9007199254740991,
32
- "maximum": 9007199254740991
33
- },
34
- "query": {
35
- "description": "Bitbucket query language filter (e.g., 'name ~ \"my-repo\"')",
36
- "type": "string"
37
- }
38
- },
39
- "required": [
40
- "workspace"
41
- ],
42
- "additionalProperties": false
43
- },
44
- "output_schema": {
45
- "type": "object",
46
- "properties": {
47
- "repositories": {
48
- "type": "array",
49
- "items": {
50
- "type": "object",
51
- "properties": {
52
- "uuid": {
53
- "type": "string",
54
- "description": "Repository UUID"
55
- },
56
- "slug": {
57
- "type": "string",
58
- "description": "Repository slug"
59
- },
60
- "full_name": {
61
- "type": "string",
62
- "description": "Full name in \"workspace/repo\" format"
63
- },
64
- "name": {
65
- "type": "string",
66
- "description": "Repository name"
67
- },
68
- "description": {
69
- "type": "string",
70
- "description": "Repository description"
71
- },
72
- "is_private": {
73
- "type": "boolean",
74
- "description": "Whether the repository is private"
75
- },
76
- "scm": {
77
- "type": "string",
78
- "description": "Source control type (e.g., \"git\")"
79
- },
80
- "language": {
81
- "type": "string",
82
- "description": "Primary programming language"
83
- },
84
- "default_branch": {
85
- "type": "string",
86
- "description": "Default branch name"
87
- },
88
- "web_url": {
89
- "type": "string",
90
- "description": "URL to the repository on Bitbucket"
91
- },
92
- "created_on": {
93
- "type": "string",
94
- "description": "Created ISO 8601 timestamp"
95
- },
96
- "updated_on": {
97
- "type": "string",
98
- "description": "Updated ISO 8601 timestamp"
99
- }
100
- },
101
- "required": [
102
- "uuid",
103
- "slug",
104
- "full_name",
105
- "name",
106
- "description",
107
- "is_private",
108
- "scm",
109
- "language",
110
- "default_branch",
111
- "web_url",
112
- "created_on",
113
- "updated_on"
114
- ],
115
- "additionalProperties": false
116
- },
117
- "description": "Array of repositories"
118
- }
119
- },
120
- "required": [
121
- "repositories"
122
- ],
123
- "additionalProperties": false
124
- }
125
- },
126
- {
127
- "name": "get_repository",
128
- "displayName": "Get Repository",
129
- "description": "Get detailed information about a specific Bitbucket repository.",
130
- "summary": "Get repository details",
131
- "icon": "book",
132
- "group": "Repositories",
133
- "input_schema": {
134
- "type": "object",
135
- "properties": {
136
- "workspace": {
137
- "type": "string",
138
- "description": "Workspace slug or UUID"
139
- },
140
- "repo_slug": {
141
- "type": "string",
142
- "description": "Repository slug"
143
- }
144
- },
145
- "required": [
146
- "workspace",
147
- "repo_slug"
148
- ],
149
- "additionalProperties": false
150
- },
151
- "output_schema": {
152
- "type": "object",
153
- "properties": {
154
- "uuid": {
155
- "type": "string",
156
- "description": "Repository UUID"
157
- },
158
- "slug": {
159
- "type": "string",
160
- "description": "Repository slug"
161
- },
162
- "full_name": {
163
- "type": "string",
164
- "description": "Full name in \"workspace/repo\" format"
165
- },
166
- "name": {
167
- "type": "string",
168
- "description": "Repository name"
169
- },
170
- "description": {
171
- "type": "string",
172
- "description": "Repository description"
173
- },
174
- "is_private": {
175
- "type": "boolean",
176
- "description": "Whether the repository is private"
177
- },
178
- "scm": {
179
- "type": "string",
180
- "description": "Source control type (e.g., \"git\")"
181
- },
182
- "language": {
183
- "type": "string",
184
- "description": "Primary programming language"
185
- },
186
- "default_branch": {
187
- "type": "string",
188
- "description": "Default branch name"
189
- },
190
- "web_url": {
191
- "type": "string",
192
- "description": "URL to the repository on Bitbucket"
193
- },
194
- "created_on": {
195
- "type": "string",
196
- "description": "Created ISO 8601 timestamp"
197
- },
198
- "updated_on": {
199
- "type": "string",
200
- "description": "Updated ISO 8601 timestamp"
201
- }
202
- },
203
- "required": [
204
- "uuid",
205
- "slug",
206
- "full_name",
207
- "name",
208
- "description",
209
- "is_private",
210
- "scm",
211
- "language",
212
- "default_branch",
213
- "web_url",
214
- "created_on",
215
- "updated_on"
216
- ],
217
- "additionalProperties": false
218
- }
219
- },
220
- {
221
- "name": "create_repository",
222
- "displayName": "Create Repository",
223
- "description": "Create a new repository in a Bitbucket workspace.",
224
- "summary": "Create a new repository",
225
- "icon": "plus",
226
- "group": "Repositories",
227
- "input_schema": {
228
- "type": "object",
229
- "properties": {
230
- "workspace": {
231
- "type": "string",
232
- "description": "Workspace slug or UUID"
233
- },
234
- "repo_slug": {
235
- "type": "string",
236
- "description": "Repository slug (URL-friendly name)"
237
- },
238
- "scm": {
239
- "description": "Source control type (default \"git\")",
240
- "type": "string"
241
- },
242
- "is_private": {
243
- "description": "Whether the repository is private (default true)",
244
- "type": "boolean"
245
- },
246
- "description": {
247
- "description": "Repository description",
248
- "type": "string"
249
- },
250
- "has_issues": {
251
- "description": "Whether to enable the issue tracker",
252
- "type": "boolean"
253
- },
254
- "has_wiki": {
255
- "description": "Whether to enable the wiki",
256
- "type": "boolean"
257
- }
258
- },
259
- "required": [
260
- "workspace",
261
- "repo_slug"
262
- ],
263
- "additionalProperties": false
264
- },
265
- "output_schema": {
266
- "type": "object",
267
- "properties": {
268
- "uuid": {
269
- "type": "string",
270
- "description": "Repository UUID"
271
- },
272
- "slug": {
273
- "type": "string",
274
- "description": "Repository slug"
275
- },
276
- "full_name": {
277
- "type": "string",
278
- "description": "Full name in \"workspace/repo\" format"
279
- },
280
- "name": {
281
- "type": "string",
282
- "description": "Repository name"
283
- },
284
- "description": {
285
- "type": "string",
286
- "description": "Repository description"
287
- },
288
- "is_private": {
289
- "type": "boolean",
290
- "description": "Whether the repository is private"
291
- },
292
- "scm": {
293
- "type": "string",
294
- "description": "Source control type (e.g., \"git\")"
295
- },
296
- "language": {
297
- "type": "string",
298
- "description": "Primary programming language"
299
- },
300
- "default_branch": {
301
- "type": "string",
302
- "description": "Default branch name"
303
- },
304
- "web_url": {
305
- "type": "string",
306
- "description": "URL to the repository on Bitbucket"
307
- },
308
- "created_on": {
309
- "type": "string",
310
- "description": "Created ISO 8601 timestamp"
311
- },
312
- "updated_on": {
313
- "type": "string",
314
- "description": "Updated ISO 8601 timestamp"
315
- }
316
- },
317
- "required": [
318
- "uuid",
319
- "slug",
320
- "full_name",
321
- "name",
322
- "description",
323
- "is_private",
324
- "scm",
325
- "language",
326
- "default_branch",
327
- "web_url",
328
- "created_on",
329
- "updated_on"
330
- ],
331
- "additionalProperties": false
332
- }
333
- },
334
- {
335
- "name": "list_pull_requests",
336
- "displayName": "List Pull Requests",
337
- "description": "List pull requests for a Bitbucket repository. By default returns open pull requests. Supports pagination and state filtering.",
338
- "summary": "List pull requests for a repository",
339
- "icon": "git-pull-request",
340
- "group": "Pull Requests",
341
- "input_schema": {
342
- "type": "object",
343
- "properties": {
344
- "workspace": {
345
- "type": "string",
346
- "description": "Workspace slug or UUID"
347
- },
348
- "repo_slug": {
349
- "type": "string",
350
- "description": "Repository slug"
351
- },
352
- "state": {
353
- "description": "Pull request state filter (default OPEN)",
354
- "type": "string",
355
- "enum": [
356
- "OPEN",
357
- "MERGED",
358
- "DECLINED",
359
- "SUPERSEDED"
360
- ]
361
- },
362
- "page": {
363
- "description": "Page number for pagination (default 1)",
364
- "type": "integer",
365
- "minimum": -9007199254740991,
366
- "maximum": 9007199254740991
367
- },
368
- "pagelen": {
369
- "description": "Number of results per page (default 25, max 100)",
370
- "type": "integer",
371
- "minimum": -9007199254740991,
372
- "maximum": 9007199254740991
373
- }
374
- },
375
- "required": [
376
- "workspace",
377
- "repo_slug"
378
- ],
379
- "additionalProperties": false
380
- },
381
- "output_schema": {
382
- "type": "object",
383
- "properties": {
384
- "pull_requests": {
385
- "type": "array",
386
- "items": {
387
- "type": "object",
388
- "properties": {
389
- "id": {
390
- "type": "integer",
391
- "minimum": -9007199254740991,
392
- "maximum": 9007199254740991,
393
- "description": "Pull request ID"
394
- },
395
- "title": {
396
- "type": "string",
397
- "description": "Pull request title"
398
- },
399
- "description": {
400
- "type": "string",
401
- "description": "Pull request description in Markdown"
402
- },
403
- "state": {
404
- "type": "string",
405
- "description": "PR state: OPEN, MERGED, DECLINED, or SUPERSEDED"
406
- },
407
- "source_branch": {
408
- "type": "string",
409
- "description": "Source branch name"
410
- },
411
- "destination_branch": {
412
- "type": "string",
413
- "description": "Destination branch name"
414
- },
415
- "author": {
416
- "type": "string",
417
- "description": "Author display name"
418
- },
419
- "close_source_branch": {
420
- "type": "boolean",
421
- "description": "Whether source branch is deleted after merge"
422
- },
423
- "comment_count": {
424
- "type": "integer",
425
- "minimum": -9007199254740991,
426
- "maximum": 9007199254740991,
427
- "description": "Number of comments"
428
- },
429
- "web_url": {
430
- "type": "string",
431
- "description": "URL to the pull request on Bitbucket"
432
- },
433
- "created_on": {
434
- "type": "string",
435
- "description": "Created ISO 8601 timestamp"
436
- },
437
- "updated_on": {
438
- "type": "string",
439
- "description": "Updated ISO 8601 timestamp"
440
- }
441
- },
442
- "required": [
443
- "id",
444
- "title",
445
- "description",
446
- "state",
447
- "source_branch",
448
- "destination_branch",
449
- "author",
450
- "close_source_branch",
451
- "comment_count",
452
- "web_url",
453
- "created_on",
454
- "updated_on"
455
- ],
456
- "additionalProperties": false
457
- },
458
- "description": "Array of pull requests"
459
- }
460
- },
461
- "required": [
462
- "pull_requests"
463
- ],
464
- "additionalProperties": false
465
- }
466
- },
467
- {
468
- "name": "get_pull_request",
469
- "displayName": "Get Pull Request",
470
- "description": "Get detailed information about a specific pull request.",
471
- "summary": "Get pull request details",
472
- "icon": "git-pull-request",
473
- "group": "Pull Requests",
474
- "input_schema": {
475
- "type": "object",
476
- "properties": {
477
- "workspace": {
478
- "type": "string",
479
- "description": "Workspace slug or UUID"
480
- },
481
- "repo_slug": {
482
- "type": "string",
483
- "description": "Repository slug"
484
- },
485
- "pull_request_id": {
486
- "type": "integer",
487
- "minimum": -9007199254740991,
488
- "maximum": 9007199254740991,
489
- "description": "Pull request ID"
490
- }
491
- },
492
- "required": [
493
- "workspace",
494
- "repo_slug",
495
- "pull_request_id"
496
- ],
497
- "additionalProperties": false
498
- },
499
- "output_schema": {
500
- "type": "object",
501
- "properties": {
502
- "id": {
503
- "type": "integer",
504
- "minimum": -9007199254740991,
505
- "maximum": 9007199254740991,
506
- "description": "Pull request ID"
507
- },
508
- "title": {
509
- "type": "string",
510
- "description": "Pull request title"
511
- },
512
- "description": {
513
- "type": "string",
514
- "description": "Pull request description in Markdown"
515
- },
516
- "state": {
517
- "type": "string",
518
- "description": "PR state: OPEN, MERGED, DECLINED, or SUPERSEDED"
519
- },
520
- "source_branch": {
521
- "type": "string",
522
- "description": "Source branch name"
523
- },
524
- "destination_branch": {
525
- "type": "string",
526
- "description": "Destination branch name"
527
- },
528
- "author": {
529
- "type": "string",
530
- "description": "Author display name"
531
- },
532
- "close_source_branch": {
533
- "type": "boolean",
534
- "description": "Whether source branch is deleted after merge"
535
- },
536
- "comment_count": {
537
- "type": "integer",
538
- "minimum": -9007199254740991,
539
- "maximum": 9007199254740991,
540
- "description": "Number of comments"
541
- },
542
- "web_url": {
543
- "type": "string",
544
- "description": "URL to the pull request on Bitbucket"
545
- },
546
- "created_on": {
547
- "type": "string",
548
- "description": "Created ISO 8601 timestamp"
549
- },
550
- "updated_on": {
551
- "type": "string",
552
- "description": "Updated ISO 8601 timestamp"
553
- }
554
- },
555
- "required": [
556
- "id",
557
- "title",
558
- "description",
559
- "state",
560
- "source_branch",
561
- "destination_branch",
562
- "author",
563
- "close_source_branch",
564
- "comment_count",
565
- "web_url",
566
- "created_on",
567
- "updated_on"
568
- ],
569
- "additionalProperties": false
570
- }
571
- },
572
- {
573
- "name": "create_pull_request",
574
- "displayName": "Create Pull Request",
575
- "description": "Create a new pull request in a Bitbucket repository.",
576
- "summary": "Create a new pull request",
577
- "icon": "plus",
578
- "group": "Pull Requests",
579
- "input_schema": {
580
- "type": "object",
581
- "properties": {
582
- "workspace": {
583
- "type": "string",
584
- "description": "Workspace slug or UUID"
585
- },
586
- "repo_slug": {
587
- "type": "string",
588
- "description": "Repository slug"
589
- },
590
- "title": {
591
- "type": "string",
592
- "description": "Pull request title"
593
- },
594
- "source_branch": {
595
- "type": "string",
596
- "description": "Source branch name"
597
- },
598
- "destination_branch": {
599
- "description": "Destination branch name (defaults to the repository default branch)",
600
- "type": "string"
601
- },
602
- "description": {
603
- "description": "Pull request description in Markdown",
604
- "type": "string"
605
- },
606
- "close_source_branch": {
607
- "description": "Whether to delete the source branch after merge",
608
- "type": "boolean"
609
- },
610
- "reviewers": {
611
- "description": "Array of reviewer UUIDs to request reviews from",
612
- "type": "array",
613
- "items": {
614
- "type": "string"
615
- }
616
- }
617
- },
618
- "required": [
619
- "workspace",
620
- "repo_slug",
621
- "title",
622
- "source_branch"
623
- ],
624
- "additionalProperties": false
625
- },
626
- "output_schema": {
627
- "type": "object",
628
- "properties": {
629
- "id": {
630
- "type": "integer",
631
- "minimum": -9007199254740991,
632
- "maximum": 9007199254740991,
633
- "description": "Pull request ID"
634
- },
635
- "title": {
636
- "type": "string",
637
- "description": "Pull request title"
638
- },
639
- "description": {
640
- "type": "string",
641
- "description": "Pull request description in Markdown"
642
- },
643
- "state": {
644
- "type": "string",
645
- "description": "PR state: OPEN, MERGED, DECLINED, or SUPERSEDED"
646
- },
647
- "source_branch": {
648
- "type": "string",
649
- "description": "Source branch name"
650
- },
651
- "destination_branch": {
652
- "type": "string",
653
- "description": "Destination branch name"
654
- },
655
- "author": {
656
- "type": "string",
657
- "description": "Author display name"
658
- },
659
- "close_source_branch": {
660
- "type": "boolean",
661
- "description": "Whether source branch is deleted after merge"
662
- },
663
- "comment_count": {
664
- "type": "integer",
665
- "minimum": -9007199254740991,
666
- "maximum": 9007199254740991,
667
- "description": "Number of comments"
668
- },
669
- "web_url": {
670
- "type": "string",
671
- "description": "URL to the pull request on Bitbucket"
672
- },
673
- "created_on": {
674
- "type": "string",
675
- "description": "Created ISO 8601 timestamp"
676
- },
677
- "updated_on": {
678
- "type": "string",
679
- "description": "Updated ISO 8601 timestamp"
680
- }
681
- },
682
- "required": [
683
- "id",
684
- "title",
685
- "description",
686
- "state",
687
- "source_branch",
688
- "destination_branch",
689
- "author",
690
- "close_source_branch",
691
- "comment_count",
692
- "web_url",
693
- "created_on",
694
- "updated_on"
695
- ],
696
- "additionalProperties": false
697
- }
698
- },
699
- {
700
- "name": "update_pull_request",
701
- "displayName": "Update Pull Request",
702
- "description": "Update an existing pull request. Only specified fields are changed; omitted fields remain unchanged.",
703
- "summary": "Update a pull request",
704
- "icon": "edit",
705
- "group": "Pull Requests",
706
- "input_schema": {
707
- "type": "object",
708
- "properties": {
709
- "workspace": {
710
- "type": "string",
711
- "description": "Workspace slug or UUID"
712
- },
713
- "repo_slug": {
714
- "type": "string",
715
- "description": "Repository slug"
716
- },
717
- "pull_request_id": {
718
- "type": "integer",
719
- "minimum": -9007199254740991,
720
- "maximum": 9007199254740991,
721
- "description": "Pull request ID"
722
- },
723
- "title": {
724
- "description": "New pull request title",
725
- "type": "string"
726
- },
727
- "description": {
728
- "description": "New pull request description in Markdown",
729
- "type": "string"
730
- },
731
- "destination_branch": {
732
- "description": "New destination branch name",
733
- "type": "string"
734
- },
735
- "close_source_branch": {
736
- "description": "Whether to delete the source branch after merge",
737
- "type": "boolean"
738
- },
739
- "reviewers": {
740
- "description": "Array of reviewer UUIDs — replaces the existing reviewer list",
741
- "type": "array",
742
- "items": {
743
- "type": "string"
744
- }
745
- }
746
- },
747
- "required": [
748
- "workspace",
749
- "repo_slug",
750
- "pull_request_id"
751
- ],
752
- "additionalProperties": false
753
- },
754
- "output_schema": {
755
- "type": "object",
756
- "properties": {
757
- "id": {
758
- "type": "integer",
759
- "minimum": -9007199254740991,
760
- "maximum": 9007199254740991,
761
- "description": "Pull request ID"
762
- },
763
- "title": {
764
- "type": "string",
765
- "description": "Pull request title"
766
- },
767
- "description": {
768
- "type": "string",
769
- "description": "Pull request description in Markdown"
770
- },
771
- "state": {
772
- "type": "string",
773
- "description": "PR state: OPEN, MERGED, DECLINED, or SUPERSEDED"
774
- },
775
- "source_branch": {
776
- "type": "string",
777
- "description": "Source branch name"
778
- },
779
- "destination_branch": {
780
- "type": "string",
781
- "description": "Destination branch name"
782
- },
783
- "author": {
784
- "type": "string",
785
- "description": "Author display name"
786
- },
787
- "close_source_branch": {
788
- "type": "boolean",
789
- "description": "Whether source branch is deleted after merge"
790
- },
791
- "comment_count": {
792
- "type": "integer",
793
- "minimum": -9007199254740991,
794
- "maximum": 9007199254740991,
795
- "description": "Number of comments"
796
- },
797
- "web_url": {
798
- "type": "string",
799
- "description": "URL to the pull request on Bitbucket"
800
- },
801
- "created_on": {
802
- "type": "string",
803
- "description": "Created ISO 8601 timestamp"
804
- },
805
- "updated_on": {
806
- "type": "string",
807
- "description": "Updated ISO 8601 timestamp"
808
- }
809
- },
810
- "required": [
811
- "id",
812
- "title",
813
- "description",
814
- "state",
815
- "source_branch",
816
- "destination_branch",
817
- "author",
818
- "close_source_branch",
819
- "comment_count",
820
- "web_url",
821
- "created_on",
822
- "updated_on"
823
- ],
824
- "additionalProperties": false
825
- }
826
- },
827
- {
828
- "name": "merge_pull_request",
829
- "displayName": "Merge Pull Request",
830
- "description": "Merge a pull request. Supports merge commit, squash, and fast-forward strategies.",
831
- "summary": "Merge a pull request",
832
- "icon": "git-merge",
833
- "group": "Pull Requests",
834
- "input_schema": {
835
- "type": "object",
836
- "properties": {
837
- "workspace": {
838
- "type": "string",
839
- "description": "Workspace slug or UUID"
840
- },
841
- "repo_slug": {
842
- "type": "string",
843
- "description": "Repository slug"
844
- },
845
- "pull_request_id": {
846
- "type": "integer",
847
- "minimum": -9007199254740991,
848
- "maximum": 9007199254740991,
849
- "description": "Pull request ID"
850
- },
851
- "merge_strategy": {
852
- "description": "Merge strategy (default merge_commit)",
853
- "type": "string",
854
- "enum": [
855
- "merge_commit",
856
- "squash",
857
- "fast_forward"
858
- ]
859
- },
860
- "close_source_branch": {
861
- "description": "Whether to delete the source branch after merge",
862
- "type": "boolean"
863
- },
864
- "message": {
865
- "description": "Merge commit message",
866
- "type": "string"
867
- }
868
- },
869
- "required": [
870
- "workspace",
871
- "repo_slug",
872
- "pull_request_id"
873
- ],
874
- "additionalProperties": false
875
- },
876
- "output_schema": {
877
- "type": "object",
878
- "properties": {
879
- "id": {
880
- "type": "integer",
881
- "minimum": -9007199254740991,
882
- "maximum": 9007199254740991,
883
- "description": "Pull request ID"
884
- },
885
- "title": {
886
- "type": "string",
887
- "description": "Pull request title"
888
- },
889
- "description": {
890
- "type": "string",
891
- "description": "Pull request description in Markdown"
892
- },
893
- "state": {
894
- "type": "string",
895
- "description": "PR state: OPEN, MERGED, DECLINED, or SUPERSEDED"
896
- },
897
- "source_branch": {
898
- "type": "string",
899
- "description": "Source branch name"
900
- },
901
- "destination_branch": {
902
- "type": "string",
903
- "description": "Destination branch name"
904
- },
905
- "author": {
906
- "type": "string",
907
- "description": "Author display name"
908
- },
909
- "close_source_branch": {
910
- "type": "boolean",
911
- "description": "Whether source branch is deleted after merge"
912
- },
913
- "comment_count": {
914
- "type": "integer",
915
- "minimum": -9007199254740991,
916
- "maximum": 9007199254740991,
917
- "description": "Number of comments"
918
- },
919
- "web_url": {
920
- "type": "string",
921
- "description": "URL to the pull request on Bitbucket"
922
- },
923
- "created_on": {
924
- "type": "string",
925
- "description": "Created ISO 8601 timestamp"
926
- },
927
- "updated_on": {
928
- "type": "string",
929
- "description": "Updated ISO 8601 timestamp"
930
- }
931
- },
932
- "required": [
933
- "id",
934
- "title",
935
- "description",
936
- "state",
937
- "source_branch",
938
- "destination_branch",
939
- "author",
940
- "close_source_branch",
941
- "comment_count",
942
- "web_url",
943
- "created_on",
944
- "updated_on"
945
- ],
946
- "additionalProperties": false
947
- }
948
- },
949
- {
950
- "name": "decline_pull_request",
951
- "displayName": "Decline Pull Request",
952
- "description": "Decline a pull request, marking it as rejected.",
953
- "summary": "Decline a pull request",
954
- "icon": "x-circle",
955
- "group": "Pull Requests",
956
- "input_schema": {
957
- "type": "object",
958
- "properties": {
959
- "workspace": {
960
- "type": "string",
961
- "description": "Workspace slug or UUID"
962
- },
963
- "repo_slug": {
964
- "type": "string",
965
- "description": "Repository slug"
966
- },
967
- "pull_request_id": {
968
- "type": "integer",
969
- "minimum": -9007199254740991,
970
- "maximum": 9007199254740991,
971
- "description": "Pull request ID"
972
- }
973
- },
974
- "required": [
975
- "workspace",
976
- "repo_slug",
977
- "pull_request_id"
978
- ],
979
- "additionalProperties": false
980
- },
981
- "output_schema": {
982
- "type": "object",
983
- "properties": {
984
- "id": {
985
- "type": "integer",
986
- "minimum": -9007199254740991,
987
- "maximum": 9007199254740991,
988
- "description": "Pull request ID"
989
- },
990
- "title": {
991
- "type": "string",
992
- "description": "Pull request title"
993
- },
994
- "description": {
995
- "type": "string",
996
- "description": "Pull request description in Markdown"
997
- },
998
- "state": {
999
- "type": "string",
1000
- "description": "PR state: OPEN, MERGED, DECLINED, or SUPERSEDED"
1001
- },
1002
- "source_branch": {
1003
- "type": "string",
1004
- "description": "Source branch name"
1005
- },
1006
- "destination_branch": {
1007
- "type": "string",
1008
- "description": "Destination branch name"
1009
- },
1010
- "author": {
1011
- "type": "string",
1012
- "description": "Author display name"
1013
- },
1014
- "close_source_branch": {
1015
- "type": "boolean",
1016
- "description": "Whether source branch is deleted after merge"
1017
- },
1018
- "comment_count": {
1019
- "type": "integer",
1020
- "minimum": -9007199254740991,
1021
- "maximum": 9007199254740991,
1022
- "description": "Number of comments"
1023
- },
1024
- "web_url": {
1025
- "type": "string",
1026
- "description": "URL to the pull request on Bitbucket"
1027
- },
1028
- "created_on": {
1029
- "type": "string",
1030
- "description": "Created ISO 8601 timestamp"
1031
- },
1032
- "updated_on": {
1033
- "type": "string",
1034
- "description": "Updated ISO 8601 timestamp"
1035
- }
1036
- },
1037
- "required": [
1038
- "id",
1039
- "title",
1040
- "description",
1041
- "state",
1042
- "source_branch",
1043
- "destination_branch",
1044
- "author",
1045
- "close_source_branch",
1046
- "comment_count",
1047
- "web_url",
1048
- "created_on",
1049
- "updated_on"
1050
- ],
1051
- "additionalProperties": false
1052
- }
1053
- },
1054
- {
1055
- "name": "approve_pull_request",
1056
- "displayName": "Approve Pull Request",
1057
- "description": "Approve a pull request as the authenticated user.",
1058
- "summary": "Approve a pull request",
1059
- "icon": "check-circle",
1060
- "group": "Pull Requests",
1061
- "input_schema": {
1062
- "type": "object",
1063
- "properties": {
1064
- "workspace": {
1065
- "type": "string",
1066
- "description": "Workspace slug or UUID"
1067
- },
1068
- "repo_slug": {
1069
- "type": "string",
1070
- "description": "Repository slug"
1071
- },
1072
- "pull_request_id": {
1073
- "type": "integer",
1074
- "minimum": -9007199254740991,
1075
- "maximum": 9007199254740991,
1076
- "description": "Pull request ID"
1077
- }
1078
- },
1079
- "required": [
1080
- "workspace",
1081
- "repo_slug",
1082
- "pull_request_id"
1083
- ],
1084
- "additionalProperties": false
1085
- },
1086
- "output_schema": {
1087
- "type": "object",
1088
- "properties": {
1089
- "approved": {
1090
- "type": "boolean",
1091
- "description": "Whether the approval was successful"
1092
- }
1093
- },
1094
- "required": [
1095
- "approved"
1096
- ],
1097
- "additionalProperties": false
1098
- }
1099
- },
1100
- {
1101
- "name": "list_pr_comments",
1102
- "displayName": "List PR Comments",
1103
- "description": "List comments on a pull request. Supports pagination.",
1104
- "summary": "List pull request comments",
1105
- "icon": "message-square",
1106
- "group": "Pull Requests",
1107
- "input_schema": {
1108
- "type": "object",
1109
- "properties": {
1110
- "workspace": {
1111
- "type": "string",
1112
- "description": "Workspace slug or UUID"
1113
- },
1114
- "repo_slug": {
1115
- "type": "string",
1116
- "description": "Repository slug"
1117
- },
1118
- "pull_request_id": {
1119
- "type": "integer",
1120
- "minimum": -9007199254740991,
1121
- "maximum": 9007199254740991,
1122
- "description": "Pull request ID"
1123
- },
1124
- "page": {
1125
- "description": "Page number for pagination (default 1)",
1126
- "type": "integer",
1127
- "minimum": -9007199254740991,
1128
- "maximum": 9007199254740991
1129
- },
1130
- "pagelen": {
1131
- "description": "Number of results per page (default 25, max 100)",
1132
- "type": "integer",
1133
- "minimum": -9007199254740991,
1134
- "maximum": 9007199254740991
1135
- }
1136
- },
1137
- "required": [
1138
- "workspace",
1139
- "repo_slug",
1140
- "pull_request_id"
1141
- ],
1142
- "additionalProperties": false
1143
- },
1144
- "output_schema": {
1145
- "type": "object",
1146
- "properties": {
1147
- "comments": {
1148
- "type": "array",
1149
- "items": {
1150
- "type": "object",
1151
- "properties": {
1152
- "id": {
1153
- "type": "integer",
1154
- "minimum": -9007199254740991,
1155
- "maximum": 9007199254740991,
1156
- "description": "Comment ID"
1157
- },
1158
- "content": {
1159
- "type": "string",
1160
- "description": "Comment content in Markdown"
1161
- },
1162
- "author": {
1163
- "type": "string",
1164
- "description": "Author display name"
1165
- },
1166
- "created_on": {
1167
- "type": "string",
1168
- "description": "Created ISO 8601 timestamp"
1169
- },
1170
- "updated_on": {
1171
- "type": "string",
1172
- "description": "Updated ISO 8601 timestamp"
1173
- }
1174
- },
1175
- "required": [
1176
- "id",
1177
- "content",
1178
- "author",
1179
- "created_on",
1180
- "updated_on"
1181
- ],
1182
- "additionalProperties": false
1183
- },
1184
- "description": "Array of pull request comments"
1185
- }
1186
- },
1187
- "required": [
1188
- "comments"
1189
- ],
1190
- "additionalProperties": false
1191
- }
1192
- },
1193
- {
1194
- "name": "create_pr_comment",
1195
- "displayName": "Create PR Comment",
1196
- "description": "Add a comment to a pull request.",
1197
- "summary": "Add a comment to a pull request",
1198
- "icon": "message-square-plus",
1199
- "group": "Pull Requests",
1200
- "input_schema": {
1201
- "type": "object",
1202
- "properties": {
1203
- "workspace": {
1204
- "type": "string",
1205
- "description": "Workspace slug or UUID"
1206
- },
1207
- "repo_slug": {
1208
- "type": "string",
1209
- "description": "Repository slug"
1210
- },
1211
- "pull_request_id": {
1212
- "type": "integer",
1213
- "minimum": -9007199254740991,
1214
- "maximum": 9007199254740991,
1215
- "description": "Pull request ID"
1216
- },
1217
- "content": {
1218
- "type": "string",
1219
- "description": "Comment content in Markdown"
1220
- }
1221
- },
1222
- "required": [
1223
- "workspace",
1224
- "repo_slug",
1225
- "pull_request_id",
1226
- "content"
1227
- ],
1228
- "additionalProperties": false
1229
- },
1230
- "output_schema": {
1231
- "type": "object",
1232
- "properties": {
1233
- "id": {
1234
- "type": "integer",
1235
- "minimum": -9007199254740991,
1236
- "maximum": 9007199254740991,
1237
- "description": "Comment ID"
1238
- },
1239
- "content": {
1240
- "type": "string",
1241
- "description": "Comment content in Markdown"
1242
- },
1243
- "author": {
1244
- "type": "string",
1245
- "description": "Author display name"
1246
- },
1247
- "created_on": {
1248
- "type": "string",
1249
- "description": "Created ISO 8601 timestamp"
1250
- },
1251
- "updated_on": {
1252
- "type": "string",
1253
- "description": "Updated ISO 8601 timestamp"
1254
- }
1255
- },
1256
- "required": [
1257
- "id",
1258
- "content",
1259
- "author",
1260
- "created_on",
1261
- "updated_on"
1262
- ],
1263
- "additionalProperties": false
1264
- }
1265
- },
1266
- {
1267
- "name": "get_pull_request_diff",
1268
- "displayName": "Get Pull Request Diff",
1269
- "description": "Get the unified diff of all changed files in a pull request.",
1270
- "summary": "Get pull request diff",
1271
- "icon": "file-diff",
1272
- "group": "Pull Requests",
1273
- "input_schema": {
1274
- "type": "object",
1275
- "properties": {
1276
- "workspace": {
1277
- "type": "string",
1278
- "description": "Workspace slug or UUID"
1279
- },
1280
- "repo_slug": {
1281
- "type": "string",
1282
- "description": "Repository slug"
1283
- },
1284
- "pull_request_id": {
1285
- "type": "integer",
1286
- "minimum": -9007199254740991,
1287
- "maximum": 9007199254740991,
1288
- "description": "Pull request ID"
1289
- }
1290
- },
1291
- "required": [
1292
- "workspace",
1293
- "repo_slug",
1294
- "pull_request_id"
1295
- ],
1296
- "additionalProperties": false
1297
- },
1298
- "output_schema": {
1299
- "type": "object",
1300
- "properties": {
1301
- "diff": {
1302
- "type": "string",
1303
- "description": "Unified diff text for all changed files"
1304
- }
1305
- },
1306
- "required": [
1307
- "diff"
1308
- ],
1309
- "additionalProperties": false
1310
- }
1311
- },
1312
- {
1313
- "name": "list_branches",
1314
- "displayName": "List Branches",
1315
- "description": "List branches in a Bitbucket repository. Supports pagination and filtering.",
1316
- "summary": "List repository branches",
1317
- "icon": "git-branch",
1318
- "group": "Branches & Tags",
1319
- "input_schema": {
1320
- "type": "object",
1321
- "properties": {
1322
- "workspace": {
1323
- "type": "string",
1324
- "description": "Workspace slug or UUID"
1325
- },
1326
- "repo_slug": {
1327
- "type": "string",
1328
- "description": "Repository slug"
1329
- },
1330
- "page": {
1331
- "description": "Page number for pagination (default 1)",
1332
- "type": "integer",
1333
- "minimum": -9007199254740991,
1334
- "maximum": 9007199254740991
1335
- },
1336
- "pagelen": {
1337
- "description": "Number of results per page (default 25, max 100)",
1338
- "type": "integer",
1339
- "minimum": -9007199254740991,
1340
- "maximum": 9007199254740991
1341
- },
1342
- "query": {
1343
- "description": "Filter branches by name (Bitbucket query language)",
1344
- "type": "string"
1345
- }
1346
- },
1347
- "required": [
1348
- "workspace",
1349
- "repo_slug"
1350
- ],
1351
- "additionalProperties": false
1352
- },
1353
- "output_schema": {
1354
- "type": "object",
1355
- "properties": {
1356
- "branches": {
1357
- "type": "array",
1358
- "items": {
1359
- "type": "object",
1360
- "properties": {
1361
- "name": {
1362
- "type": "string",
1363
- "description": "Branch name"
1364
- },
1365
- "target_hash": {
1366
- "type": "string",
1367
- "description": "SHA of the branch HEAD commit"
1368
- },
1369
- "target_date": {
1370
- "type": "string",
1371
- "description": "Date of the HEAD commit"
1372
- },
1373
- "target_message": {
1374
- "type": "string",
1375
- "description": "Commit message of the HEAD commit"
1376
- },
1377
- "target_author": {
1378
- "type": "string",
1379
- "description": "Author of the HEAD commit"
1380
- }
1381
- },
1382
- "required": [
1383
- "name",
1384
- "target_hash",
1385
- "target_date",
1386
- "target_message",
1387
- "target_author"
1388
- ],
1389
- "additionalProperties": false
1390
- },
1391
- "description": "Array of branches"
1392
- }
1393
- },
1394
- "required": [
1395
- "branches"
1396
- ],
1397
- "additionalProperties": false
1398
- }
1399
- },
1400
- {
1401
- "name": "create_branch",
1402
- "displayName": "Create Branch",
1403
- "description": "Create a new branch in a Bitbucket repository from a commit hash or existing branch name.",
1404
- "summary": "Create a new branch",
1405
- "icon": "git-branch-plus",
1406
- "group": "Branches & Tags",
1407
- "input_schema": {
1408
- "type": "object",
1409
- "properties": {
1410
- "workspace": {
1411
- "type": "string",
1412
- "description": "Workspace slug or UUID"
1413
- },
1414
- "repo_slug": {
1415
- "type": "string",
1416
- "description": "Repository slug"
1417
- },
1418
- "name": {
1419
- "type": "string",
1420
- "description": "New branch name"
1421
- },
1422
- "target_hash": {
1423
- "type": "string",
1424
- "description": "Commit hash to branch from, or branch name"
1425
- }
1426
- },
1427
- "required": [
1428
- "workspace",
1429
- "repo_slug",
1430
- "name",
1431
- "target_hash"
1432
- ],
1433
- "additionalProperties": false
1434
- },
1435
- "output_schema": {
1436
- "type": "object",
1437
- "properties": {
1438
- "name": {
1439
- "type": "string",
1440
- "description": "Branch name"
1441
- },
1442
- "target_hash": {
1443
- "type": "string",
1444
- "description": "SHA of the branch HEAD commit"
1445
- },
1446
- "target_date": {
1447
- "type": "string",
1448
- "description": "Date of the HEAD commit"
1449
- },
1450
- "target_message": {
1451
- "type": "string",
1452
- "description": "Commit message of the HEAD commit"
1453
- },
1454
- "target_author": {
1455
- "type": "string",
1456
- "description": "Author of the HEAD commit"
1457
- }
1458
- },
1459
- "required": [
1460
- "name",
1461
- "target_hash",
1462
- "target_date",
1463
- "target_message",
1464
- "target_author"
1465
- ],
1466
- "additionalProperties": false
1467
- }
1468
- },
1469
- {
1470
- "name": "delete_branch",
1471
- "displayName": "Delete Branch",
1472
- "description": "Delete a branch from a Bitbucket repository. This action cannot be undone.",
1473
- "summary": "Delete a branch",
1474
- "icon": "trash",
1475
- "group": "Branches & Tags",
1476
- "input_schema": {
1477
- "type": "object",
1478
- "properties": {
1479
- "workspace": {
1480
- "type": "string",
1481
- "description": "Workspace slug or UUID"
1482
- },
1483
- "repo_slug": {
1484
- "type": "string",
1485
- "description": "Repository slug"
1486
- },
1487
- "name": {
1488
- "type": "string",
1489
- "description": "Branch name to delete"
1490
- }
1491
- },
1492
- "required": [
1493
- "workspace",
1494
- "repo_slug",
1495
- "name"
1496
- ],
1497
- "additionalProperties": false
1498
- },
1499
- "output_schema": {
1500
- "type": "object",
1501
- "properties": {
1502
- "deleted": {
1503
- "type": "boolean",
1504
- "description": "Whether the branch was deleted"
1505
- }
1506
- },
1507
- "required": [
1508
- "deleted"
1509
- ],
1510
- "additionalProperties": false
1511
- }
1512
- },
1513
- {
1514
- "name": "list_tags",
1515
- "displayName": "List Tags",
1516
- "description": "List tags in a Bitbucket repository. Supports pagination.",
1517
- "summary": "List repository tags",
1518
- "icon": "tag",
1519
- "group": "Branches & Tags",
1520
- "input_schema": {
1521
- "type": "object",
1522
- "properties": {
1523
- "workspace": {
1524
- "type": "string",
1525
- "description": "Workspace slug or UUID"
1526
- },
1527
- "repo_slug": {
1528
- "type": "string",
1529
- "description": "Repository slug"
1530
- },
1531
- "page": {
1532
- "description": "Page number for pagination (default 1)",
1533
- "type": "integer",
1534
- "minimum": -9007199254740991,
1535
- "maximum": 9007199254740991
1536
- },
1537
- "pagelen": {
1538
- "description": "Number of results per page (default 25, max 100)",
1539
- "type": "integer",
1540
- "minimum": -9007199254740991,
1541
- "maximum": 9007199254740991
1542
- }
1543
- },
1544
- "required": [
1545
- "workspace",
1546
- "repo_slug"
1547
- ],
1548
- "additionalProperties": false
1549
- },
1550
- "output_schema": {
1551
- "type": "object",
1552
- "properties": {
1553
- "tags": {
1554
- "type": "array",
1555
- "items": {
1556
- "type": "object",
1557
- "properties": {
1558
- "name": {
1559
- "type": "string",
1560
- "description": "Tag name"
1561
- },
1562
- "target_hash": {
1563
- "type": "string",
1564
- "description": "SHA of the tagged commit"
1565
- },
1566
- "target_date": {
1567
- "type": "string",
1568
- "description": "Date of the tagged commit"
1569
- },
1570
- "message": {
1571
- "type": "string",
1572
- "description": "Tag message"
1573
- }
1574
- },
1575
- "required": [
1576
- "name",
1577
- "target_hash",
1578
- "target_date",
1579
- "message"
1580
- ],
1581
- "additionalProperties": false
1582
- },
1583
- "description": "Array of tags"
1584
- }
1585
- },
1586
- "required": [
1587
- "tags"
1588
- ],
1589
- "additionalProperties": false
1590
- }
1591
- },
1592
- {
1593
- "name": "list_commits",
1594
- "displayName": "List Commits",
1595
- "description": "List commits in a Bitbucket repository. Optionally filter by branch or tag name. Supports pagination.",
1596
- "summary": "List repository commits",
1597
- "icon": "git-commit",
1598
- "group": "Commits",
1599
- "input_schema": {
1600
- "type": "object",
1601
- "properties": {
1602
- "workspace": {
1603
- "type": "string",
1604
- "description": "Workspace slug or UUID"
1605
- },
1606
- "repo_slug": {
1607
- "type": "string",
1608
- "description": "Repository slug"
1609
- },
1610
- "page": {
1611
- "description": "Page number for pagination (default 1)",
1612
- "type": "integer",
1613
- "minimum": -9007199254740991,
1614
- "maximum": 9007199254740991
1615
- },
1616
- "pagelen": {
1617
- "description": "Number of results per page (default 25, max 100)",
1618
- "type": "integer",
1619
- "minimum": -9007199254740991,
1620
- "maximum": 9007199254740991
1621
- },
1622
- "branch": {
1623
- "description": "Branch or tag name to filter commits by — pass as the include query param",
1624
- "type": "string"
1625
- }
1626
- },
1627
- "required": [
1628
- "workspace",
1629
- "repo_slug"
1630
- ],
1631
- "additionalProperties": false
1632
- },
1633
- "output_schema": {
1634
- "type": "object",
1635
- "properties": {
1636
- "commits": {
1637
- "type": "array",
1638
- "items": {
1639
- "type": "object",
1640
- "properties": {
1641
- "hash": {
1642
- "type": "string",
1643
- "description": "Full commit SHA"
1644
- },
1645
- "message": {
1646
- "type": "string",
1647
- "description": "Full commit message"
1648
- },
1649
- "author_raw": {
1650
- "type": "string",
1651
- "description": "Author in \"Name <email>\" format"
1652
- },
1653
- "date": {
1654
- "type": "string",
1655
- "description": "Authored ISO 8601 timestamp"
1656
- },
1657
- "web_url": {
1658
- "type": "string",
1659
- "description": "URL to the commit on Bitbucket"
1660
- }
1661
- },
1662
- "required": [
1663
- "hash",
1664
- "message",
1665
- "author_raw",
1666
- "date",
1667
- "web_url"
1668
- ],
1669
- "additionalProperties": false
1670
- },
1671
- "description": "Array of commits"
1672
- }
1673
- },
1674
- "required": [
1675
- "commits"
1676
- ],
1677
- "additionalProperties": false
1678
- }
1679
- },
1680
- {
1681
- "name": "get_commit",
1682
- "displayName": "Get Commit",
1683
- "description": "Get detailed information about a specific commit.",
1684
- "summary": "Get commit details",
1685
- "icon": "git-commit",
1686
- "group": "Commits",
1687
- "input_schema": {
1688
- "type": "object",
1689
- "properties": {
1690
- "workspace": {
1691
- "type": "string",
1692
- "description": "Workspace slug or UUID"
1693
- },
1694
- "repo_slug": {
1695
- "type": "string",
1696
- "description": "Repository slug"
1697
- },
1698
- "commit_hash": {
1699
- "type": "string",
1700
- "description": "Full or short commit SHA"
1701
- }
1702
- },
1703
- "required": [
1704
- "workspace",
1705
- "repo_slug",
1706
- "commit_hash"
1707
- ],
1708
- "additionalProperties": false
1709
- },
1710
- "output_schema": {
1711
- "type": "object",
1712
- "properties": {
1713
- "hash": {
1714
- "type": "string",
1715
- "description": "Full commit SHA"
1716
- },
1717
- "message": {
1718
- "type": "string",
1719
- "description": "Full commit message"
1720
- },
1721
- "author_raw": {
1722
- "type": "string",
1723
- "description": "Author in \"Name <email>\" format"
1724
- },
1725
- "date": {
1726
- "type": "string",
1727
- "description": "Authored ISO 8601 timestamp"
1728
- },
1729
- "web_url": {
1730
- "type": "string",
1731
- "description": "URL to the commit on Bitbucket"
1732
- }
1733
- },
1734
- "required": [
1735
- "hash",
1736
- "message",
1737
- "author_raw",
1738
- "date",
1739
- "web_url"
1740
- ],
1741
- "additionalProperties": false
1742
- }
1743
- },
1744
- {
1745
- "name": "list_pipelines",
1746
- "displayName": "List Pipelines",
1747
- "description": "List CI/CD pipelines for a Bitbucket repository. Supports pagination and sorting.",
1748
- "summary": "List repository pipelines",
1749
- "icon": "play",
1750
- "group": "Pipelines",
1751
- "input_schema": {
1752
- "type": "object",
1753
- "properties": {
1754
- "workspace": {
1755
- "type": "string",
1756
- "description": "Workspace slug or UUID"
1757
- },
1758
- "repo_slug": {
1759
- "type": "string",
1760
- "description": "Repository slug"
1761
- },
1762
- "page": {
1763
- "description": "Page number for pagination (default 1)",
1764
- "type": "integer",
1765
- "minimum": -9007199254740991,
1766
- "maximum": 9007199254740991
1767
- },
1768
- "pagelen": {
1769
- "description": "Number of results per page (default 25, max 100)",
1770
- "type": "integer",
1771
- "minimum": -9007199254740991,
1772
- "maximum": 9007199254740991
1773
- },
1774
- "sort": {
1775
- "description": "Sort field (e.g., \"-created_on\" for newest first)",
1776
- "type": "string"
1777
- }
1778
- },
1779
- "required": [
1780
- "workspace",
1781
- "repo_slug"
1782
- ],
1783
- "additionalProperties": false
1784
- },
1785
- "output_schema": {
1786
- "type": "object",
1787
- "properties": {
1788
- "pipelines": {
1789
- "type": "array",
1790
- "items": {
1791
- "type": "object",
1792
- "properties": {
1793
- "uuid": {
1794
- "type": "string",
1795
- "description": "Pipeline UUID"
1796
- },
1797
- "build_number": {
1798
- "type": "integer",
1799
- "minimum": -9007199254740991,
1800
- "maximum": 9007199254740991,
1801
- "description": "Pipeline build number"
1802
- },
1803
- "state_name": {
1804
- "type": "string",
1805
- "description": "Pipeline state (e.g., COMPLETED, IN_PROGRESS, PENDING)"
1806
- },
1807
- "result_name": {
1808
- "type": "string",
1809
- "description": "Pipeline result (e.g., SUCCESSFUL, FAILED, STOPPED) or empty if in progress"
1810
- },
1811
- "target_branch": {
1812
- "type": "string",
1813
- "description": "Target branch name"
1814
- },
1815
- "target_hash": {
1816
- "type": "string",
1817
- "description": "Target commit SHA"
1818
- },
1819
- "creator": {
1820
- "type": "string",
1821
- "description": "Display name of the pipeline creator"
1822
- },
1823
- "duration_seconds": {
1824
- "type": "integer",
1825
- "minimum": -9007199254740991,
1826
- "maximum": 9007199254740991,
1827
- "description": "Duration in seconds or 0 if not finished"
1828
- },
1829
- "created_on": {
1830
- "type": "string",
1831
- "description": "Created ISO 8601 timestamp"
1832
- },
1833
- "completed_on": {
1834
- "type": "string",
1835
- "description": "Completed ISO 8601 timestamp or empty string"
1836
- }
1837
- },
1838
- "required": [
1839
- "uuid",
1840
- "build_number",
1841
- "state_name",
1842
- "result_name",
1843
- "target_branch",
1844
- "target_hash",
1845
- "creator",
1846
- "duration_seconds",
1847
- "created_on",
1848
- "completed_on"
1849
- ],
1850
- "additionalProperties": false
1851
- },
1852
- "description": "Array of pipelines"
1853
- }
1854
- },
1855
- "required": [
1856
- "pipelines"
1857
- ],
1858
- "additionalProperties": false
1859
- }
1860
- },
1861
- {
1862
- "name": "get_pipeline",
1863
- "displayName": "Get Pipeline",
1864
- "description": "Get detailed information about a specific pipeline run.",
1865
- "summary": "Get pipeline details",
1866
- "icon": "play",
1867
- "group": "Pipelines",
1868
- "input_schema": {
1869
- "type": "object",
1870
- "properties": {
1871
- "workspace": {
1872
- "type": "string",
1873
- "description": "Workspace slug or UUID"
1874
- },
1875
- "repo_slug": {
1876
- "type": "string",
1877
- "description": "Repository slug"
1878
- },
1879
- "pipeline_uuid": {
1880
- "type": "string",
1881
- "description": "Pipeline UUID"
1882
- }
1883
- },
1884
- "required": [
1885
- "workspace",
1886
- "repo_slug",
1887
- "pipeline_uuid"
1888
- ],
1889
- "additionalProperties": false
1890
- },
1891
- "output_schema": {
1892
- "type": "object",
1893
- "properties": {
1894
- "uuid": {
1895
- "type": "string",
1896
- "description": "Pipeline UUID"
1897
- },
1898
- "build_number": {
1899
- "type": "integer",
1900
- "minimum": -9007199254740991,
1901
- "maximum": 9007199254740991,
1902
- "description": "Pipeline build number"
1903
- },
1904
- "state_name": {
1905
- "type": "string",
1906
- "description": "Pipeline state (e.g., COMPLETED, IN_PROGRESS, PENDING)"
1907
- },
1908
- "result_name": {
1909
- "type": "string",
1910
- "description": "Pipeline result (e.g., SUCCESSFUL, FAILED, STOPPED) or empty if in progress"
1911
- },
1912
- "target_branch": {
1913
- "type": "string",
1914
- "description": "Target branch name"
1915
- },
1916
- "target_hash": {
1917
- "type": "string",
1918
- "description": "Target commit SHA"
1919
- },
1920
- "creator": {
1921
- "type": "string",
1922
- "description": "Display name of the pipeline creator"
1923
- },
1924
- "duration_seconds": {
1925
- "type": "integer",
1926
- "minimum": -9007199254740991,
1927
- "maximum": 9007199254740991,
1928
- "description": "Duration in seconds or 0 if not finished"
1929
- },
1930
- "created_on": {
1931
- "type": "string",
1932
- "description": "Created ISO 8601 timestamp"
1933
- },
1934
- "completed_on": {
1935
- "type": "string",
1936
- "description": "Completed ISO 8601 timestamp or empty string"
1937
- }
1938
- },
1939
- "required": [
1940
- "uuid",
1941
- "build_number",
1942
- "state_name",
1943
- "result_name",
1944
- "target_branch",
1945
- "target_hash",
1946
- "creator",
1947
- "duration_seconds",
1948
- "created_on",
1949
- "completed_on"
1950
- ],
1951
- "additionalProperties": false
1952
- }
1953
- },
1954
- {
1955
- "name": "list_pipeline_steps",
1956
- "displayName": "List Pipeline Steps",
1957
- "description": "List steps for a specific pipeline run. Supports pagination.",
1958
- "summary": "List pipeline steps",
1959
- "icon": "list",
1960
- "group": "Pipelines",
1961
- "input_schema": {
1962
- "type": "object",
1963
- "properties": {
1964
- "workspace": {
1965
- "type": "string",
1966
- "description": "Workspace slug or UUID"
1967
- },
1968
- "repo_slug": {
1969
- "type": "string",
1970
- "description": "Repository slug"
1971
- },
1972
- "pipeline_uuid": {
1973
- "type": "string",
1974
- "description": "Pipeline UUID"
1975
- },
1976
- "page": {
1977
- "description": "Page number for pagination (default 1)",
1978
- "type": "integer",
1979
- "minimum": -9007199254740991,
1980
- "maximum": 9007199254740991
1981
- },
1982
- "pagelen": {
1983
- "description": "Number of results per page (default 25, max 100)",
1984
- "type": "integer",
1985
- "minimum": -9007199254740991,
1986
- "maximum": 9007199254740991
1987
- }
1988
- },
1989
- "required": [
1990
- "workspace",
1991
- "repo_slug",
1992
- "pipeline_uuid"
1993
- ],
1994
- "additionalProperties": false
1995
- },
1996
- "output_schema": {
1997
- "type": "object",
1998
- "properties": {
1999
- "steps": {
2000
- "type": "array",
2001
- "items": {
2002
- "type": "object",
2003
- "properties": {
2004
- "uuid": {
2005
- "type": "string",
2006
- "description": "Step UUID"
2007
- },
2008
- "name": {
2009
- "type": "string",
2010
- "description": "Step name"
2011
- },
2012
- "state_name": {
2013
- "type": "string",
2014
- "description": "Step state (e.g., COMPLETED, IN_PROGRESS, PENDING)"
2015
- },
2016
- "result_name": {
2017
- "type": "string",
2018
- "description": "Step result (e.g., SUCCESSFUL, FAILED) or empty if in progress"
2019
- },
2020
- "duration_seconds": {
2021
- "type": "integer",
2022
- "minimum": -9007199254740991,
2023
- "maximum": 9007199254740991,
2024
- "description": "Duration in seconds or 0 if not finished"
2025
- },
2026
- "started_on": {
2027
- "type": "string",
2028
- "description": "Started ISO 8601 timestamp or empty string"
2029
- },
2030
- "completed_on": {
2031
- "type": "string",
2032
- "description": "Completed ISO 8601 timestamp or empty string"
2033
- }
2034
- },
2035
- "required": [
2036
- "uuid",
2037
- "name",
2038
- "state_name",
2039
- "result_name",
2040
- "duration_seconds",
2041
- "started_on",
2042
- "completed_on"
2043
- ],
2044
- "additionalProperties": false
2045
- },
2046
- "description": "Array of pipeline steps"
2047
- }
2048
- },
2049
- "required": [
2050
- "steps"
2051
- ],
2052
- "additionalProperties": false
2053
- }
2054
- },
2055
- {
2056
- "name": "get_file_content",
2057
- "displayName": "Get File Content",
2058
- "description": "Read the raw content of a file from a Bitbucket repository at a given branch, tag, or commit.",
2059
- "summary": "Read a file from a repository",
2060
- "icon": "file-text",
2061
- "group": "Source",
2062
- "input_schema": {
2063
- "type": "object",
2064
- "properties": {
2065
- "workspace": {
2066
- "type": "string",
2067
- "description": "Workspace slug or UUID"
2068
- },
2069
- "repo_slug": {
2070
- "type": "string",
2071
- "description": "Repository slug"
2072
- },
2073
- "path": {
2074
- "type": "string",
2075
- "description": "File path relative to repository root"
2076
- },
2077
- "ref": {
2078
- "description": "Branch name, tag, or commit SHA — defaults to the default branch. If not provided, uses \"main\"",
2079
- "type": "string"
2080
- }
2081
- },
2082
- "required": [
2083
- "workspace",
2084
- "repo_slug",
2085
- "path"
2086
- ],
2087
- "additionalProperties": false
2088
- },
2089
- "output_schema": {
2090
- "type": "object",
2091
- "properties": {
2092
- "content": {
2093
- "type": "string",
2094
- "description": "Raw file content"
2095
- },
2096
- "path": {
2097
- "type": "string",
2098
- "description": "File path"
2099
- }
2100
- },
2101
- "required": [
2102
- "content",
2103
- "path"
2104
- ],
2105
- "additionalProperties": false
2106
- }
2107
- },
2108
- {
2109
- "name": "search_code",
2110
- "displayName": "Search Code",
2111
- "description": "Search for code across all repositories in a Bitbucket workspace. Returns matching file paths and content snippets.",
2112
- "summary": "Search code in a workspace",
2113
- "icon": "search",
2114
- "group": "Source",
2115
- "input_schema": {
2116
- "type": "object",
2117
- "properties": {
2118
- "workspace": {
2119
- "type": "string",
2120
- "description": "Workspace slug or UUID"
2121
- },
2122
- "search_query": {
2123
- "type": "string",
2124
- "description": "Search query string"
2125
- },
2126
- "page": {
2127
- "description": "Page number for pagination (default 1)",
2128
- "type": "integer",
2129
- "minimum": -9007199254740991,
2130
- "maximum": 9007199254740991
2131
- },
2132
- "pagelen": {
2133
- "description": "Number of results per page (default 25, max 100)",
2134
- "type": "integer",
2135
- "minimum": -9007199254740991,
2136
- "maximum": 9007199254740991
2137
- }
2138
- },
2139
- "required": [
2140
- "workspace",
2141
- "search_query"
2142
- ],
2143
- "additionalProperties": false
2144
- },
2145
- "output_schema": {
2146
- "type": "object",
2147
- "properties": {
2148
- "results": {
2149
- "type": "array",
2150
- "items": {
2151
- "type": "object",
2152
- "properties": {
2153
- "file": {
2154
- "type": "string",
2155
- "description": "File path"
2156
- },
2157
- "repo": {
2158
- "type": "string",
2159
- "description": "Repository slug"
2160
- },
2161
- "content_matches": {
2162
- "type": "array",
2163
- "items": {
2164
- "type": "object",
2165
- "properties": {
2166
- "lines": {
2167
- "type": "string",
2168
- "description": "Matched lines"
2169
- }
2170
- },
2171
- "required": [
2172
- "lines"
2173
- ],
2174
- "additionalProperties": false
2175
- },
2176
- "description": "Content match segments"
2177
- }
2178
- },
2179
- "required": [
2180
- "file",
2181
- "repo",
2182
- "content_matches"
2183
- ],
2184
- "additionalProperties": false
2185
- },
2186
- "description": "Search results"
2187
- }
2188
- },
2189
- "required": [
2190
- "results"
2191
- ],
2192
- "additionalProperties": false
2193
- }
2194
- },
2195
- {
2196
- "name": "list_workspaces",
2197
- "displayName": "List Workspaces",
2198
- "description": "List all Bitbucket workspaces the authenticated user has access to. Supports pagination.",
2199
- "summary": "List workspaces",
2200
- "icon": "building",
2201
- "group": "Workspaces",
2202
- "input_schema": {
2203
- "type": "object",
2204
- "properties": {
2205
- "page": {
2206
- "description": "Page number for pagination (default 1)",
2207
- "type": "integer",
2208
- "minimum": -9007199254740991,
2209
- "maximum": 9007199254740991
2210
- },
2211
- "pagelen": {
2212
- "description": "Number of results per page (default 25, max 100)",
2213
- "type": "integer",
2214
- "minimum": -9007199254740991,
2215
- "maximum": 9007199254740991
2216
- }
2217
- },
2218
- "additionalProperties": false
2219
- },
2220
- "output_schema": {
2221
- "type": "object",
2222
- "properties": {
2223
- "workspaces": {
2224
- "type": "array",
2225
- "items": {
2226
- "type": "object",
2227
- "properties": {
2228
- "uuid": {
2229
- "type": "string",
2230
- "description": "Workspace UUID"
2231
- },
2232
- "slug": {
2233
- "type": "string",
2234
- "description": "Workspace slug"
2235
- },
2236
- "name": {
2237
- "type": "string",
2238
- "description": "Workspace name"
2239
- },
2240
- "type": {
2241
- "type": "string",
2242
- "description": "Workspace type"
2243
- }
2244
- },
2245
- "required": [
2246
- "uuid",
2247
- "slug",
2248
- "name",
2249
- "type"
2250
- ],
2251
- "additionalProperties": false
2252
- },
2253
- "description": "Array of workspaces"
2254
- }
2255
- },
2256
- "required": [
2257
- "workspaces"
2258
- ],
2259
- "additionalProperties": false
2260
- }
2261
- },
2262
- {
2263
- "name": "list_workspace_members",
2264
- "displayName": "List Workspace Members",
2265
- "description": "List all members of a Bitbucket workspace. Supports pagination.",
2266
- "summary": "List workspace members",
2267
- "icon": "users",
2268
- "group": "Workspaces",
2269
- "input_schema": {
2270
- "type": "object",
2271
- "properties": {
2272
- "workspace": {
2273
- "type": "string",
2274
- "description": "Workspace slug or UUID"
2275
- },
2276
- "page": {
2277
- "description": "Page number for pagination (default 1)",
2278
- "type": "integer",
2279
- "minimum": -9007199254740991,
2280
- "maximum": 9007199254740991
2281
- },
2282
- "pagelen": {
2283
- "description": "Number of results per page (default 25, max 100)",
2284
- "type": "integer",
2285
- "minimum": -9007199254740991,
2286
- "maximum": 9007199254740991
2287
- }
2288
- },
2289
- "required": [
2290
- "workspace"
2291
- ],
2292
- "additionalProperties": false
2293
- },
2294
- "output_schema": {
2295
- "type": "object",
2296
- "properties": {
2297
- "members": {
2298
- "type": "array",
2299
- "items": {
2300
- "type": "object",
2301
- "properties": {
2302
- "display_name": {
2303
- "type": "string",
2304
- "description": "Member display name"
2305
- },
2306
- "uuid": {
2307
- "type": "string",
2308
- "description": "Member UUID"
2309
- },
2310
- "type": {
2311
- "type": "string",
2312
- "description": "Account type"
2313
- },
2314
- "permission": {
2315
- "type": "string",
2316
- "description": "Workspace permission level (e.g., \"owner\", \"collaborator\", \"member\")"
2317
- }
2318
- },
2319
- "required": [
2320
- "display_name",
2321
- "uuid",
2322
- "type",
2323
- "permission"
2324
- ],
2325
- "additionalProperties": false
2326
- },
2327
- "description": "Array of workspace members"
2328
- }
2329
- },
2330
- "required": [
2331
- "members"
2332
- ],
2333
- "additionalProperties": false
2334
- }
2335
- },
2336
- {
2337
- "name": "get_user_profile",
2338
- "displayName": "Get User Profile",
2339
- "description": "Get the profile of the currently authenticated Bitbucket user.",
2340
- "summary": "Get current user profile",
2341
- "icon": "user",
2342
- "group": "Users",
2343
- "input_schema": {
2344
- "type": "object",
2345
- "properties": {},
2346
- "additionalProperties": false
2347
- },
2348
- "output_schema": {
2349
- "type": "object",
2350
- "properties": {
2351
- "uuid": {
2352
- "type": "string",
2353
- "description": "User UUID"
2354
- },
2355
- "username": {
2356
- "type": "string",
2357
- "description": "Username (account_id for Atlassian accounts)"
2358
- },
2359
- "display_name": {
2360
- "type": "string",
2361
- "description": "Display name"
2362
- },
2363
- "type": {
2364
- "type": "string",
2365
- "description": "Account type (e.g., \"user\")"
2366
- },
2367
- "web_url": {
2368
- "type": "string",
2369
- "description": "URL to the user profile on Bitbucket"
2370
- }
2371
- },
2372
- "required": [
2373
- "uuid",
2374
- "username",
2375
- "display_name",
2376
- "type",
2377
- "web_url"
2378
- ],
2379
- "additionalProperties": false
2380
- }
2381
- }
2382
- ]
2383
- }