@x12i/kinedrop 0.0.0-stage → 0.1.1

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,2610 @@
1
+ // Generated by scripts/generate-interface-contracts.mjs; edit public operation descriptions.
2
+ export const SERVICE_OPERATIONS = Object.freeze([
3
+ {
4
+ "id": "source.uploads.create",
5
+ "http": {
6
+ "method": "POST",
7
+ "path": "/v1/orgs/{orgId}/apps/{app}/source-uploads",
8
+ "success": 201
9
+ },
10
+ "summary": "Create an actor-bound resumable upload with a manifest limited to 1 MiB; no source is deployable yet.",
11
+ "permissions": [
12
+ "apps:deploy"
13
+ ],
14
+ "input": {
15
+ "type": "object",
16
+ "additionalProperties": false,
17
+ "properties": {
18
+ "manifest": {
19
+ "type": "object",
20
+ "additionalProperties": false,
21
+ "properties": {
22
+ "files": {
23
+ "type": "array",
24
+ "maxItems": 20000,
25
+ "items": {
26
+ "type": "object",
27
+ "additionalProperties": false,
28
+ "properties": {
29
+ "path": {
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "maxLength": 500
33
+ },
34
+ "digest": {
35
+ "type": "string",
36
+ "minLength": 1,
37
+ "maxLength": 71,
38
+ "pattern": "^sha256:[a-f0-9]{64}$"
39
+ },
40
+ "sizeBytes": {
41
+ "type": "integer",
42
+ "minimum": 0,
43
+ "maximum": 104857600
44
+ }
45
+ },
46
+ "required": [
47
+ "path",
48
+ "digest",
49
+ "sizeBytes"
50
+ ]
51
+ },
52
+ "minItems": 1
53
+ },
54
+ "repository": {
55
+ "type": "string",
56
+ "minLength": 1,
57
+ "maxLength": 500,
58
+ "format": "uri"
59
+ },
60
+ "commit": {
61
+ "type": "string",
62
+ "minLength": 1,
63
+ "maxLength": 40,
64
+ "pattern": "^[a-f0-9]{40}$"
65
+ }
66
+ },
67
+ "required": [
68
+ "files"
69
+ ]
70
+ },
71
+ "ttlSeconds": {
72
+ "type": "integer",
73
+ "minimum": 1,
74
+ "maximum": 900
75
+ },
76
+ "orgId": {
77
+ "type": "string",
78
+ "minLength": 1,
79
+ "maxLength": 128,
80
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"
81
+ },
82
+ "app": {
83
+ "type": "string",
84
+ "minLength": 2,
85
+ "maxLength": 24,
86
+ "pattern": "^[a-z](?:[a-z0-9]|-(?!-))*[a-z0-9]$"
87
+ }
88
+ },
89
+ "required": [
90
+ "manifest",
91
+ "orgId",
92
+ "app"
93
+ ]
94
+ },
95
+ "risk": {
96
+ "level": "write"
97
+ },
98
+ "idempotency": false,
99
+ "handlesSecrets": false,
100
+ "humanOnly": false,
101
+ "operatorOnly": false,
102
+ "availability": {
103
+ "sdk": true,
104
+ "cli": true,
105
+ "mcp": false
106
+ }
107
+ },
108
+ {
109
+ "id": "source.uploads.status",
110
+ "http": {
111
+ "method": "GET",
112
+ "path": "/v1/orgs/{orgId}/apps/{app}/source-uploads/{uploadId}",
113
+ "success": 200
114
+ },
115
+ "summary": "Read the owning actor’s received chunk metadata without source bytes.",
116
+ "permissions": [
117
+ "apps:read"
118
+ ],
119
+ "input": {
120
+ "type": "object",
121
+ "additionalProperties": false,
122
+ "properties": {
123
+ "orgId": {
124
+ "type": "string",
125
+ "minLength": 1,
126
+ "maxLength": 128,
127
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"
128
+ },
129
+ "app": {
130
+ "type": "string",
131
+ "minLength": 2,
132
+ "maxLength": 24,
133
+ "pattern": "^[a-z](?:[a-z0-9]|-(?!-))*[a-z0-9]$"
134
+ },
135
+ "uploadId": {
136
+ "type": "string",
137
+ "minLength": 1,
138
+ "maxLength": 40,
139
+ "pattern": "^upl_[a-f0-9-]{36}$"
140
+ }
141
+ },
142
+ "required": [
143
+ "orgId",
144
+ "app",
145
+ "uploadId"
146
+ ]
147
+ },
148
+ "risk": {
149
+ "level": "read"
150
+ },
151
+ "idempotency": false,
152
+ "handlesSecrets": false,
153
+ "humanOnly": false,
154
+ "operatorOnly": false,
155
+ "availability": {
156
+ "sdk": true,
157
+ "cli": true,
158
+ "mcp": false
159
+ }
160
+ },
161
+ {
162
+ "id": "source.uploads.chunk",
163
+ "http": {
164
+ "method": "PUT",
165
+ "path": "/v1/orgs/{orgId}/apps/{app}/source-uploads/{uploadId}/chunks",
166
+ "success": 200
167
+ },
168
+ "summary": "Upload one immutable canonical-base64 chunk of at most 512 KiB; complete files are checked before source commit.",
169
+ "permissions": [
170
+ "apps:deploy"
171
+ ],
172
+ "input": {
173
+ "type": "object",
174
+ "additionalProperties": false,
175
+ "properties": {
176
+ "path": {
177
+ "type": "string",
178
+ "minLength": 1,
179
+ "maxLength": 500
180
+ },
181
+ "index": {
182
+ "type": "integer",
183
+ "minimum": 0,
184
+ "maximum": 199
185
+ },
186
+ "digest": {
187
+ "type": "string",
188
+ "minLength": 1,
189
+ "maxLength": 71,
190
+ "pattern": "^sha256:[a-f0-9]{64}$"
191
+ },
192
+ "contentBase64": {
193
+ "type": "string",
194
+ "minLength": 1,
195
+ "maxLength": 699052,
196
+ "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
197
+ },
198
+ "orgId": {
199
+ "type": "string",
200
+ "minLength": 1,
201
+ "maxLength": 128,
202
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"
203
+ },
204
+ "app": {
205
+ "type": "string",
206
+ "minLength": 2,
207
+ "maxLength": 24,
208
+ "pattern": "^[a-z](?:[a-z0-9]|-(?!-))*[a-z0-9]$"
209
+ },
210
+ "uploadId": {
211
+ "type": "string",
212
+ "minLength": 1,
213
+ "maxLength": 40,
214
+ "pattern": "^upl_[a-f0-9-]{36}$"
215
+ }
216
+ },
217
+ "required": [
218
+ "path",
219
+ "index",
220
+ "digest",
221
+ "contentBase64",
222
+ "orgId",
223
+ "app",
224
+ "uploadId"
225
+ ]
226
+ },
227
+ "risk": {
228
+ "level": "write"
229
+ },
230
+ "idempotency": false,
231
+ "handlesSecrets": false,
232
+ "humanOnly": false,
233
+ "operatorOnly": false,
234
+ "availability": {
235
+ "sdk": true,
236
+ "cli": true,
237
+ "mcp": false
238
+ }
239
+ },
240
+ {
241
+ "id": "source.uploads.finalize",
242
+ "http": {
243
+ "method": "POST",
244
+ "path": "/v1/orgs/{orgId}/apps/{app}/source-uploads/{uploadId}/finalize",
245
+ "success": 200
246
+ },
247
+ "summary": "Commit a verified immutable source only after every declared file is present and safe.",
248
+ "permissions": [
249
+ "apps:deploy"
250
+ ],
251
+ "input": {
252
+ "type": "object",
253
+ "additionalProperties": false,
254
+ "properties": {
255
+ "orgId": {
256
+ "type": "string",
257
+ "minLength": 1,
258
+ "maxLength": 128,
259
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"
260
+ },
261
+ "app": {
262
+ "type": "string",
263
+ "minLength": 2,
264
+ "maxLength": 24,
265
+ "pattern": "^[a-z](?:[a-z0-9]|-(?!-))*[a-z0-9]$"
266
+ },
267
+ "uploadId": {
268
+ "type": "string",
269
+ "minLength": 1,
270
+ "maxLength": 40,
271
+ "pattern": "^upl_[a-f0-9-]{36}$"
272
+ }
273
+ },
274
+ "required": [
275
+ "orgId",
276
+ "app",
277
+ "uploadId"
278
+ ]
279
+ },
280
+ "risk": {
281
+ "level": "write"
282
+ },
283
+ "idempotency": false,
284
+ "handlesSecrets": false,
285
+ "humanOnly": false,
286
+ "operatorOnly": false,
287
+ "availability": {
288
+ "sdk": true,
289
+ "cli": true,
290
+ "mcp": false
291
+ }
292
+ },
293
+ {
294
+ "id": "source.uploads.cancel",
295
+ "http": {
296
+ "method": "DELETE",
297
+ "path": "/v1/orgs/{orgId}/apps/{app}/source-uploads/{uploadId}",
298
+ "success": 200
299
+ },
300
+ "summary": "Cancel this actor-bound upload; staged bytes remain private until guarded cleanup.",
301
+ "permissions": [
302
+ "apps:deploy"
303
+ ],
304
+ "input": {
305
+ "type": "object",
306
+ "additionalProperties": false,
307
+ "properties": {
308
+ "orgId": {
309
+ "type": "string",
310
+ "minLength": 1,
311
+ "maxLength": 128,
312
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"
313
+ },
314
+ "app": {
315
+ "type": "string",
316
+ "minLength": 2,
317
+ "maxLength": 24,
318
+ "pattern": "^[a-z](?:[a-z0-9]|-(?!-))*[a-z0-9]$"
319
+ },
320
+ "uploadId": {
321
+ "type": "string",
322
+ "minLength": 1,
323
+ "maxLength": 40,
324
+ "pattern": "^upl_[a-f0-9-]{36}$"
325
+ }
326
+ },
327
+ "required": [
328
+ "orgId",
329
+ "app",
330
+ "uploadId"
331
+ ]
332
+ },
333
+ "risk": {
334
+ "level": "write"
335
+ },
336
+ "idempotency": false,
337
+ "handlesSecrets": false,
338
+ "humanOnly": false,
339
+ "operatorOnly": false,
340
+ "availability": {
341
+ "sdk": true,
342
+ "cli": true,
343
+ "mcp": false
344
+ }
345
+ },
346
+ {
347
+ "id": "retention.capabilities",
348
+ "http": {
349
+ "method": "GET",
350
+ "path": "/v1/orgs/{orgId}/apps/{app}/retention/capabilities",
351
+ "success": 200
352
+ },
353
+ "summary": "Read actual local source-cleanup admission and retirement capabilities.",
354
+ "permissions": [
355
+ "apps:read"
356
+ ],
357
+ "input": {
358
+ "type": "object",
359
+ "additionalProperties": false,
360
+ "properties": {
361
+ "orgId": {
362
+ "type": "string",
363
+ "minLength": 1,
364
+ "maxLength": 128
365
+ },
366
+ "app": {
367
+ "type": "string",
368
+ "minLength": 2,
369
+ "maxLength": 24
370
+ }
371
+ },
372
+ "required": [
373
+ "orgId",
374
+ "app"
375
+ ]
376
+ },
377
+ "risk": {
378
+ "level": "read"
379
+ },
380
+ "idempotency": false,
381
+ "handlesSecrets": false,
382
+ "humanOnly": false,
383
+ "operatorOnly": false,
384
+ "availability": {
385
+ "sdk": true,
386
+ "cli": true,
387
+ "mcp": true
388
+ },
389
+ "mcp": {
390
+ "tool": "maintenance",
391
+ "action": "capabilities"
392
+ }
393
+ },
394
+ {
395
+ "id": "retention.plan",
396
+ "http": {
397
+ "method": "POST",
398
+ "path": "/v1/orgs/{orgId}/apps/{app}/retention/plans",
399
+ "success": 200
400
+ },
401
+ "summary": "Review explicit bounded source cleanup and release retirement; performs no deletion.",
402
+ "permissions": [
403
+ "apps:retention:manage"
404
+ ],
405
+ "input": {
406
+ "type": "object",
407
+ "additionalProperties": false,
408
+ "properties": {
409
+ "policy": {
410
+ "type": "object",
411
+ "additionalProperties": false,
412
+ "properties": {
413
+ "retainSuccessfulReleases": {
414
+ "type": "integer",
415
+ "minimum": 0,
416
+ "maximum": 10000
417
+ },
418
+ "minimumAgeMs": {
419
+ "type": "integer",
420
+ "minimum": 0,
421
+ "maximum": 315360000000
422
+ },
423
+ "orphanMinimumAgeMs": {
424
+ "type": "integer",
425
+ "minimum": 0,
426
+ "maximum": 315360000000
427
+ },
428
+ "planTtlMs": {
429
+ "type": "integer",
430
+ "minimum": 1,
431
+ "maximum": 86400000
432
+ },
433
+ "maxDeleteItems": {
434
+ "type": "integer",
435
+ "minimum": 1,
436
+ "maximum": 10000
437
+ },
438
+ "maxDeleteBytes": {
439
+ "type": "integer",
440
+ "minimum": 0,
441
+ "maximum": 1099511627776
442
+ },
443
+ "maxInventoryItems": {
444
+ "type": "integer",
445
+ "minimum": 1,
446
+ "maximum": 100000
447
+ }
448
+ },
449
+ "required": [
450
+ "retainSuccessfulReleases",
451
+ "minimumAgeMs",
452
+ "orphanMinimumAgeMs",
453
+ "planTtlMs",
454
+ "maxDeleteItems",
455
+ "maxDeleteBytes",
456
+ "maxInventoryItems"
457
+ ]
458
+ },
459
+ "retireReleaseIds": {
460
+ "type": "array",
461
+ "items": {
462
+ "type": "string",
463
+ "minLength": 1,
464
+ "maxLength": 36,
465
+ "pattern": "^rel_[A-Za-z0-9]{10,32}$"
466
+ },
467
+ "maxItems": 10000,
468
+ "uniqueItems": true
469
+ },
470
+ "orgId": {
471
+ "type": "string",
472
+ "minLength": 1,
473
+ "maxLength": 128
474
+ },
475
+ "app": {
476
+ "type": "string",
477
+ "minLength": 2,
478
+ "maxLength": 24
479
+ }
480
+ },
481
+ "required": [
482
+ "policy",
483
+ "orgId",
484
+ "app"
485
+ ]
486
+ },
487
+ "risk": {
488
+ "level": "write"
489
+ },
490
+ "idempotency": false,
491
+ "handlesSecrets": false,
492
+ "humanOnly": true,
493
+ "operatorOnly": false,
494
+ "availability": {
495
+ "sdk": true,
496
+ "cli": true,
497
+ "mcp": false
498
+ }
499
+ },
500
+ {
501
+ "id": "retention.get",
502
+ "http": {
503
+ "method": "GET",
504
+ "path": "/v1/orgs/{orgId}/apps/{app}/retention/plans/{planId}",
505
+ "success": 200
506
+ },
507
+ "summary": "Read an owned immutable cleanup plan and per-item progress.",
508
+ "permissions": [
509
+ "apps:read"
510
+ ],
511
+ "input": {
512
+ "type": "object",
513
+ "additionalProperties": false,
514
+ "properties": {
515
+ "orgId": {
516
+ "type": "string",
517
+ "minLength": 1,
518
+ "maxLength": 128
519
+ },
520
+ "app": {
521
+ "type": "string",
522
+ "minLength": 2,
523
+ "maxLength": 24
524
+ },
525
+ "planId": {
526
+ "type": "string",
527
+ "minLength": 1,
528
+ "maxLength": 39,
529
+ "pattern": "^gc_[a-f0-9-]{36}$"
530
+ }
531
+ },
532
+ "required": [
533
+ "orgId",
534
+ "app",
535
+ "planId"
536
+ ]
537
+ },
538
+ "risk": {
539
+ "level": "read"
540
+ },
541
+ "idempotency": false,
542
+ "handlesSecrets": false,
543
+ "humanOnly": false,
544
+ "operatorOnly": false,
545
+ "availability": {
546
+ "sdk": true,
547
+ "cli": true,
548
+ "mcp": true
549
+ },
550
+ "mcp": {
551
+ "tool": "maintenance",
552
+ "action": "get_plan"
553
+ }
554
+ },
555
+ {
556
+ "id": "retention.apply",
557
+ "http": {
558
+ "method": "POST",
559
+ "path": "/v1/orgs/{orgId}/apps/{app}/retention/plans/{planId}/apply",
560
+ "success": 200
561
+ },
562
+ "summary": "Apply a bounded portion of the exact human-reviewed plan under exclusive reference admission.",
563
+ "permissions": [
564
+ "apps:retention:manage"
565
+ ],
566
+ "input": {
567
+ "type": "object",
568
+ "additionalProperties": false,
569
+ "properties": {
570
+ "reviewedDigest": {
571
+ "type": "string",
572
+ "minLength": 1,
573
+ "maxLength": 71,
574
+ "pattern": "^sha256:[a-f0-9]{64}$"
575
+ },
576
+ "maxItems": {
577
+ "type": "integer",
578
+ "minimum": 1,
579
+ "maximum": 10000
580
+ },
581
+ "orgId": {
582
+ "type": "string",
583
+ "minLength": 1,
584
+ "maxLength": 128
585
+ },
586
+ "app": {
587
+ "type": "string",
588
+ "minLength": 2,
589
+ "maxLength": 24
590
+ },
591
+ "planId": {
592
+ "type": "string",
593
+ "minLength": 1,
594
+ "maxLength": 39,
595
+ "pattern": "^gc_[a-f0-9-]{36}$"
596
+ }
597
+ },
598
+ "required": [
599
+ "reviewedDigest",
600
+ "orgId",
601
+ "app",
602
+ "planId"
603
+ ]
604
+ },
605
+ "risk": {
606
+ "level": "write"
607
+ },
608
+ "idempotency": false,
609
+ "handlesSecrets": false,
610
+ "humanOnly": true,
611
+ "operatorOnly": false,
612
+ "availability": {
613
+ "sdk": true,
614
+ "cli": true,
615
+ "mcp": false
616
+ }
617
+ },
618
+ {
619
+ "id": "retention.pins.get",
620
+ "http": {
621
+ "method": "GET",
622
+ "path": "/v1/orgs/{orgId}/apps/{app}/retention/pins",
623
+ "success": 200
624
+ },
625
+ "summary": "Read retained source/artifact/release pins for the application.",
626
+ "permissions": [
627
+ "apps:read"
628
+ ],
629
+ "input": {
630
+ "type": "object",
631
+ "additionalProperties": false,
632
+ "properties": {
633
+ "orgId": {
634
+ "type": "string",
635
+ "minLength": 1,
636
+ "maxLength": 128
637
+ },
638
+ "app": {
639
+ "type": "string",
640
+ "minLength": 2,
641
+ "maxLength": 24
642
+ }
643
+ },
644
+ "required": [
645
+ "orgId",
646
+ "app"
647
+ ]
648
+ },
649
+ "risk": {
650
+ "level": "read"
651
+ },
652
+ "idempotency": false,
653
+ "handlesSecrets": false,
654
+ "humanOnly": false,
655
+ "operatorOnly": false,
656
+ "availability": {
657
+ "sdk": true,
658
+ "cli": true,
659
+ "mcp": true
660
+ },
661
+ "mcp": {
662
+ "tool": "maintenance",
663
+ "action": "get_pins"
664
+ }
665
+ },
666
+ {
667
+ "id": "retention.pins.set",
668
+ "http": {
669
+ "method": "PUT",
670
+ "path": "/v1/orgs/{orgId}/apps/{app}/retention/pins",
671
+ "success": 200
672
+ },
673
+ "summary": "Set exact human-reviewed application retention pins.",
674
+ "permissions": [
675
+ "apps:retention:manage"
676
+ ],
677
+ "input": {
678
+ "type": "object",
679
+ "additionalProperties": false,
680
+ "properties": {
681
+ "releaseIds": {
682
+ "type": "array",
683
+ "items": {
684
+ "type": "string",
685
+ "minLength": 1,
686
+ "maxLength": 36,
687
+ "pattern": "^rel_[A-Za-z0-9]{10,32}$"
688
+ },
689
+ "maxItems": 10000,
690
+ "uniqueItems": true
691
+ },
692
+ "sourceDigests": {
693
+ "type": "array",
694
+ "items": {
695
+ "type": "string",
696
+ "minLength": 1,
697
+ "maxLength": 71,
698
+ "pattern": "^sha256:[a-f0-9]{64}$"
699
+ },
700
+ "maxItems": 10000,
701
+ "uniqueItems": true
702
+ },
703
+ "artifactDigests": {
704
+ "type": "array",
705
+ "items": {
706
+ "type": "string",
707
+ "minLength": 1,
708
+ "maxLength": 71,
709
+ "pattern": "^sha256:[a-f0-9]{64}$"
710
+ },
711
+ "maxItems": 10000,
712
+ "uniqueItems": true
713
+ },
714
+ "orgId": {
715
+ "type": "string",
716
+ "minLength": 1,
717
+ "maxLength": 128
718
+ },
719
+ "app": {
720
+ "type": "string",
721
+ "minLength": 2,
722
+ "maxLength": 24
723
+ }
724
+ },
725
+ "required": [
726
+ "orgId",
727
+ "app"
728
+ ]
729
+ },
730
+ "risk": {
731
+ "level": "write"
732
+ },
733
+ "idempotency": false,
734
+ "handlesSecrets": false,
735
+ "humanOnly": true,
736
+ "operatorOnly": false,
737
+ "availability": {
738
+ "sdk": true,
739
+ "cli": true,
740
+ "mcp": false
741
+ }
742
+ },
743
+ {
744
+ "id": "retention.retirements",
745
+ "http": {
746
+ "method": "GET",
747
+ "path": "/v1/orgs/{orgId}/apps/{app}/retention/retirements",
748
+ "success": 200
749
+ },
750
+ "summary": "Read durable retirement tombstones; retired releases cannot be rolled back or promoted.",
751
+ "permissions": [
752
+ "apps:read"
753
+ ],
754
+ "input": {
755
+ "type": "object",
756
+ "additionalProperties": false,
757
+ "properties": {
758
+ "orgId": {
759
+ "type": "string",
760
+ "minLength": 1,
761
+ "maxLength": 128
762
+ },
763
+ "app": {
764
+ "type": "string",
765
+ "minLength": 2,
766
+ "maxLength": 24
767
+ }
768
+ },
769
+ "required": [
770
+ "orgId",
771
+ "app"
772
+ ]
773
+ },
774
+ "risk": {
775
+ "level": "read"
776
+ },
777
+ "idempotency": false,
778
+ "handlesSecrets": false,
779
+ "humanOnly": false,
780
+ "operatorOnly": false,
781
+ "availability": {
782
+ "sdk": true,
783
+ "cli": true,
784
+ "mcp": true
785
+ },
786
+ "mcp": {
787
+ "tool": "maintenance",
788
+ "action": "list_retirements"
789
+ }
790
+ },
791
+ {
792
+ "id": "protection.schedule.get",
793
+ "http": {
794
+ "method": "GET",
795
+ "path": "/v1/orgs/{orgId}/resources/{resourceId}/protection-schedule",
796
+ "success": 200
797
+ },
798
+ "summary": "Read the explicit durable backup interval policy; absence does not enable a schedule.",
799
+ "permissions": [
800
+ "protection:read"
801
+ ],
802
+ "input": {
803
+ "type": "object",
804
+ "additionalProperties": false,
805
+ "properties": {
806
+ "orgId": {
807
+ "type": "string",
808
+ "minLength": 1,
809
+ "maxLength": 512
810
+ },
811
+ "resourceId": {
812
+ "type": "string",
813
+ "minLength": 1,
814
+ "maxLength": 512
815
+ }
816
+ },
817
+ "required": [
818
+ "orgId",
819
+ "resourceId"
820
+ ]
821
+ },
822
+ "risk": {
823
+ "level": "read"
824
+ },
825
+ "idempotency": false,
826
+ "handlesSecrets": false,
827
+ "humanOnly": false,
828
+ "operatorOnly": false,
829
+ "availability": {
830
+ "sdk": true,
831
+ "cli": true,
832
+ "mcp": true
833
+ },
834
+ "mcp": {
835
+ "tool": "protection",
836
+ "action": "get_schedule"
837
+ }
838
+ },
839
+ {
840
+ "id": "protection.schedule.set",
841
+ "http": {
842
+ "method": "PUT",
843
+ "path": "/v1/orgs/{orgId}/resources/{resourceId}/protection-schedule",
844
+ "success": 200
845
+ },
846
+ "summary": "The human owner configures a UTC-anchored backup interval and alert thresholds; enabled schedules require an owned provider.",
847
+ "permissions": [
848
+ "protection:manage"
849
+ ],
850
+ "input": {
851
+ "type": "object",
852
+ "additionalProperties": false,
853
+ "properties": {
854
+ "enabled": {
855
+ "type": "boolean"
856
+ },
857
+ "intervalSeconds": {
858
+ "type": "integer",
859
+ "minimum": 60,
860
+ "maximum": 2678400
861
+ },
862
+ "firstRunAt": {
863
+ "type": "string",
864
+ "minLength": 1,
865
+ "maxLength": 40,
866
+ "format": "date-time"
867
+ },
868
+ "minimumPoints": {
869
+ "type": "integer",
870
+ "minimum": 1,
871
+ "maximum": 1000
872
+ },
873
+ "maxAgeSeconds": {
874
+ "type": "integer",
875
+ "minimum": 60,
876
+ "maximum": 31536000
877
+ },
878
+ "expectedRevision": {
879
+ "type": "integer",
880
+ "minimum": 0,
881
+ "maximum": 9007199254740991
882
+ },
883
+ "orgId": {
884
+ "type": "string",
885
+ "minLength": 1,
886
+ "maxLength": 512
887
+ },
888
+ "resourceId": {
889
+ "type": "string",
890
+ "minLength": 1,
891
+ "maxLength": 512
892
+ }
893
+ },
894
+ "required": [
895
+ "enabled",
896
+ "intervalSeconds",
897
+ "firstRunAt",
898
+ "minimumPoints",
899
+ "maxAgeSeconds",
900
+ "orgId",
901
+ "resourceId"
902
+ ]
903
+ },
904
+ "risk": {
905
+ "level": "write"
906
+ },
907
+ "idempotency": false,
908
+ "handlesSecrets": false,
909
+ "humanOnly": true,
910
+ "operatorOnly": false,
911
+ "availability": {
912
+ "sdk": true,
913
+ "cli": true,
914
+ "mcp": false
915
+ }
916
+ },
917
+ {
918
+ "id": "protection.alerts.list",
919
+ "http": {
920
+ "method": "GET",
921
+ "path": "/v1/orgs/{orgId}/resources/{resourceId}/protection-alerts",
922
+ "success": 200
923
+ },
924
+ "summary": "Read bounded redacted protection alerts, including while the provider is offline.",
925
+ "permissions": [
926
+ "protection:read"
927
+ ],
928
+ "input": {
929
+ "type": "object",
930
+ "additionalProperties": false,
931
+ "properties": {
932
+ "orgId": {
933
+ "type": "string",
934
+ "minLength": 1,
935
+ "maxLength": 512
936
+ },
937
+ "resourceId": {
938
+ "type": "string",
939
+ "minLength": 1,
940
+ "maxLength": 512
941
+ }
942
+ },
943
+ "required": [
944
+ "orgId",
945
+ "resourceId"
946
+ ]
947
+ },
948
+ "risk": {
949
+ "level": "read"
950
+ },
951
+ "idempotency": false,
952
+ "handlesSecrets": false,
953
+ "humanOnly": false,
954
+ "operatorOnly": false,
955
+ "availability": {
956
+ "sdk": true,
957
+ "cli": true,
958
+ "mcp": true
959
+ },
960
+ "mcp": {
961
+ "tool": "protection",
962
+ "action": "list_alerts"
963
+ }
964
+ },
965
+ {
966
+ "id": "fleet.rebalance.plan",
967
+ "http": {
968
+ "method": "POST",
969
+ "path": "/v1/fleet/nodes/{nodeId}/rebalance-plans",
970
+ "success": 200
971
+ },
972
+ "summary": "Review the allocation change without applying it; command strings and signing keys are excluded.",
973
+ "permissions": [
974
+ "fleet:read"
975
+ ],
976
+ "input": {
977
+ "type": "object",
978
+ "additionalProperties": false,
979
+ "properties": {
980
+ "orgId": {
981
+ "type": "string",
982
+ "minLength": 1,
983
+ "maxLength": 128,
984
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"
985
+ },
986
+ "config": {
987
+ "title": "KineDrop node config",
988
+ "description": "/etc/kinedrop/node-config.json (spec 1.3). Hardware facts and the enabled roles; the allocator derives every memory limit from them. Role names are the spec's: mongo, redis, kafka, rabbitmq.",
989
+ "type": "object",
990
+ "required": [
991
+ "schemaVersion",
992
+ "nodeId",
993
+ "privateIp",
994
+ "ramGiB",
995
+ "roles"
996
+ ],
997
+ "additionalProperties": false,
998
+ "properties": {
999
+ "schemaVersion": {
1000
+ "const": 1
1001
+ },
1002
+ "nodeId": {
1003
+ "type": "string",
1004
+ "pattern": "^[a-z0-9][a-z0-9-]{1,62}$"
1005
+ },
1006
+ "privateIp": {
1007
+ "type": "string",
1008
+ "format": "ipv4",
1009
+ "description": "The only address engine ports are published on (WireGuard or vSwitch). Correction C1."
1010
+ },
1011
+ "ramGiB": {
1012
+ "type": "integer",
1013
+ "minimum": 4,
1014
+ "maximum": 4096,
1015
+ "description": "Total RAM in whole GiB. The agent cross-checks it against /proc/meminfo."
1016
+ },
1017
+ "cpuCores": {
1018
+ "type": "integer",
1019
+ "minimum": 1,
1020
+ "maximum": 1024
1021
+ },
1022
+ "roles": {
1023
+ "type": "array",
1024
+ "items": {
1025
+ "enum": [
1026
+ "redis",
1027
+ "kafka",
1028
+ "rabbitmq"
1029
+ ]
1030
+ },
1031
+ "minItems": 1,
1032
+ "maxItems": 3,
1033
+ "uniqueItems": true
1034
+ },
1035
+ "kafkaGateway": {
1036
+ "type": "object",
1037
+ "description": "An additional authenticated broker listener whose advertised address belongs to the private KineDrop gateway.",
1038
+ "required": [
1039
+ "advertisedHost",
1040
+ "advertisedPort",
1041
+ "bindHost",
1042
+ "bindPort"
1043
+ ],
1044
+ "additionalProperties": false,
1045
+ "properties": {
1046
+ "advertisedHost": {
1047
+ "type": "string",
1048
+ "format": "ipv4"
1049
+ },
1050
+ "advertisedPort": {
1051
+ "type": "integer",
1052
+ "minimum": 1024,
1053
+ "maximum": 65535
1054
+ },
1055
+ "bindHost": {
1056
+ "type": "string",
1057
+ "format": "ipv4"
1058
+ },
1059
+ "bindPort": {
1060
+ "type": "integer",
1061
+ "minimum": 1024,
1062
+ "maximum": 65535
1063
+ }
1064
+ }
1065
+ },
1066
+ "cacheEngine": {
1067
+ "enum": [
1068
+ "valkey",
1069
+ "redis"
1070
+ ],
1071
+ "default": "valkey",
1072
+ "description": "Engine behind the redis role. valkey is proposed (C19) and not yet confirmed by the owner."
1073
+ },
1074
+ "cacheMaxmemoryPolicy": {
1075
+ "enum": [
1076
+ "allkeys-lru",
1077
+ "volatile-lru"
1078
+ ],
1079
+ "default": "allkeys-lru"
1080
+ },
1081
+ "osReserveGiB": {
1082
+ "type": "integer",
1083
+ "minimum": 1,
1084
+ "maximum": 64,
1085
+ "default": 4
1086
+ },
1087
+ "agentGiB": {
1088
+ "type": "integer",
1089
+ "minimum": 1,
1090
+ "maximum": 16,
1091
+ "description": "Optional override. Default: clamp(round(allocatable / 15), 1, 4)."
1092
+ },
1093
+ "oplogGiB": {
1094
+ "type": "integer",
1095
+ "minimum": 1,
1096
+ "maximum": 200,
1097
+ "default": 30,
1098
+ "description": "MongoDB oplog size, set explicitly with --oplogSize (C20)."
1099
+ },
1100
+ "dataDir": {
1101
+ "type": "string",
1102
+ "pattern": "^/[A-Za-z0-9._/-]*$",
1103
+ "default": "/data"
1104
+ }
1105
+ }
1106
+ },
1107
+ "allowRestart": {
1108
+ "type": "boolean"
1109
+ },
1110
+ "nodeId": {
1111
+ "type": "string",
1112
+ "minLength": 1,
1113
+ "maxLength": 512
1114
+ }
1115
+ },
1116
+ "required": [
1117
+ "orgId",
1118
+ "config",
1119
+ "nodeId"
1120
+ ]
1121
+ },
1122
+ "risk": {
1123
+ "level": "write"
1124
+ },
1125
+ "idempotency": false,
1126
+ "handlesSecrets": true,
1127
+ "humanOnly": true,
1128
+ "operatorOnly": true,
1129
+ "availability": {
1130
+ "sdk": true,
1131
+ "cli": true,
1132
+ "mcp": false
1133
+ }
1134
+ },
1135
+ {
1136
+ "id": "fleet.rebalance.apply",
1137
+ "http": {
1138
+ "method": "POST",
1139
+ "path": "/v1/fleet/nodes/{nodeId}/rebalances",
1140
+ "success": 202
1141
+ },
1142
+ "summary": "Consume the reviewed allocation confirmation and submit a durable node operation.",
1143
+ "permissions": [
1144
+ "fleet:manage"
1145
+ ],
1146
+ "input": {
1147
+ "type": "object",
1148
+ "additionalProperties": false,
1149
+ "properties": {
1150
+ "orgId": {
1151
+ "type": "string",
1152
+ "minLength": 1,
1153
+ "maxLength": 128,
1154
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"
1155
+ },
1156
+ "planId": {
1157
+ "type": "string",
1158
+ "minLength": 1,
1159
+ "maxLength": 128,
1160
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"
1161
+ },
1162
+ "confirmationToken": {
1163
+ "type": "string",
1164
+ "minLength": 1,
1165
+ "maxLength": 128,
1166
+ "writeOnly": true
1167
+ },
1168
+ "nodeId": {
1169
+ "type": "string",
1170
+ "minLength": 1,
1171
+ "maxLength": 512
1172
+ }
1173
+ },
1174
+ "required": [
1175
+ "orgId",
1176
+ "planId",
1177
+ "confirmationToken",
1178
+ "nodeId"
1179
+ ]
1180
+ },
1181
+ "risk": {
1182
+ "level": "write"
1183
+ },
1184
+ "idempotency": true,
1185
+ "handlesSecrets": false,
1186
+ "humanOnly": true,
1187
+ "operatorOnly": true,
1188
+ "availability": {
1189
+ "sdk": true,
1190
+ "cli": true,
1191
+ "mcp": false
1192
+ }
1193
+ },
1194
+ {
1195
+ "id": "tenants.list",
1196
+ "http": {
1197
+ "method": "GET",
1198
+ "path": "/v1/orgs/{orgId}/tenants",
1199
+ "success": 200
1200
+ },
1201
+ "summary": "List service tenants owned by the selected organization.",
1202
+ "permissions": [
1203
+ "tenants:read"
1204
+ ],
1205
+ "input": {
1206
+ "type": "object",
1207
+ "additionalProperties": false,
1208
+ "properties": {
1209
+ "orgId": {
1210
+ "type": "string",
1211
+ "minLength": 1,
1212
+ "maxLength": 512
1213
+ }
1214
+ },
1215
+ "required": [
1216
+ "orgId"
1217
+ ]
1218
+ },
1219
+ "risk": {
1220
+ "level": "read"
1221
+ },
1222
+ "idempotency": false,
1223
+ "handlesSecrets": false,
1224
+ "humanOnly": false,
1225
+ "operatorOnly": false,
1226
+ "availability": {
1227
+ "sdk": true,
1228
+ "cli": true,
1229
+ "mcp": true
1230
+ },
1231
+ "mcp": {
1232
+ "tool": "inspect",
1233
+ "action": "list"
1234
+ }
1235
+ },
1236
+ {
1237
+ "id": "tenants.get",
1238
+ "http": {
1239
+ "method": "GET",
1240
+ "path": "/v1/orgs/{orgId}/tenants/{tenantId}",
1241
+ "success": 200
1242
+ },
1243
+ "summary": "Read an owned tenant without its recoverable credentials or route manifest.",
1244
+ "permissions": [
1245
+ "tenants:read"
1246
+ ],
1247
+ "input": {
1248
+ "type": "object",
1249
+ "additionalProperties": false,
1250
+ "properties": {
1251
+ "orgId": {
1252
+ "type": "string",
1253
+ "minLength": 1,
1254
+ "maxLength": 512
1255
+ },
1256
+ "tenantId": {
1257
+ "type": "string",
1258
+ "minLength": 1,
1259
+ "maxLength": 512
1260
+ }
1261
+ },
1262
+ "required": [
1263
+ "orgId",
1264
+ "tenantId"
1265
+ ]
1266
+ },
1267
+ "risk": {
1268
+ "level": "read"
1269
+ },
1270
+ "idempotency": false,
1271
+ "handlesSecrets": false,
1272
+ "humanOnly": false,
1273
+ "operatorOnly": false,
1274
+ "availability": {
1275
+ "sdk": true,
1276
+ "cli": true,
1277
+ "mcp": true
1278
+ },
1279
+ "mcp": {
1280
+ "tool": "inspect",
1281
+ "action": "get"
1282
+ }
1283
+ },
1284
+ {
1285
+ "id": "tenants.topics.put",
1286
+ "http": {
1287
+ "method": "PUT",
1288
+ "path": "/v1/orgs/{orgId}/tenants/{tenantId}/kafka/topics/{topic}",
1289
+ "success": 202
1290
+ },
1291
+ "summary": "Create a tenant-prefixed Kafka topic; an existing topic is left unchanged and its settings are not claimed verified.",
1292
+ "permissions": [
1293
+ "tenants:manage"
1294
+ ],
1295
+ "input": {
1296
+ "type": "object",
1297
+ "additionalProperties": false,
1298
+ "properties": {
1299
+ "partitions": {
1300
+ "type": "integer",
1301
+ "minimum": 1,
1302
+ "maximum": 256
1303
+ },
1304
+ "retentionMs": {
1305
+ "type": "integer",
1306
+ "minimum": 1
1307
+ },
1308
+ "orgId": {
1309
+ "type": "string",
1310
+ "minLength": 1,
1311
+ "maxLength": 512
1312
+ },
1313
+ "tenantId": {
1314
+ "type": "string",
1315
+ "minLength": 1,
1316
+ "maxLength": 512
1317
+ },
1318
+ "topic": {
1319
+ "type": "string",
1320
+ "minLength": 1,
1321
+ "maxLength": 512
1322
+ }
1323
+ },
1324
+ "required": [
1325
+ "orgId",
1326
+ "tenantId",
1327
+ "topic"
1328
+ ]
1329
+ },
1330
+ "risk": {
1331
+ "level": "write"
1332
+ },
1333
+ "idempotency": true,
1334
+ "handlesSecrets": false,
1335
+ "humanOnly": false,
1336
+ "operatorOnly": false,
1337
+ "availability": {
1338
+ "sdk": true,
1339
+ "cli": true,
1340
+ "mcp": true
1341
+ },
1342
+ "mcp": {
1343
+ "tool": "manage",
1344
+ "action": "create_topic"
1345
+ }
1346
+ },
1347
+ {
1348
+ "id": "tenants.topics.list",
1349
+ "http": {
1350
+ "method": "GET",
1351
+ "path": "/v1/orgs/{orgId}/tenants/{tenantId}/kafka/topics",
1352
+ "success": 200
1353
+ },
1354
+ "summary": "Observe only owned Kafka topics and explicit tool-reported overrides; inherited defaults are not verified.",
1355
+ "permissions": [
1356
+ "tenants:read"
1357
+ ],
1358
+ "input": {
1359
+ "type": "object",
1360
+ "additionalProperties": false,
1361
+ "properties": {
1362
+ "orgId": {
1363
+ "type": "string",
1364
+ "minLength": 1,
1365
+ "maxLength": 512
1366
+ },
1367
+ "tenantId": {
1368
+ "type": "string",
1369
+ "minLength": 1,
1370
+ "maxLength": 512
1371
+ }
1372
+ },
1373
+ "required": [
1374
+ "orgId",
1375
+ "tenantId"
1376
+ ]
1377
+ },
1378
+ "risk": {
1379
+ "level": "read"
1380
+ },
1381
+ "idempotency": false,
1382
+ "handlesSecrets": false,
1383
+ "humanOnly": false,
1384
+ "operatorOnly": false,
1385
+ "availability": {
1386
+ "sdk": true,
1387
+ "cli": true,
1388
+ "mcp": true
1389
+ },
1390
+ "mcp": {
1391
+ "tool": "inspect",
1392
+ "action": "list_topics"
1393
+ }
1394
+ },
1395
+ {
1396
+ "id": "tenants.topics.get",
1397
+ "http": {
1398
+ "method": "GET",
1399
+ "path": "/v1/orgs/{orgId}/tenants/{tenantId}/kafka/topics/{topic}",
1400
+ "success": 200
1401
+ },
1402
+ "summary": "Observe one owned Kafka topic, its available identity and explicit overrides.",
1403
+ "permissions": [
1404
+ "tenants:read"
1405
+ ],
1406
+ "input": {
1407
+ "type": "object",
1408
+ "additionalProperties": false,
1409
+ "properties": {
1410
+ "orgId": {
1411
+ "type": "string",
1412
+ "minLength": 1,
1413
+ "maxLength": 512
1414
+ },
1415
+ "tenantId": {
1416
+ "type": "string",
1417
+ "minLength": 1,
1418
+ "maxLength": 512
1419
+ },
1420
+ "topic": {
1421
+ "type": "string",
1422
+ "minLength": 1,
1423
+ "maxLength": 512
1424
+ }
1425
+ },
1426
+ "required": [
1427
+ "orgId",
1428
+ "tenantId",
1429
+ "topic"
1430
+ ]
1431
+ },
1432
+ "risk": {
1433
+ "level": "read"
1434
+ },
1435
+ "idempotency": false,
1436
+ "handlesSecrets": false,
1437
+ "humanOnly": false,
1438
+ "operatorOnly": false,
1439
+ "availability": {
1440
+ "sdk": true,
1441
+ "cli": true,
1442
+ "mcp": true
1443
+ },
1444
+ "mcp": {
1445
+ "tool": "inspect",
1446
+ "action": "get_topic"
1447
+ }
1448
+ },
1449
+ {
1450
+ "id": "tenants.topics.delete.plan",
1451
+ "http": {
1452
+ "method": "POST",
1453
+ "path": "/v1/orgs/{orgId}/tenants/{tenantId}/kafka/topics/{topic}/deletion-plans",
1454
+ "success": 200
1455
+ },
1456
+ "summary": "Review permanent Kafka topic deletion against its observed identity; the CLI native delete is not atomic against external recreation.",
1457
+ "permissions": [
1458
+ "tenants:manage"
1459
+ ],
1460
+ "input": {
1461
+ "type": "object",
1462
+ "additionalProperties": false,
1463
+ "properties": {
1464
+ "orgId": {
1465
+ "type": "string",
1466
+ "minLength": 1,
1467
+ "maxLength": 512
1468
+ },
1469
+ "tenantId": {
1470
+ "type": "string",
1471
+ "minLength": 1,
1472
+ "maxLength": 512
1473
+ },
1474
+ "topic": {
1475
+ "type": "string",
1476
+ "minLength": 1,
1477
+ "maxLength": 512
1478
+ }
1479
+ },
1480
+ "required": [
1481
+ "orgId",
1482
+ "tenantId",
1483
+ "topic"
1484
+ ]
1485
+ },
1486
+ "risk": {
1487
+ "level": "write"
1488
+ },
1489
+ "idempotency": false,
1490
+ "handlesSecrets": true,
1491
+ "humanOnly": true,
1492
+ "operatorOnly": false,
1493
+ "availability": {
1494
+ "sdk": true,
1495
+ "cli": true,
1496
+ "mcp": false
1497
+ }
1498
+ },
1499
+ {
1500
+ "id": "tenants.topics.delete",
1501
+ "http": {
1502
+ "method": "DELETE",
1503
+ "path": "/v1/orgs/{orgId}/tenants/{tenantId}/kafka/topics/{topic}",
1504
+ "success": 202
1505
+ },
1506
+ "summary": "Consume the reviewed confirmation and submit permanent topic deletion.",
1507
+ "permissions": [
1508
+ "tenants:manage"
1509
+ ],
1510
+ "input": {
1511
+ "type": "object",
1512
+ "additionalProperties": false,
1513
+ "properties": {
1514
+ "planId": {
1515
+ "type": "string",
1516
+ "minLength": 1,
1517
+ "maxLength": 128,
1518
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"
1519
+ },
1520
+ "confirmationToken": {
1521
+ "type": "string",
1522
+ "minLength": 1,
1523
+ "maxLength": 128,
1524
+ "writeOnly": true
1525
+ },
1526
+ "orgId": {
1527
+ "type": "string",
1528
+ "minLength": 1,
1529
+ "maxLength": 512
1530
+ },
1531
+ "tenantId": {
1532
+ "type": "string",
1533
+ "minLength": 1,
1534
+ "maxLength": 512
1535
+ },
1536
+ "topic": {
1537
+ "type": "string",
1538
+ "minLength": 1,
1539
+ "maxLength": 512
1540
+ }
1541
+ },
1542
+ "required": [
1543
+ "planId",
1544
+ "confirmationToken",
1545
+ "orgId",
1546
+ "tenantId",
1547
+ "topic"
1548
+ ]
1549
+ },
1550
+ "risk": {
1551
+ "level": "write"
1552
+ },
1553
+ "idempotency": true,
1554
+ "handlesSecrets": false,
1555
+ "humanOnly": true,
1556
+ "operatorOnly": false,
1557
+ "availability": {
1558
+ "sdk": true,
1559
+ "cli": true,
1560
+ "mcp": false
1561
+ }
1562
+ },
1563
+ {
1564
+ "id": "tenants.temporaryAccess.list",
1565
+ "http": {
1566
+ "method": "GET",
1567
+ "path": "/v1/orgs/{orgId}/tenants/{tenantId}/temporary-access",
1568
+ "success": 200
1569
+ },
1570
+ "summary": "Read temporary access metadata without passwords or connection credentials.",
1571
+ "permissions": [
1572
+ "tenants:read"
1573
+ ],
1574
+ "input": {
1575
+ "type": "object",
1576
+ "additionalProperties": false,
1577
+ "properties": {
1578
+ "orgId": {
1579
+ "type": "string",
1580
+ "minLength": 1,
1581
+ "maxLength": 512
1582
+ },
1583
+ "tenantId": {
1584
+ "type": "string",
1585
+ "minLength": 1,
1586
+ "maxLength": 512
1587
+ }
1588
+ },
1589
+ "required": [
1590
+ "orgId",
1591
+ "tenantId"
1592
+ ]
1593
+ },
1594
+ "risk": {
1595
+ "level": "read"
1596
+ },
1597
+ "idempotency": false,
1598
+ "handlesSecrets": false,
1599
+ "humanOnly": false,
1600
+ "operatorOnly": false,
1601
+ "availability": {
1602
+ "sdk": true,
1603
+ "cli": true,
1604
+ "mcp": true
1605
+ },
1606
+ "mcp": {
1607
+ "tool": "inspect",
1608
+ "action": "temporary_access"
1609
+ }
1610
+ },
1611
+ {
1612
+ "id": "tenants.temporaryAccess.create",
1613
+ "http": {
1614
+ "method": "POST",
1615
+ "path": "/v1/orgs/{orgId}/tenants/{tenantId}/temporary-access",
1616
+ "success": 202
1617
+ },
1618
+ "summary": "Submit bounded temporary access creation; credential delivery requires a separate protected channel.",
1619
+ "permissions": [
1620
+ "tenants:manage"
1621
+ ],
1622
+ "input": {
1623
+ "type": "object",
1624
+ "additionalProperties": false,
1625
+ "properties": {
1626
+ "services": {
1627
+ "type": "array",
1628
+ "items": {
1629
+ "enum": [
1630
+ "redis",
1631
+ "kafka",
1632
+ "rabbitmq"
1633
+ ]
1634
+ },
1635
+ "minItems": 1,
1636
+ "maxItems": 3,
1637
+ "uniqueItems": true
1638
+ },
1639
+ "scope": {
1640
+ "enum": [
1641
+ "read",
1642
+ "readWrite"
1643
+ ]
1644
+ },
1645
+ "ttlSeconds": {
1646
+ "type": "integer",
1647
+ "minimum": 60,
1648
+ "maximum": 86400
1649
+ },
1650
+ "mongoDatabases": {
1651
+ "type": "array",
1652
+ "items": {
1653
+ "type": "string",
1654
+ "minLength": 1,
1655
+ "maxLength": 16,
1656
+ "pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$"
1657
+ },
1658
+ "minItems": 1,
1659
+ "maxItems": 32,
1660
+ "uniqueItems": true
1661
+ },
1662
+ "orgId": {
1663
+ "type": "string",
1664
+ "minLength": 1,
1665
+ "maxLength": 512
1666
+ },
1667
+ "tenantId": {
1668
+ "type": "string",
1669
+ "minLength": 1,
1670
+ "maxLength": 512
1671
+ }
1672
+ },
1673
+ "required": [
1674
+ "services",
1675
+ "scope",
1676
+ "ttlSeconds",
1677
+ "orgId",
1678
+ "tenantId"
1679
+ ]
1680
+ },
1681
+ "risk": {
1682
+ "level": "write"
1683
+ },
1684
+ "idempotency": true,
1685
+ "handlesSecrets": false,
1686
+ "humanOnly": false,
1687
+ "operatorOnly": false,
1688
+ "availability": {
1689
+ "sdk": true,
1690
+ "cli": true,
1691
+ "mcp": true
1692
+ },
1693
+ "mcp": {
1694
+ "tool": "manage",
1695
+ "action": "grant_temporary_access"
1696
+ }
1697
+ },
1698
+ {
1699
+ "id": "tenants.temporaryAccess.revoke.plan",
1700
+ "http": {
1701
+ "method": "POST",
1702
+ "path": "/v1/orgs/{orgId}/tenants/{tenantId}/temporary-access/{accessId}/revocation-plans",
1703
+ "success": 200
1704
+ },
1705
+ "summary": "Review revocation of a temporary user and possible connection interruption.",
1706
+ "permissions": [
1707
+ "tenants:manage"
1708
+ ],
1709
+ "input": {
1710
+ "type": "object",
1711
+ "additionalProperties": false,
1712
+ "properties": {
1713
+ "orgId": {
1714
+ "type": "string",
1715
+ "minLength": 1,
1716
+ "maxLength": 512
1717
+ },
1718
+ "tenantId": {
1719
+ "type": "string",
1720
+ "minLength": 1,
1721
+ "maxLength": 512
1722
+ },
1723
+ "accessId": {
1724
+ "type": "string",
1725
+ "minLength": 1,
1726
+ "maxLength": 512
1727
+ }
1728
+ },
1729
+ "required": [
1730
+ "orgId",
1731
+ "tenantId",
1732
+ "accessId"
1733
+ ]
1734
+ },
1735
+ "risk": {
1736
+ "level": "write"
1737
+ },
1738
+ "idempotency": false,
1739
+ "handlesSecrets": true,
1740
+ "humanOnly": true,
1741
+ "operatorOnly": false,
1742
+ "availability": {
1743
+ "sdk": true,
1744
+ "cli": true,
1745
+ "mcp": false
1746
+ }
1747
+ },
1748
+ {
1749
+ "id": "tenants.temporaryAccess.revoke",
1750
+ "http": {
1751
+ "method": "DELETE",
1752
+ "path": "/v1/orgs/{orgId}/tenants/{tenantId}/temporary-access/{accessId}",
1753
+ "success": 202
1754
+ },
1755
+ "summary": "Consume the reviewed confirmation and submit temporary-access revocation.",
1756
+ "permissions": [
1757
+ "tenants:manage"
1758
+ ],
1759
+ "input": {
1760
+ "type": "object",
1761
+ "additionalProperties": false,
1762
+ "properties": {
1763
+ "planId": {
1764
+ "type": "string",
1765
+ "minLength": 1,
1766
+ "maxLength": 128,
1767
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"
1768
+ },
1769
+ "confirmationToken": {
1770
+ "type": "string",
1771
+ "minLength": 1,
1772
+ "maxLength": 128,
1773
+ "writeOnly": true
1774
+ },
1775
+ "orgId": {
1776
+ "type": "string",
1777
+ "minLength": 1,
1778
+ "maxLength": 512
1779
+ },
1780
+ "tenantId": {
1781
+ "type": "string",
1782
+ "minLength": 1,
1783
+ "maxLength": 512
1784
+ },
1785
+ "accessId": {
1786
+ "type": "string",
1787
+ "minLength": 1,
1788
+ "maxLength": 512
1789
+ }
1790
+ },
1791
+ "required": [
1792
+ "planId",
1793
+ "confirmationToken",
1794
+ "orgId",
1795
+ "tenantId",
1796
+ "accessId"
1797
+ ]
1798
+ },
1799
+ "risk": {
1800
+ "level": "write"
1801
+ },
1802
+ "idempotency": true,
1803
+ "handlesSecrets": false,
1804
+ "humanOnly": true,
1805
+ "operatorOnly": false,
1806
+ "availability": {
1807
+ "sdk": true,
1808
+ "cli": true,
1809
+ "mcp": false
1810
+ }
1811
+ },
1812
+ {
1813
+ "id": "protection.backups.list",
1814
+ "http": {
1815
+ "method": "GET",
1816
+ "path": "/v1/orgs/{orgId}/resources/{resourceId}/backups",
1817
+ "success": 200
1818
+ },
1819
+ "summary": "List committed recovery-point metadata and explicit engine coverage; this does not reverify remote bytes.",
1820
+ "permissions": [
1821
+ "protection:read"
1822
+ ],
1823
+ "input": {
1824
+ "type": "object",
1825
+ "additionalProperties": false,
1826
+ "properties": {
1827
+ "orgId": {
1828
+ "type": "string",
1829
+ "minLength": 1,
1830
+ "maxLength": 512
1831
+ },
1832
+ "resourceId": {
1833
+ "type": "string",
1834
+ "minLength": 1,
1835
+ "maxLength": 512
1836
+ }
1837
+ },
1838
+ "required": [
1839
+ "orgId",
1840
+ "resourceId"
1841
+ ]
1842
+ },
1843
+ "risk": {
1844
+ "level": "read"
1845
+ },
1846
+ "idempotency": false,
1847
+ "handlesSecrets": false,
1848
+ "humanOnly": false,
1849
+ "operatorOnly": false,
1850
+ "availability": {
1851
+ "sdk": true,
1852
+ "cli": true,
1853
+ "mcp": true
1854
+ },
1855
+ "mcp": {
1856
+ "tool": "protection",
1857
+ "action": "list_points"
1858
+ }
1859
+ },
1860
+ {
1861
+ "id": "protection.backups.create",
1862
+ "http": {
1863
+ "method": "POST",
1864
+ "path": "/v1/orgs/{orgId}/resources/{resourceId}/backups",
1865
+ "success": 202
1866
+ },
1867
+ "summary": "Submit a durable native backup through the configured owned-resource provider.",
1868
+ "permissions": [
1869
+ "protection:manage"
1870
+ ],
1871
+ "input": {
1872
+ "type": "object",
1873
+ "additionalProperties": false,
1874
+ "properties": {
1875
+ "ancestorIds": {
1876
+ "type": "array",
1877
+ "items": {
1878
+ "type": "string",
1879
+ "minLength": 1,
1880
+ "maxLength": 96,
1881
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,95}$"
1882
+ },
1883
+ "maxItems": 64,
1884
+ "uniqueItems": true
1885
+ },
1886
+ "orgId": {
1887
+ "type": "string",
1888
+ "minLength": 1,
1889
+ "maxLength": 512
1890
+ },
1891
+ "resourceId": {
1892
+ "type": "string",
1893
+ "minLength": 1,
1894
+ "maxLength": 512
1895
+ }
1896
+ },
1897
+ "required": [
1898
+ "orgId",
1899
+ "resourceId"
1900
+ ]
1901
+ },
1902
+ "risk": {
1903
+ "level": "write"
1904
+ },
1905
+ "idempotency": true,
1906
+ "handlesSecrets": false,
1907
+ "humanOnly": false,
1908
+ "operatorOnly": false,
1909
+ "availability": {
1910
+ "sdk": true,
1911
+ "cli": true,
1912
+ "mcp": true
1913
+ },
1914
+ "mcp": {
1915
+ "tool": "protection",
1916
+ "action": "backup"
1917
+ }
1918
+ },
1919
+ {
1920
+ "id": "protection.backups.get",
1921
+ "http": {
1922
+ "method": "GET",
1923
+ "path": "/v1/orgs/{orgId}/resources/{resourceId}/backups/{pointId}",
1924
+ "success": 200
1925
+ },
1926
+ "summary": "Read the committed catalog entry for one owned recovery point.",
1927
+ "permissions": [
1928
+ "protection:read"
1929
+ ],
1930
+ "input": {
1931
+ "type": "object",
1932
+ "additionalProperties": false,
1933
+ "properties": {
1934
+ "orgId": {
1935
+ "type": "string",
1936
+ "minLength": 1,
1937
+ "maxLength": 512
1938
+ },
1939
+ "resourceId": {
1940
+ "type": "string",
1941
+ "minLength": 1,
1942
+ "maxLength": 512
1943
+ },
1944
+ "pointId": {
1945
+ "type": "string",
1946
+ "minLength": 1,
1947
+ "maxLength": 512
1948
+ }
1949
+ },
1950
+ "required": [
1951
+ "orgId",
1952
+ "resourceId",
1953
+ "pointId"
1954
+ ]
1955
+ },
1956
+ "risk": {
1957
+ "level": "read"
1958
+ },
1959
+ "idempotency": false,
1960
+ "handlesSecrets": false,
1961
+ "humanOnly": false,
1962
+ "operatorOnly": false,
1963
+ "availability": {
1964
+ "sdk": true,
1965
+ "cli": true,
1966
+ "mcp": true
1967
+ },
1968
+ "mcp": {
1969
+ "tool": "protection",
1970
+ "action": "get_point"
1971
+ }
1972
+ },
1973
+ {
1974
+ "id": "protection.status",
1975
+ "http": {
1976
+ "method": "GET",
1977
+ "path": "/v1/orgs/{orgId}/resources/{resourceId}/protection-status",
1978
+ "success": 200
1979
+ },
1980
+ "summary": "Read catalog coverage and verification history without claiming a configured backup schedule.",
1981
+ "permissions": [
1982
+ "protection:read"
1983
+ ],
1984
+ "input": {
1985
+ "type": "object",
1986
+ "additionalProperties": false,
1987
+ "properties": {
1988
+ "orgId": {
1989
+ "type": "string",
1990
+ "minLength": 1,
1991
+ "maxLength": 512
1992
+ },
1993
+ "resourceId": {
1994
+ "type": "string",
1995
+ "minLength": 1,
1996
+ "maxLength": 512
1997
+ }
1998
+ },
1999
+ "required": [
2000
+ "orgId",
2001
+ "resourceId"
2002
+ ]
2003
+ },
2004
+ "risk": {
2005
+ "level": "read"
2006
+ },
2007
+ "idempotency": false,
2008
+ "handlesSecrets": false,
2009
+ "humanOnly": false,
2010
+ "operatorOnly": false,
2011
+ "availability": {
2012
+ "sdk": true,
2013
+ "cli": true,
2014
+ "mcp": true
2015
+ },
2016
+ "mcp": {
2017
+ "tool": "protection",
2018
+ "action": "status"
2019
+ }
2020
+ },
2021
+ {
2022
+ "id": "protection.restore.plan",
2023
+ "http": {
2024
+ "method": "POST",
2025
+ "path": "/v1/orgs/{orgId}/resources/{resourceId}/restore-plans",
2026
+ "success": 200
2027
+ },
2028
+ "summary": "Human review of recovery into a separate owned fresh target; existing traffic remains unchanged.",
2029
+ "permissions": [
2030
+ "protection:restore"
2031
+ ],
2032
+ "input": {
2033
+ "type": "object",
2034
+ "additionalProperties": false,
2035
+ "properties": {
2036
+ "pointId": {
2037
+ "type": "string",
2038
+ "minLength": 1,
2039
+ "maxLength": 96,
2040
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,95}$"
2041
+ },
2042
+ "targetResourceId": {
2043
+ "type": "string",
2044
+ "minLength": 1,
2045
+ "maxLength": 96,
2046
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,95}$"
2047
+ },
2048
+ "orgId": {
2049
+ "type": "string",
2050
+ "minLength": 1,
2051
+ "maxLength": 512
2052
+ },
2053
+ "resourceId": {
2054
+ "type": "string",
2055
+ "minLength": 1,
2056
+ "maxLength": 512
2057
+ }
2058
+ },
2059
+ "required": [
2060
+ "pointId",
2061
+ "targetResourceId",
2062
+ "orgId",
2063
+ "resourceId"
2064
+ ]
2065
+ },
2066
+ "risk": {
2067
+ "level": "write"
2068
+ },
2069
+ "idempotency": false,
2070
+ "handlesSecrets": true,
2071
+ "humanOnly": true,
2072
+ "operatorOnly": false,
2073
+ "availability": {
2074
+ "sdk": true,
2075
+ "cli": true,
2076
+ "mcp": false
2077
+ }
2078
+ },
2079
+ {
2080
+ "id": "protection.restore.apply",
2081
+ "http": {
2082
+ "method": "POST",
2083
+ "path": "/v1/orgs/{orgId}/resources/{resourceId}/restores",
2084
+ "success": 202
2085
+ },
2086
+ "summary": "Consume human confirmation and submit the reviewed fresh-target restore.",
2087
+ "permissions": [
2088
+ "protection:restore"
2089
+ ],
2090
+ "input": {
2091
+ "type": "object",
2092
+ "additionalProperties": false,
2093
+ "properties": {
2094
+ "planId": {
2095
+ "type": "string",
2096
+ "minLength": 1,
2097
+ "maxLength": 128,
2098
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"
2099
+ },
2100
+ "confirmationToken": {
2101
+ "type": "string",
2102
+ "minLength": 1,
2103
+ "maxLength": 128,
2104
+ "writeOnly": true
2105
+ },
2106
+ "orgId": {
2107
+ "type": "string",
2108
+ "minLength": 1,
2109
+ "maxLength": 512
2110
+ },
2111
+ "resourceId": {
2112
+ "type": "string",
2113
+ "minLength": 1,
2114
+ "maxLength": 512
2115
+ }
2116
+ },
2117
+ "required": [
2118
+ "planId",
2119
+ "confirmationToken",
2120
+ "orgId",
2121
+ "resourceId"
2122
+ ]
2123
+ },
2124
+ "risk": {
2125
+ "level": "write"
2126
+ },
2127
+ "idempotency": true,
2128
+ "handlesSecrets": false,
2129
+ "humanOnly": true,
2130
+ "operatorOnly": false,
2131
+ "availability": {
2132
+ "sdk": true,
2133
+ "cli": true,
2134
+ "mcp": false
2135
+ }
2136
+ }
2137
+ ]);
2138
+ export const SERVICE_MCP_TOOLS = Object.freeze([
2139
+ {
2140
+ "name": "kinedrop_tenant_services_inspect",
2141
+ "description": "Inspect owned service tenants and temporary-access metadata. No credentials, confirmation tokens or privileged fleet operations are returned.\n- list: List service tenants owned by the selected organization.\n- get: Read an owned tenant without its recoverable credentials or route manifest.\n- list_topics: Observe only owned Kafka topics and explicit tool-reported overrides; inherited defaults are not verified.\n- get_topic: Observe one owned Kafka topic, its available identity and explicit overrides.\n- temporary_access: Read temporary access metadata without passwords or connection credentials.",
2142
+ "inputSchema": {
2143
+ "type": "object",
2144
+ "additionalProperties": false,
2145
+ "required": [
2146
+ "action",
2147
+ "input"
2148
+ ],
2149
+ "properties": {
2150
+ "action": {
2151
+ "type": "string",
2152
+ "enum": [
2153
+ "list",
2154
+ "get",
2155
+ "list_topics",
2156
+ "get_topic",
2157
+ "temporary_access"
2158
+ ]
2159
+ },
2160
+ "input": {
2161
+ "anyOf": [
2162
+ {
2163
+ "type": "object",
2164
+ "additionalProperties": false,
2165
+ "properties": {},
2166
+ "required": []
2167
+ },
2168
+ {
2169
+ "type": "object",
2170
+ "additionalProperties": false,
2171
+ "properties": {
2172
+ "tenantId": {
2173
+ "type": "string",
2174
+ "minLength": 1,
2175
+ "maxLength": 512
2176
+ }
2177
+ },
2178
+ "required": [
2179
+ "tenantId"
2180
+ ]
2181
+ },
2182
+ {
2183
+ "type": "object",
2184
+ "additionalProperties": false,
2185
+ "properties": {
2186
+ "tenantId": {
2187
+ "type": "string",
2188
+ "minLength": 1,
2189
+ "maxLength": 512
2190
+ }
2191
+ },
2192
+ "required": [
2193
+ "tenantId"
2194
+ ]
2195
+ },
2196
+ {
2197
+ "type": "object",
2198
+ "additionalProperties": false,
2199
+ "properties": {
2200
+ "tenantId": {
2201
+ "type": "string",
2202
+ "minLength": 1,
2203
+ "maxLength": 512
2204
+ },
2205
+ "topic": {
2206
+ "type": "string",
2207
+ "minLength": 1,
2208
+ "maxLength": 512
2209
+ }
2210
+ },
2211
+ "required": [
2212
+ "tenantId",
2213
+ "topic"
2214
+ ]
2215
+ },
2216
+ {
2217
+ "type": "object",
2218
+ "additionalProperties": false,
2219
+ "properties": {
2220
+ "tenantId": {
2221
+ "type": "string",
2222
+ "minLength": 1,
2223
+ "maxLength": 512
2224
+ }
2225
+ },
2226
+ "required": [
2227
+ "tenantId"
2228
+ ]
2229
+ }
2230
+ ]
2231
+ },
2232
+ "idempotencyKey": {
2233
+ "type": "string",
2234
+ "minLength": 8,
2235
+ "maxLength": 128,
2236
+ "pattern": "^[A-Za-z0-9_.-]{8,128}$"
2237
+ }
2238
+ }
2239
+ },
2240
+ "annotations": {
2241
+ "readOnlyHint": true,
2242
+ "destructiveHint": false,
2243
+ "idempotentHint": true,
2244
+ "openWorldHint": false
2245
+ }
2246
+ },
2247
+ {
2248
+ "name": "kinedrop_tenant_services_manage",
2249
+ "description": "Create a tenant Kafka topic or bounded temporary access through the configured provider. Responses contain durable operation records, never passwords. Destructive reviewed actions and credential delivery are unavailable over MCP.\n- create_topic: Create a tenant-prefixed Kafka topic; an existing topic is left unchanged and its settings are not claimed verified.\n- grant_temporary_access: Submit bounded temporary access creation; credential delivery requires a separate protected channel.",
2250
+ "inputSchema": {
2251
+ "type": "object",
2252
+ "additionalProperties": false,
2253
+ "required": [
2254
+ "action",
2255
+ "input"
2256
+ ],
2257
+ "properties": {
2258
+ "action": {
2259
+ "type": "string",
2260
+ "enum": [
2261
+ "create_topic",
2262
+ "grant_temporary_access"
2263
+ ]
2264
+ },
2265
+ "input": {
2266
+ "anyOf": [
2267
+ {
2268
+ "type": "object",
2269
+ "additionalProperties": false,
2270
+ "properties": {
2271
+ "partitions": {
2272
+ "type": "integer",
2273
+ "minimum": 1,
2274
+ "maximum": 256
2275
+ },
2276
+ "retentionMs": {
2277
+ "type": "integer",
2278
+ "minimum": 1
2279
+ },
2280
+ "tenantId": {
2281
+ "type": "string",
2282
+ "minLength": 1,
2283
+ "maxLength": 512
2284
+ },
2285
+ "topic": {
2286
+ "type": "string",
2287
+ "minLength": 1,
2288
+ "maxLength": 512
2289
+ }
2290
+ },
2291
+ "required": [
2292
+ "tenantId",
2293
+ "topic"
2294
+ ]
2295
+ },
2296
+ {
2297
+ "type": "object",
2298
+ "additionalProperties": false,
2299
+ "properties": {
2300
+ "services": {
2301
+ "type": "array",
2302
+ "items": {
2303
+ "enum": [
2304
+ "redis",
2305
+ "kafka",
2306
+ "rabbitmq"
2307
+ ]
2308
+ },
2309
+ "minItems": 1,
2310
+ "maxItems": 3,
2311
+ "uniqueItems": true
2312
+ },
2313
+ "scope": {
2314
+ "enum": [
2315
+ "read",
2316
+ "readWrite"
2317
+ ]
2318
+ },
2319
+ "ttlSeconds": {
2320
+ "type": "integer",
2321
+ "minimum": 60,
2322
+ "maximum": 86400
2323
+ },
2324
+ "mongoDatabases": {
2325
+ "type": "array",
2326
+ "items": {
2327
+ "type": "string",
2328
+ "minLength": 1,
2329
+ "maxLength": 16,
2330
+ "pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$"
2331
+ },
2332
+ "minItems": 1,
2333
+ "maxItems": 32,
2334
+ "uniqueItems": true
2335
+ },
2336
+ "tenantId": {
2337
+ "type": "string",
2338
+ "minLength": 1,
2339
+ "maxLength": 512
2340
+ }
2341
+ },
2342
+ "required": [
2343
+ "services",
2344
+ "scope",
2345
+ "ttlSeconds",
2346
+ "tenantId"
2347
+ ]
2348
+ }
2349
+ ]
2350
+ },
2351
+ "idempotencyKey": {
2352
+ "type": "string",
2353
+ "minLength": 8,
2354
+ "maxLength": 128,
2355
+ "pattern": "^[A-Za-z0-9_.-]{8,128}$"
2356
+ }
2357
+ }
2358
+ },
2359
+ "annotations": {
2360
+ "readOnlyHint": false,
2361
+ "destructiveHint": false,
2362
+ "idempotentHint": false,
2363
+ "openWorldHint": false
2364
+ }
2365
+ },
2366
+ {
2367
+ "name": "kinedrop_resource_protection",
2368
+ "description": "Inspect owned recovery points, schedules and bounded alerts, or submit a backup through a configured provider. Restore review, confirmation tokens and policy writes are human-only and unavailable over MCP. Catalog metadata does not reverify stored backup bytes.\n- get_schedule: Read the explicit durable backup interval policy; absence does not enable a schedule.\n- list_alerts: Read bounded redacted protection alerts, including while the provider is offline.\n- list_points: List committed recovery-point metadata and explicit engine coverage; this does not reverify remote bytes.\n- backup: Submit a durable native backup through the configured owned-resource provider.\n- get_point: Read the committed catalog entry for one owned recovery point.\n- status: Read catalog coverage and verification history without claiming a configured backup schedule.",
2369
+ "inputSchema": {
2370
+ "type": "object",
2371
+ "additionalProperties": false,
2372
+ "required": [
2373
+ "action",
2374
+ "input"
2375
+ ],
2376
+ "properties": {
2377
+ "action": {
2378
+ "type": "string",
2379
+ "enum": [
2380
+ "get_schedule",
2381
+ "list_alerts",
2382
+ "list_points",
2383
+ "backup",
2384
+ "get_point",
2385
+ "status"
2386
+ ]
2387
+ },
2388
+ "input": {
2389
+ "anyOf": [
2390
+ {
2391
+ "type": "object",
2392
+ "additionalProperties": false,
2393
+ "properties": {
2394
+ "resourceId": {
2395
+ "type": "string",
2396
+ "minLength": 1,
2397
+ "maxLength": 512
2398
+ }
2399
+ },
2400
+ "required": [
2401
+ "resourceId"
2402
+ ]
2403
+ },
2404
+ {
2405
+ "type": "object",
2406
+ "additionalProperties": false,
2407
+ "properties": {
2408
+ "resourceId": {
2409
+ "type": "string",
2410
+ "minLength": 1,
2411
+ "maxLength": 512
2412
+ }
2413
+ },
2414
+ "required": [
2415
+ "resourceId"
2416
+ ]
2417
+ },
2418
+ {
2419
+ "type": "object",
2420
+ "additionalProperties": false,
2421
+ "properties": {
2422
+ "resourceId": {
2423
+ "type": "string",
2424
+ "minLength": 1,
2425
+ "maxLength": 512
2426
+ }
2427
+ },
2428
+ "required": [
2429
+ "resourceId"
2430
+ ]
2431
+ },
2432
+ {
2433
+ "type": "object",
2434
+ "additionalProperties": false,
2435
+ "properties": {
2436
+ "ancestorIds": {
2437
+ "type": "array",
2438
+ "items": {
2439
+ "type": "string",
2440
+ "minLength": 1,
2441
+ "maxLength": 96,
2442
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,95}$"
2443
+ },
2444
+ "maxItems": 64,
2445
+ "uniqueItems": true
2446
+ },
2447
+ "resourceId": {
2448
+ "type": "string",
2449
+ "minLength": 1,
2450
+ "maxLength": 512
2451
+ }
2452
+ },
2453
+ "required": [
2454
+ "resourceId"
2455
+ ]
2456
+ },
2457
+ {
2458
+ "type": "object",
2459
+ "additionalProperties": false,
2460
+ "properties": {
2461
+ "resourceId": {
2462
+ "type": "string",
2463
+ "minLength": 1,
2464
+ "maxLength": 512
2465
+ },
2466
+ "pointId": {
2467
+ "type": "string",
2468
+ "minLength": 1,
2469
+ "maxLength": 512
2470
+ }
2471
+ },
2472
+ "required": [
2473
+ "resourceId",
2474
+ "pointId"
2475
+ ]
2476
+ },
2477
+ {
2478
+ "type": "object",
2479
+ "additionalProperties": false,
2480
+ "properties": {
2481
+ "resourceId": {
2482
+ "type": "string",
2483
+ "minLength": 1,
2484
+ "maxLength": 512
2485
+ }
2486
+ },
2487
+ "required": [
2488
+ "resourceId"
2489
+ ]
2490
+ }
2491
+ ]
2492
+ },
2493
+ "idempotencyKey": {
2494
+ "type": "string",
2495
+ "minLength": 8,
2496
+ "maxLength": 128,
2497
+ "pattern": "^[A-Za-z0-9_.-]{8,128}$"
2498
+ }
2499
+ }
2500
+ },
2501
+ "annotations": {
2502
+ "readOnlyHint": false,
2503
+ "destructiveHint": false,
2504
+ "idempotentHint": false,
2505
+ "openWorldHint": false
2506
+ }
2507
+ },
2508
+ {
2509
+ "name": "kinedrop_apps_maintenance_inspect",
2510
+ "description": "Inspect owned Apps retention capabilities, existing plans, pins and retirement records. Cleanup review, applying plans, changing pins and source byte uploads are unavailable over MCP.\n- capabilities: Read actual local source-cleanup admission and retirement capabilities.\n- get_plan: Read an owned immutable cleanup plan and per-item progress.\n- get_pins: Read retained source/artifact/release pins for the application.\n- list_retirements: Read durable retirement tombstones; retired releases cannot be rolled back or promoted.",
2511
+ "inputSchema": {
2512
+ "type": "object",
2513
+ "additionalProperties": false,
2514
+ "required": [
2515
+ "action",
2516
+ "input"
2517
+ ],
2518
+ "properties": {
2519
+ "action": {
2520
+ "type": "string",
2521
+ "enum": [
2522
+ "capabilities",
2523
+ "get_plan",
2524
+ "get_pins",
2525
+ "list_retirements"
2526
+ ]
2527
+ },
2528
+ "input": {
2529
+ "anyOf": [
2530
+ {
2531
+ "type": "object",
2532
+ "additionalProperties": false,
2533
+ "properties": {
2534
+ "app": {
2535
+ "type": "string",
2536
+ "minLength": 2,
2537
+ "maxLength": 24
2538
+ }
2539
+ },
2540
+ "required": [
2541
+ "app"
2542
+ ]
2543
+ },
2544
+ {
2545
+ "type": "object",
2546
+ "additionalProperties": false,
2547
+ "properties": {
2548
+ "app": {
2549
+ "type": "string",
2550
+ "minLength": 2,
2551
+ "maxLength": 24
2552
+ },
2553
+ "planId": {
2554
+ "type": "string",
2555
+ "minLength": 1,
2556
+ "maxLength": 39,
2557
+ "pattern": "^gc_[a-f0-9-]{36}$"
2558
+ }
2559
+ },
2560
+ "required": [
2561
+ "app",
2562
+ "planId"
2563
+ ]
2564
+ },
2565
+ {
2566
+ "type": "object",
2567
+ "additionalProperties": false,
2568
+ "properties": {
2569
+ "app": {
2570
+ "type": "string",
2571
+ "minLength": 2,
2572
+ "maxLength": 24
2573
+ }
2574
+ },
2575
+ "required": [
2576
+ "app"
2577
+ ]
2578
+ },
2579
+ {
2580
+ "type": "object",
2581
+ "additionalProperties": false,
2582
+ "properties": {
2583
+ "app": {
2584
+ "type": "string",
2585
+ "minLength": 2,
2586
+ "maxLength": 24
2587
+ }
2588
+ },
2589
+ "required": [
2590
+ "app"
2591
+ ]
2592
+ }
2593
+ ]
2594
+ },
2595
+ "idempotencyKey": {
2596
+ "type": "string",
2597
+ "minLength": 8,
2598
+ "maxLength": 128,
2599
+ "pattern": "^[A-Za-z0-9_.-]{8,128}$"
2600
+ }
2601
+ }
2602
+ },
2603
+ "annotations": {
2604
+ "readOnlyHint": true,
2605
+ "destructiveHint": false,
2606
+ "idempotentHint": true,
2607
+ "openWorldHint": false
2608
+ }
2609
+ }
2610
+ ]);