@mcpdesc/validator 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2820 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mcpdesc.org/schema/mcp-description/0.8.0-rc.3.json",
4
+ "title": "MCP Description",
5
+ "description": "MCP Description 0.8.0 Release Candidate 3 (v0.8.0-rc.3; prerelease).",
6
+ "type": "object",
7
+ "required": [
8
+ "mcpdesc",
9
+ "info",
10
+ "protocolVersions"
11
+ ],
12
+ "additionalProperties": false,
13
+ "properties": {
14
+ "$schema": {
15
+ "type": "string"
16
+ },
17
+ "capabilities": {
18
+ "items": {
19
+ "$ref": "#/$defs/capabilities"
20
+ },
21
+ "minItems": 1,
22
+ "type": "array"
23
+ },
24
+ "components": {
25
+ "$ref": "#/$defs/components"
26
+ },
27
+ "info": {
28
+ "$ref": "#/$defs/info"
29
+ },
30
+ "instructions": {
31
+ "type": "string"
32
+ },
33
+ "mcpdesc": {
34
+ "const": "0.8.0",
35
+ "type": "string"
36
+ },
37
+ "prompts": {
38
+ "items": {
39
+ "$ref": "#/$defs/prompt"
40
+ },
41
+ "minItems": 1,
42
+ "type": "array"
43
+ },
44
+ "protocolVersions": {
45
+ "$ref": "#/$defs/protocolVersionScope"
46
+ },
47
+ "resourceTemplates": {
48
+ "items": {
49
+ "$ref": "#/$defs/resourceTemplate"
50
+ },
51
+ "minItems": 1,
52
+ "type": "array"
53
+ },
54
+ "resources": {
55
+ "items": {
56
+ "$ref": "#/$defs/resource"
57
+ },
58
+ "minItems": 1,
59
+ "type": "array"
60
+ },
61
+ "security": {
62
+ "$ref": "#/$defs/securityRequirementArray"
63
+ },
64
+ "securitySchemes": {
65
+ "$ref": "#/$defs/securitySchemeMap"
66
+ },
67
+ "tags": {
68
+ "items": {
69
+ "$ref": "#/$defs/tag"
70
+ },
71
+ "minItems": 1,
72
+ "type": "array"
73
+ },
74
+ "tools": {
75
+ "items": {
76
+ "$ref": "#/$defs/tool"
77
+ },
78
+ "minItems": 1,
79
+ "type": "array"
80
+ },
81
+ "transports": {
82
+ "items": {
83
+ "$ref": "#/$defs/transport"
84
+ },
85
+ "minItems": 1,
86
+ "type": "array"
87
+ }
88
+ },
89
+ "patternProperties": {
90
+ "^x-": {
91
+ "$ref": "#/$defs/jsonValue"
92
+ }
93
+ },
94
+ "$defs": {
95
+ "capabilities": {
96
+ "additionalProperties": false,
97
+ "patternProperties": {
98
+ "^x-": {
99
+ "$ref": "#/$defs/specificationExtensionValue"
100
+ }
101
+ },
102
+ "properties": {
103
+ "completions": {
104
+ "additionalProperties": true,
105
+ "type": "object"
106
+ },
107
+ "experimental": {
108
+ "additionalProperties": true,
109
+ "type": "object"
110
+ },
111
+ "extensions": {
112
+ "$ref": "#/$defs/extensionCapabilities"
113
+ },
114
+ "logging": {
115
+ "additionalProperties": true,
116
+ "type": "object"
117
+ },
118
+ "prompts": {
119
+ "$ref": "#/$defs/capabilityPrompts"
120
+ },
121
+ "protocolVersions": {
122
+ "$ref": "#/$defs/protocolVersionScope"
123
+ },
124
+ "resources": {
125
+ "$ref": "#/$defs/capabilityResources"
126
+ },
127
+ "tasks": {
128
+ "additionalProperties": false,
129
+ "properties": {
130
+ "cancel": {
131
+ "additionalProperties": true,
132
+ "type": "object"
133
+ },
134
+ "list": {
135
+ "additionalProperties": true,
136
+ "type": "object"
137
+ },
138
+ "requests": {
139
+ "additionalProperties": false,
140
+ "properties": {
141
+ "tools": {
142
+ "additionalProperties": false,
143
+ "properties": {
144
+ "call": {
145
+ "additionalProperties": true,
146
+ "type": "object"
147
+ }
148
+ },
149
+ "type": "object"
150
+ }
151
+ },
152
+ "type": "object"
153
+ }
154
+ },
155
+ "type": "object"
156
+ },
157
+ "tools": {
158
+ "$ref": "#/$defs/capabilityTools"
159
+ }
160
+ },
161
+ "type": "object"
162
+ },
163
+ "capabilityPrompts": {
164
+ "additionalProperties": false,
165
+ "patternProperties": {
166
+ "^x-": {
167
+ "$ref": "#/$defs/specificationExtensionValue"
168
+ }
169
+ },
170
+ "properties": {
171
+ "listChanged": {
172
+ "type": "boolean"
173
+ }
174
+ },
175
+ "type": "object"
176
+ },
177
+ "capabilityResources": {
178
+ "additionalProperties": false,
179
+ "patternProperties": {
180
+ "^x-": {
181
+ "$ref": "#/$defs/specificationExtensionValue"
182
+ }
183
+ },
184
+ "properties": {
185
+ "listChanged": {
186
+ "type": "boolean"
187
+ },
188
+ "subscribe": {
189
+ "type": "boolean"
190
+ }
191
+ },
192
+ "type": "object"
193
+ },
194
+ "capabilityTools": {
195
+ "additionalProperties": false,
196
+ "patternProperties": {
197
+ "^x-": {
198
+ "$ref": "#/$defs/specificationExtensionValue"
199
+ }
200
+ },
201
+ "properties": {
202
+ "listChanged": {
203
+ "type": "boolean"
204
+ }
205
+ },
206
+ "type": "object"
207
+ },
208
+ "clientCapabilityRequirements": {
209
+ "additionalProperties": {
210
+ "$ref": "#/$defs/clientCapabilityValue"
211
+ },
212
+ "minProperties": 1,
213
+ "patternProperties": {
214
+ "^x-": {
215
+ "$ref": "#/$defs/specificationExtensionValue"
216
+ }
217
+ },
218
+ "properties": {
219
+ "elicitation": {
220
+ "$ref": "#/$defs/clientCapabilityValue"
221
+ },
222
+ "experimental": {
223
+ "additionalProperties": {
224
+ "$ref": "#/$defs/clientCapabilityValue"
225
+ },
226
+ "type": "object"
227
+ },
228
+ "extensions": {
229
+ "$ref": "#/$defs/extensionCapabilities"
230
+ },
231
+ "roots": {
232
+ "$ref": "#/$defs/clientCapabilityValue"
233
+ },
234
+ "sampling": {
235
+ "$ref": "#/$defs/clientCapabilityValue"
236
+ },
237
+ "tasks": {
238
+ "$ref": "#/$defs/clientCapabilityValue"
239
+ }
240
+ },
241
+ "type": "object"
242
+ },
243
+ "clientCapabilityValue": {
244
+ "additionalProperties": {
245
+ "$ref": "#/$defs/jsonValue"
246
+ },
247
+ "type": "object"
248
+ },
249
+ "completedCompletionResultExample": {
250
+ "additionalProperties": true,
251
+ "properties": {
252
+ "_meta": {
253
+ "$ref": "#/$defs/metaObject"
254
+ },
255
+ "completion": {
256
+ "$ref": "#/$defs/completionResult"
257
+ },
258
+ "resultType": {
259
+ "const": "complete"
260
+ }
261
+ },
262
+ "required": [
263
+ "completion"
264
+ ],
265
+ "type": "object"
266
+ },
267
+ "completedPromptResultExample": {
268
+ "additionalProperties": true,
269
+ "properties": {
270
+ "_meta": {
271
+ "$ref": "#/$defs/metaObject"
272
+ },
273
+ "description": {
274
+ "type": "string"
275
+ },
276
+ "messages": {
277
+ "items": {
278
+ "$ref": "#/$defs/promptMessageExample"
279
+ },
280
+ "type": "array"
281
+ },
282
+ "resultType": {
283
+ "const": "complete"
284
+ }
285
+ },
286
+ "required": [
287
+ "messages"
288
+ ],
289
+ "type": "object"
290
+ },
291
+ "completedReadResourceResultExample": {
292
+ "additionalProperties": true,
293
+ "properties": {
294
+ "_meta": {
295
+ "$ref": "#/$defs/metaObject"
296
+ },
297
+ "cacheScope": {
298
+ "enum": [
299
+ "public",
300
+ "private"
301
+ ]
302
+ },
303
+ "contents": {
304
+ "items": {
305
+ "$ref": "#/$defs/resourceContents"
306
+ },
307
+ "minItems": 1,
308
+ "type": "array"
309
+ },
310
+ "resultType": {
311
+ "const": "complete"
312
+ },
313
+ "ttlMs": {
314
+ "minimum": 0,
315
+ "type": "number"
316
+ }
317
+ },
318
+ "required": [
319
+ "contents"
320
+ ],
321
+ "type": "object"
322
+ },
323
+ "completedToolResultExample": {
324
+ "additionalProperties": true,
325
+ "properties": {
326
+ "_meta": {
327
+ "$ref": "#/$defs/metaObject"
328
+ },
329
+ "content": {
330
+ "items": {
331
+ "$ref": "#/$defs/toolResultContent"
332
+ },
333
+ "type": "array"
334
+ },
335
+ "isError": {
336
+ "type": "boolean"
337
+ },
338
+ "resultType": {
339
+ "const": "complete"
340
+ },
341
+ "structuredContent": {
342
+ "$ref": "#/$defs/jsonValue"
343
+ }
344
+ },
345
+ "required": [
346
+ "content"
347
+ ],
348
+ "type": "object"
349
+ },
350
+ "completionArgument": {
351
+ "additionalProperties": false,
352
+ "patternProperties": {
353
+ "^x-": {
354
+ "$ref": "#/$defs/specificationExtensionValue"
355
+ }
356
+ },
357
+ "properties": {
358
+ "name": {
359
+ "type": "string"
360
+ },
361
+ "value": {
362
+ "type": "string"
363
+ }
364
+ },
365
+ "required": [
366
+ "name",
367
+ "value"
368
+ ],
369
+ "type": "object"
370
+ },
371
+ "completionContext": {
372
+ "additionalProperties": false,
373
+ "patternProperties": {
374
+ "^x-": {
375
+ "$ref": "#/$defs/specificationExtensionValue"
376
+ }
377
+ },
378
+ "properties": {
379
+ "arguments": {
380
+ "additionalProperties": {
381
+ "type": "string"
382
+ },
383
+ "minProperties": 1,
384
+ "type": "object"
385
+ }
386
+ },
387
+ "required": [
388
+ "arguments"
389
+ ],
390
+ "type": "object"
391
+ },
392
+ "completionExample": {
393
+ "additionalProperties": false,
394
+ "patternProperties": {
395
+ "^x-": {
396
+ "$ref": "#/$defs/specificationExtensionValue"
397
+ }
398
+ },
399
+ "properties": {
400
+ "argument": {
401
+ "$ref": "#/$defs/completionArgument"
402
+ },
403
+ "context": {
404
+ "$ref": "#/$defs/completionContext"
405
+ },
406
+ "result": {
407
+ "$ref": "#/$defs/completedCompletionResultExample"
408
+ }
409
+ },
410
+ "required": [
411
+ "argument",
412
+ "result"
413
+ ],
414
+ "type": "object"
415
+ },
416
+ "completionExamples": {
417
+ "additionalProperties": {
418
+ "$ref": "#/$defs/completionExample"
419
+ },
420
+ "minProperties": 1,
421
+ "propertyNames": {
422
+ "pattern": "^[A-Za-z0-9._-]+$"
423
+ },
424
+ "type": "object"
425
+ },
426
+ "completionResult": {
427
+ "additionalProperties": true,
428
+ "properties": {
429
+ "hasMore": {
430
+ "type": "boolean"
431
+ },
432
+ "total": {
433
+ "minimum": 0,
434
+ "type": "integer"
435
+ },
436
+ "values": {
437
+ "items": {
438
+ "type": "string"
439
+ },
440
+ "maxItems": 100,
441
+ "type": "array"
442
+ }
443
+ },
444
+ "required": [
445
+ "values"
446
+ ],
447
+ "type": "object"
448
+ },
449
+ "componentMap": {
450
+ "minProperties": 1,
451
+ "propertyNames": {
452
+ "pattern": "^[A-Za-z0-9._-]+$"
453
+ },
454
+ "type": "object"
455
+ },
456
+ "components": {
457
+ "additionalProperties": false,
458
+ "minProperties": 1,
459
+ "patternProperties": {
460
+ "^x-": {
461
+ "$ref": "#/$defs/specificationExtensionValue"
462
+ }
463
+ },
464
+ "properties": {
465
+ "promptExamples": {
466
+ "allOf": [
467
+ {
468
+ "$ref": "#/$defs/componentMap"
469
+ },
470
+ {
471
+ "additionalProperties": {
472
+ "oneOf": [
473
+ {
474
+ "$ref": "#/$defs/referenceObject"
475
+ },
476
+ {
477
+ "$ref": "#/$defs/promptExample"
478
+ }
479
+ ]
480
+ }
481
+ }
482
+ ]
483
+ },
484
+ "resourceExamples": {
485
+ "allOf": [
486
+ {
487
+ "$ref": "#/$defs/componentMap"
488
+ },
489
+ {
490
+ "additionalProperties": {
491
+ "oneOf": [
492
+ {
493
+ "$ref": "#/$defs/referenceObject"
494
+ },
495
+ {
496
+ "$ref": "#/$defs/resourceExample"
497
+ }
498
+ ]
499
+ }
500
+ }
501
+ ]
502
+ },
503
+ "resourceTemplateExamples": {
504
+ "allOf": [
505
+ {
506
+ "$ref": "#/$defs/componentMap"
507
+ },
508
+ {
509
+ "additionalProperties": {
510
+ "oneOf": [
511
+ {
512
+ "$ref": "#/$defs/referenceObject"
513
+ },
514
+ {
515
+ "$ref": "#/$defs/resourceTemplateExample"
516
+ }
517
+ ]
518
+ }
519
+ }
520
+ ]
521
+ },
522
+ "schemas": {
523
+ "allOf": [
524
+ {
525
+ "$ref": "#/$defs/componentMap"
526
+ },
527
+ {
528
+ "additionalProperties": {
529
+ "$ref": "#/$defs/schemaComponentValue"
530
+ }
531
+ }
532
+ ]
533
+ },
534
+ "toolExamples": {
535
+ "allOf": [
536
+ {
537
+ "$ref": "#/$defs/componentMap"
538
+ },
539
+ {
540
+ "additionalProperties": {
541
+ "oneOf": [
542
+ {
543
+ "$ref": "#/$defs/referenceObject"
544
+ },
545
+ {
546
+ "$ref": "#/$defs/toolExample"
547
+ }
548
+ ]
549
+ }
550
+ }
551
+ ]
552
+ }
553
+ },
554
+ "type": "object"
555
+ },
556
+ "contact": {
557
+ "additionalProperties": false,
558
+ "patternProperties": {
559
+ "^x-": {
560
+ "$ref": "#/$defs/specificationExtensionValue"
561
+ }
562
+ },
563
+ "properties": {
564
+ "email": {
565
+ "format": "email",
566
+ "type": "string"
567
+ },
568
+ "name": {
569
+ "type": "string"
570
+ },
571
+ "url": {
572
+ "format": "uri",
573
+ "type": "string"
574
+ }
575
+ },
576
+ "type": "object"
577
+ },
578
+ "elicitationDeclaration": {
579
+ "additionalProperties": false,
580
+ "oneOf": [
581
+ {
582
+ "not": {
583
+ "required": [
584
+ "url"
585
+ ]
586
+ },
587
+ "properties": {
588
+ "mode": {
589
+ "const": "form"
590
+ }
591
+ },
592
+ "required": [
593
+ "requestedSchema"
594
+ ]
595
+ },
596
+ {
597
+ "not": {
598
+ "required": [
599
+ "requestedSchema"
600
+ ]
601
+ },
602
+ "properties": {
603
+ "mode": {
604
+ "const": "url"
605
+ }
606
+ }
607
+ }
608
+ ],
609
+ "patternProperties": {
610
+ "^x-": {
611
+ "$ref": "#/$defs/specificationExtensionValue"
612
+ }
613
+ },
614
+ "properties": {
615
+ "message": {
616
+ "minLength": 1,
617
+ "type": "string"
618
+ },
619
+ "mode": {
620
+ "enum": [
621
+ "form",
622
+ "url"
623
+ ]
624
+ },
625
+ "name": {
626
+ "pattern": "^[A-Za-z0-9._-]+$",
627
+ "type": "string"
628
+ },
629
+ "onCancel": {
630
+ "minLength": 1,
631
+ "type": "string"
632
+ },
633
+ "onDecline": {
634
+ "minLength": 1,
635
+ "type": "string"
636
+ },
637
+ "protocolVersions": {
638
+ "$ref": "#/$defs/protocolVersionScope"
639
+ },
640
+ "requestedSchema": {
641
+ "oneOf": [
642
+ {
643
+ "$ref": "#/$defs/referenceObject"
644
+ },
645
+ {
646
+ "$ref": "#/$defs/elicitationFormSchema"
647
+ }
648
+ ]
649
+ },
650
+ "url": {
651
+ "format": "uri",
652
+ "type": "string"
653
+ },
654
+ "when": {
655
+ "minLength": 1,
656
+ "type": "string"
657
+ }
658
+ },
659
+ "required": [
660
+ "name",
661
+ "mode",
662
+ "message"
663
+ ],
664
+ "type": "object"
665
+ },
666
+ "elicitationFormOption": {
667
+ "additionalProperties": false,
668
+ "properties": {
669
+ "const": {
670
+ "type": "string"
671
+ },
672
+ "title": {
673
+ "type": "string"
674
+ }
675
+ },
676
+ "required": [
677
+ "const",
678
+ "title"
679
+ ],
680
+ "type": "object"
681
+ },
682
+ "elicitationFormProperty": {
683
+ "oneOf": [
684
+ {
685
+ "additionalProperties": false,
686
+ "properties": {
687
+ "default": {
688
+ "type": "string"
689
+ },
690
+ "description": {
691
+ "type": "string"
692
+ },
693
+ "format": {
694
+ "enum": [
695
+ "email",
696
+ "uri",
697
+ "date",
698
+ "date-time"
699
+ ]
700
+ },
701
+ "maxLength": {
702
+ "minimum": 0,
703
+ "type": "integer"
704
+ },
705
+ "minLength": {
706
+ "minimum": 0,
707
+ "type": "integer"
708
+ },
709
+ "title": {
710
+ "type": "string"
711
+ },
712
+ "type": {
713
+ "const": "string"
714
+ }
715
+ },
716
+ "required": [
717
+ "type"
718
+ ],
719
+ "type": "object"
720
+ },
721
+ {
722
+ "additionalProperties": false,
723
+ "properties": {
724
+ "default": {
725
+ "type": "number"
726
+ },
727
+ "description": {
728
+ "type": "string"
729
+ },
730
+ "maximum": {
731
+ "type": "number"
732
+ },
733
+ "minimum": {
734
+ "type": "number"
735
+ },
736
+ "title": {
737
+ "type": "string"
738
+ },
739
+ "type": {
740
+ "enum": [
741
+ "number",
742
+ "integer"
743
+ ]
744
+ }
745
+ },
746
+ "required": [
747
+ "type"
748
+ ],
749
+ "type": "object"
750
+ },
751
+ {
752
+ "additionalProperties": false,
753
+ "properties": {
754
+ "default": {
755
+ "type": "boolean"
756
+ },
757
+ "description": {
758
+ "type": "string"
759
+ },
760
+ "title": {
761
+ "type": "string"
762
+ },
763
+ "type": {
764
+ "const": "boolean"
765
+ }
766
+ },
767
+ "required": [
768
+ "type"
769
+ ],
770
+ "type": "object"
771
+ },
772
+ {
773
+ "additionalProperties": false,
774
+ "properties": {
775
+ "default": {
776
+ "type": "string"
777
+ },
778
+ "description": {
779
+ "type": "string"
780
+ },
781
+ "enum": {
782
+ "items": {
783
+ "type": "string"
784
+ },
785
+ "type": "array"
786
+ },
787
+ "enumNames": {
788
+ "items": {
789
+ "type": "string"
790
+ },
791
+ "type": "array"
792
+ },
793
+ "title": {
794
+ "type": "string"
795
+ },
796
+ "type": {
797
+ "const": "string"
798
+ }
799
+ },
800
+ "required": [
801
+ "type",
802
+ "enum"
803
+ ],
804
+ "type": "object"
805
+ },
806
+ {
807
+ "additionalProperties": false,
808
+ "properties": {
809
+ "default": {
810
+ "type": "string"
811
+ },
812
+ "description": {
813
+ "type": "string"
814
+ },
815
+ "oneOf": {
816
+ "items": {
817
+ "$ref": "#/$defs/elicitationFormOption"
818
+ },
819
+ "type": "array"
820
+ },
821
+ "title": {
822
+ "type": "string"
823
+ },
824
+ "type": {
825
+ "const": "string"
826
+ }
827
+ },
828
+ "required": [
829
+ "type",
830
+ "oneOf"
831
+ ],
832
+ "type": "object"
833
+ },
834
+ {
835
+ "additionalProperties": false,
836
+ "properties": {
837
+ "default": {
838
+ "items": {
839
+ "type": "string"
840
+ },
841
+ "type": "array"
842
+ },
843
+ "description": {
844
+ "type": "string"
845
+ },
846
+ "items": {
847
+ "oneOf": [
848
+ {
849
+ "additionalProperties": false,
850
+ "properties": {
851
+ "enum": {
852
+ "items": {
853
+ "type": "string"
854
+ },
855
+ "type": "array"
856
+ },
857
+ "type": {
858
+ "const": "string"
859
+ }
860
+ },
861
+ "required": [
862
+ "type",
863
+ "enum"
864
+ ],
865
+ "type": "object"
866
+ },
867
+ {
868
+ "additionalProperties": false,
869
+ "properties": {
870
+ "anyOf": {
871
+ "items": {
872
+ "$ref": "#/$defs/elicitationFormOption"
873
+ },
874
+ "type": "array"
875
+ }
876
+ },
877
+ "required": [
878
+ "anyOf"
879
+ ],
880
+ "type": "object"
881
+ }
882
+ ]
883
+ },
884
+ "maxItems": {
885
+ "minimum": 0,
886
+ "type": "integer"
887
+ },
888
+ "minItems": {
889
+ "minimum": 0,
890
+ "type": "integer"
891
+ },
892
+ "title": {
893
+ "type": "string"
894
+ },
895
+ "type": {
896
+ "const": "array"
897
+ }
898
+ },
899
+ "required": [
900
+ "type",
901
+ "items"
902
+ ],
903
+ "type": "object"
904
+ }
905
+ ]
906
+ },
907
+ "elicitationFormSchema": {
908
+ "additionalProperties": false,
909
+ "properties": {
910
+ "$schema": {
911
+ "format": "uri",
912
+ "type": "string"
913
+ },
914
+ "properties": {
915
+ "additionalProperties": {
916
+ "$ref": "#/$defs/elicitationFormProperty"
917
+ },
918
+ "type": "object"
919
+ },
920
+ "required": {
921
+ "items": {
922
+ "type": "string"
923
+ },
924
+ "type": "array",
925
+ "uniqueItems": true
926
+ },
927
+ "type": {
928
+ "const": "object"
929
+ }
930
+ },
931
+ "required": [
932
+ "type",
933
+ "properties"
934
+ ],
935
+ "type": "object"
936
+ },
937
+ "elicitationInteractionAcceptedResponse": {
938
+ "additionalProperties": false,
939
+ "properties": {
940
+ "action": {
941
+ "const": "accept"
942
+ },
943
+ "content": {
944
+ "additionalProperties": {
945
+ "$ref": "#/$defs/jsonValue"
946
+ },
947
+ "type": "object"
948
+ }
949
+ },
950
+ "required": [
951
+ "action"
952
+ ],
953
+ "type": "object"
954
+ },
955
+ "elicitationInteractionDeclinedResponse": {
956
+ "additionalProperties": false,
957
+ "properties": {
958
+ "action": {
959
+ "enum": [
960
+ "decline",
961
+ "cancel"
962
+ ]
963
+ }
964
+ },
965
+ "required": [
966
+ "action"
967
+ ],
968
+ "type": "object"
969
+ },
970
+ "elicitationInteractionFormRequest": {
971
+ "additionalProperties": false,
972
+ "properties": {
973
+ "message": {
974
+ "minLength": 1,
975
+ "type": "string"
976
+ },
977
+ "mode": {
978
+ "const": "form"
979
+ },
980
+ "requestedSchema": {
981
+ "$ref": "#/$defs/elicitationFormSchema"
982
+ }
983
+ },
984
+ "required": [
985
+ "mode",
986
+ "message",
987
+ "requestedSchema"
988
+ ],
989
+ "type": "object"
990
+ },
991
+ "elicitationInteractionRequest": {
992
+ "oneOf": [
993
+ {
994
+ "$ref": "#/$defs/elicitationInteractionFormRequest"
995
+ },
996
+ {
997
+ "$ref": "#/$defs/elicitationInteractionUrlRequest"
998
+ }
999
+ ]
1000
+ },
1001
+ "elicitationInteractionResponse": {
1002
+ "oneOf": [
1003
+ {
1004
+ "$ref": "#/$defs/elicitationInteractionAcceptedResponse"
1005
+ },
1006
+ {
1007
+ "$ref": "#/$defs/elicitationInteractionDeclinedResponse"
1008
+ }
1009
+ ]
1010
+ },
1011
+ "elicitationInteractionUrlRequest": {
1012
+ "additionalProperties": false,
1013
+ "properties": {
1014
+ "message": {
1015
+ "minLength": 1,
1016
+ "type": "string"
1017
+ },
1018
+ "mode": {
1019
+ "const": "url"
1020
+ },
1021
+ "url": {
1022
+ "format": "uri",
1023
+ "type": "string"
1024
+ }
1025
+ },
1026
+ "required": [
1027
+ "mode",
1028
+ "message",
1029
+ "url"
1030
+ ],
1031
+ "type": "object"
1032
+ },
1033
+ "execution": {
1034
+ "additionalProperties": false,
1035
+ "properties": {
1036
+ "taskSupport": {
1037
+ "enum": [
1038
+ "forbidden",
1039
+ "optional",
1040
+ "required"
1041
+ ],
1042
+ "type": "string"
1043
+ }
1044
+ },
1045
+ "type": "object"
1046
+ },
1047
+ "extensionCapabilities": {
1048
+ "additionalProperties": {
1049
+ "type": "object"
1050
+ },
1051
+ "minProperties": 1,
1052
+ "propertyNames": {
1053
+ "pattern": "^[A-Za-z](?:[A-Za-z0-9-]*[A-Za-z0-9])?(?:\\.[A-Za-z](?:[A-Za-z0-9-]*[A-Za-z0-9])?)*/[A-Za-z0-9](?:[A-Za-z0-9._-]*[A-Za-z0-9])?$"
1054
+ },
1055
+ "type": "object"
1056
+ },
1057
+ "icon": {
1058
+ "additionalProperties": false,
1059
+ "patternProperties": {
1060
+ "^x-": {
1061
+ "$ref": "#/$defs/specificationExtensionValue"
1062
+ }
1063
+ },
1064
+ "properties": {
1065
+ "mimeType": {
1066
+ "type": "string"
1067
+ },
1068
+ "sizes": {
1069
+ "items": {
1070
+ "type": "string"
1071
+ },
1072
+ "type": "array"
1073
+ },
1074
+ "src": {
1075
+ "format": "uri",
1076
+ "type": "string"
1077
+ },
1078
+ "theme": {
1079
+ "enum": [
1080
+ "light",
1081
+ "dark"
1082
+ ],
1083
+ "type": "string"
1084
+ }
1085
+ },
1086
+ "required": [
1087
+ "src"
1088
+ ],
1089
+ "type": "object"
1090
+ },
1091
+ "icons": {
1092
+ "items": {
1093
+ "$ref": "#/$defs/icon"
1094
+ },
1095
+ "minItems": 1,
1096
+ "type": "array"
1097
+ },
1098
+ "info": {
1099
+ "additionalProperties": false,
1100
+ "patternProperties": {
1101
+ "^x-": {
1102
+ "$ref": "#/$defs/specificationExtensionValue"
1103
+ }
1104
+ },
1105
+ "properties": {
1106
+ "contact": {
1107
+ "$ref": "#/$defs/contact"
1108
+ },
1109
+ "description": {
1110
+ "type": "string"
1111
+ },
1112
+ "icons": {
1113
+ "$ref": "#/$defs/icons"
1114
+ },
1115
+ "id": {
1116
+ "type": "string"
1117
+ },
1118
+ "license": {
1119
+ "$ref": "#/$defs/license"
1120
+ },
1121
+ "name": {
1122
+ "minLength": 1,
1123
+ "type": "string"
1124
+ },
1125
+ "title": {
1126
+ "type": "string"
1127
+ },
1128
+ "version": {
1129
+ "minLength": 1,
1130
+ "type": "string"
1131
+ },
1132
+ "websiteUrl": {
1133
+ "format": "uri",
1134
+ "type": "string"
1135
+ }
1136
+ },
1137
+ "required": [
1138
+ "name",
1139
+ "version"
1140
+ ],
1141
+ "type": "object"
1142
+ },
1143
+ "jsonSchemaObject": {
1144
+ "additionalProperties": true,
1145
+ "type": "object"
1146
+ },
1147
+ "jsonValue": {
1148
+ "oneOf": [
1149
+ {
1150
+ "additionalProperties": {
1151
+ "$ref": "#/$defs/jsonValue"
1152
+ },
1153
+ "type": "object"
1154
+ },
1155
+ {
1156
+ "items": {
1157
+ "$ref": "#/$defs/jsonValue"
1158
+ },
1159
+ "type": "array"
1160
+ },
1161
+ {
1162
+ "type": "string"
1163
+ },
1164
+ {
1165
+ "type": "number"
1166
+ },
1167
+ {
1168
+ "type": "boolean"
1169
+ },
1170
+ {
1171
+ "type": "null"
1172
+ }
1173
+ ]
1174
+ },
1175
+ "license": {
1176
+ "additionalProperties": false,
1177
+ "patternProperties": {
1178
+ "^x-": {
1179
+ "$ref": "#/$defs/specificationExtensionValue"
1180
+ }
1181
+ },
1182
+ "properties": {
1183
+ "name": {
1184
+ "type": "string"
1185
+ },
1186
+ "url": {
1187
+ "format": "uri",
1188
+ "type": "string"
1189
+ }
1190
+ },
1191
+ "required": [
1192
+ "name"
1193
+ ],
1194
+ "type": "object"
1195
+ },
1196
+ "metaObject": {
1197
+ "additionalProperties": true,
1198
+ "propertyNames": {
1199
+ "pattern": "^(?:(?:[A-Za-z](?:[A-Za-z0-9-]*[A-Za-z0-9])?)(?:\\.[A-Za-z](?:[A-Za-z0-9-]*[A-Za-z0-9])?)*\\/)?(?:[A-Za-z0-9](?:[A-Za-z0-9._-]*[A-Za-z0-9])?)?$"
1200
+ },
1201
+ "type": "object"
1202
+ },
1203
+ "oauthFlow": {
1204
+ "additionalProperties": false,
1205
+ "patternProperties": {
1206
+ "^x-": {
1207
+ "$ref": "#/$defs/specificationExtensionValue"
1208
+ }
1209
+ },
1210
+ "properties": {
1211
+ "authorizationUrl": {
1212
+ "format": "uri",
1213
+ "type": "string"
1214
+ },
1215
+ "refreshUrl": {
1216
+ "format": "uri",
1217
+ "type": "string"
1218
+ },
1219
+ "scopes": {
1220
+ "additionalProperties": {
1221
+ "type": "string"
1222
+ },
1223
+ "type": "object"
1224
+ },
1225
+ "tokenUrl": {
1226
+ "format": "uri",
1227
+ "type": "string"
1228
+ }
1229
+ },
1230
+ "required": [
1231
+ "scopes"
1232
+ ],
1233
+ "type": "object"
1234
+ },
1235
+ "oauthFlows": {
1236
+ "additionalProperties": false,
1237
+ "anyOf": [
1238
+ {
1239
+ "required": [
1240
+ "implicit"
1241
+ ]
1242
+ },
1243
+ {
1244
+ "required": [
1245
+ "password"
1246
+ ]
1247
+ },
1248
+ {
1249
+ "required": [
1250
+ "clientCredentials"
1251
+ ]
1252
+ },
1253
+ {
1254
+ "required": [
1255
+ "authorizationCode"
1256
+ ]
1257
+ }
1258
+ ],
1259
+ "patternProperties": {
1260
+ "^x-": {
1261
+ "$ref": "#/$defs/specificationExtensionValue"
1262
+ }
1263
+ },
1264
+ "properties": {
1265
+ "authorizationCode": {
1266
+ "allOf": [
1267
+ {
1268
+ "$ref": "#/$defs/oauthFlow"
1269
+ },
1270
+ {
1271
+ "required": [
1272
+ "authorizationUrl",
1273
+ "tokenUrl"
1274
+ ]
1275
+ }
1276
+ ]
1277
+ },
1278
+ "clientCredentials": {
1279
+ "allOf": [
1280
+ {
1281
+ "$ref": "#/$defs/oauthFlow"
1282
+ },
1283
+ {
1284
+ "required": [
1285
+ "tokenUrl"
1286
+ ]
1287
+ }
1288
+ ]
1289
+ },
1290
+ "implicit": {
1291
+ "allOf": [
1292
+ {
1293
+ "$ref": "#/$defs/oauthFlow"
1294
+ },
1295
+ {
1296
+ "required": [
1297
+ "authorizationUrl"
1298
+ ]
1299
+ }
1300
+ ]
1301
+ },
1302
+ "password": {
1303
+ "allOf": [
1304
+ {
1305
+ "$ref": "#/$defs/oauthFlow"
1306
+ },
1307
+ {
1308
+ "required": [
1309
+ "tokenUrl"
1310
+ ]
1311
+ }
1312
+ ]
1313
+ }
1314
+ },
1315
+ "type": "object"
1316
+ },
1317
+ "prompt": {
1318
+ "additionalProperties": false,
1319
+ "patternProperties": {
1320
+ "^x-": {
1321
+ "$ref": "#/$defs/specificationExtensionValue"
1322
+ }
1323
+ },
1324
+ "properties": {
1325
+ "_meta": {
1326
+ "$ref": "#/$defs/metaObject"
1327
+ },
1328
+ "arguments": {
1329
+ "items": {
1330
+ "$ref": "#/$defs/promptArgument"
1331
+ },
1332
+ "minItems": 1,
1333
+ "type": "array"
1334
+ },
1335
+ "clientRequirements": {
1336
+ "$ref": "#/$defs/clientCapabilityRequirements"
1337
+ },
1338
+ "completionExamples": {
1339
+ "$ref": "#/$defs/completionExamples"
1340
+ },
1341
+ "deprecated": {
1342
+ "type": "boolean"
1343
+ },
1344
+ "description": {
1345
+ "type": "string"
1346
+ },
1347
+ "elicitations": {
1348
+ "items": {
1349
+ "$ref": "#/$defs/elicitationDeclaration"
1350
+ },
1351
+ "minItems": 1,
1352
+ "type": "array"
1353
+ },
1354
+ "examples": {
1355
+ "$ref": "#/$defs/promptExamples"
1356
+ },
1357
+ "icons": {
1358
+ "$ref": "#/$defs/icons"
1359
+ },
1360
+ "name": {
1361
+ "type": "string"
1362
+ },
1363
+ "protocolVersions": {
1364
+ "$ref": "#/$defs/protocolVersionScope"
1365
+ },
1366
+ "security": {
1367
+ "$ref": "#/$defs/securityRequirementArray"
1368
+ },
1369
+ "tags": {
1370
+ "items": {
1371
+ "type": "string"
1372
+ },
1373
+ "minItems": 1,
1374
+ "type": "array",
1375
+ "uniqueItems": true
1376
+ },
1377
+ "title": {
1378
+ "type": "string"
1379
+ }
1380
+ },
1381
+ "required": [
1382
+ "name"
1383
+ ],
1384
+ "type": "object"
1385
+ },
1386
+ "promptArgument": {
1387
+ "additionalProperties": false,
1388
+ "patternProperties": {
1389
+ "^x-": {
1390
+ "$ref": "#/$defs/specificationExtensionValue"
1391
+ }
1392
+ },
1393
+ "properties": {
1394
+ "description": {
1395
+ "type": "string"
1396
+ },
1397
+ "name": {
1398
+ "type": "string"
1399
+ },
1400
+ "required": {
1401
+ "type": "boolean"
1402
+ },
1403
+ "title": {
1404
+ "type": "string"
1405
+ }
1406
+ },
1407
+ "required": [
1408
+ "name"
1409
+ ],
1410
+ "type": "object"
1411
+ },
1412
+ "promptExample": {
1413
+ "additionalProperties": false,
1414
+ "patternProperties": {
1415
+ "^x-": {
1416
+ "$ref": "#/$defs/specificationExtensionValue"
1417
+ }
1418
+ },
1419
+ "properties": {
1420
+ "arguments": {
1421
+ "additionalProperties": {
1422
+ "type": "string"
1423
+ },
1424
+ "type": "object"
1425
+ },
1426
+ "result": {
1427
+ "$ref": "#/$defs/completedPromptResultExample"
1428
+ }
1429
+ },
1430
+ "required": [
1431
+ "result"
1432
+ ],
1433
+ "type": "object"
1434
+ },
1435
+ "promptExamples": {
1436
+ "additionalProperties": {
1437
+ "oneOf": [
1438
+ {
1439
+ "$ref": "#/$defs/referenceObject"
1440
+ },
1441
+ {
1442
+ "$ref": "#/$defs/promptExample"
1443
+ }
1444
+ ]
1445
+ },
1446
+ "minProperties": 1,
1447
+ "propertyNames": {
1448
+ "pattern": "^[A-Za-z0-9._-]+$"
1449
+ },
1450
+ "type": "object"
1451
+ },
1452
+ "promptMessageExample": {
1453
+ "additionalProperties": false,
1454
+ "properties": {
1455
+ "content": {
1456
+ "$ref": "#/$defs/toolResultContent"
1457
+ },
1458
+ "role": {
1459
+ "enum": [
1460
+ "user",
1461
+ "assistant"
1462
+ ],
1463
+ "type": "string"
1464
+ }
1465
+ },
1466
+ "required": [
1467
+ "role",
1468
+ "content"
1469
+ ],
1470
+ "type": "object"
1471
+ },
1472
+ "protocolVersionScope": {
1473
+ "items": {
1474
+ "$ref": "#/$defs/supportedProtocolVersion"
1475
+ },
1476
+ "minItems": 1,
1477
+ "type": "array",
1478
+ "uniqueItems": true
1479
+ },
1480
+ "referenceObject": {
1481
+ "additionalProperties": false,
1482
+ "properties": {
1483
+ "$componentRef": {
1484
+ "pattern": "^#/components/(schemas|toolExamples|resourceExamples|resourceTemplateExamples|promptExamples)/[A-Za-z0-9._-]+$",
1485
+ "type": "string"
1486
+ }
1487
+ },
1488
+ "required": [
1489
+ "$componentRef"
1490
+ ],
1491
+ "type": "object"
1492
+ },
1493
+ "resource": {
1494
+ "additionalProperties": false,
1495
+ "patternProperties": {
1496
+ "^x-": {
1497
+ "$ref": "#/$defs/specificationExtensionValue"
1498
+ }
1499
+ },
1500
+ "properties": {
1501
+ "_meta": {
1502
+ "$ref": "#/$defs/metaObject"
1503
+ },
1504
+ "annotations": {
1505
+ "$ref": "#/$defs/resourceAnnotations"
1506
+ },
1507
+ "clientRequirements": {
1508
+ "$ref": "#/$defs/clientCapabilityRequirements"
1509
+ },
1510
+ "deprecated": {
1511
+ "type": "boolean"
1512
+ },
1513
+ "description": {
1514
+ "type": "string"
1515
+ },
1516
+ "elicitations": {
1517
+ "items": {
1518
+ "$ref": "#/$defs/elicitationDeclaration"
1519
+ },
1520
+ "minItems": 1,
1521
+ "type": "array"
1522
+ },
1523
+ "examples": {
1524
+ "$ref": "#/$defs/resourceExamples"
1525
+ },
1526
+ "icons": {
1527
+ "$ref": "#/$defs/icons"
1528
+ },
1529
+ "mimeType": {
1530
+ "type": "string"
1531
+ },
1532
+ "name": {
1533
+ "type": "string"
1534
+ },
1535
+ "protocolVersions": {
1536
+ "$ref": "#/$defs/protocolVersionScope"
1537
+ },
1538
+ "security": {
1539
+ "$ref": "#/$defs/securityRequirementArray"
1540
+ },
1541
+ "size": {
1542
+ "type": "number"
1543
+ },
1544
+ "tags": {
1545
+ "items": {
1546
+ "type": "string"
1547
+ },
1548
+ "minItems": 1,
1549
+ "type": "array",
1550
+ "uniqueItems": true
1551
+ },
1552
+ "title": {
1553
+ "type": "string"
1554
+ },
1555
+ "uri": {
1556
+ "type": "string"
1557
+ }
1558
+ },
1559
+ "required": [
1560
+ "uri",
1561
+ "name"
1562
+ ],
1563
+ "type": "object"
1564
+ },
1565
+ "resourceAnnotations": {
1566
+ "additionalProperties": true,
1567
+ "properties": {
1568
+ "audience": {
1569
+ "items": {
1570
+ "enum": [
1571
+ "user",
1572
+ "assistant"
1573
+ ],
1574
+ "type": "string"
1575
+ },
1576
+ "type": "array"
1577
+ },
1578
+ "lastModified": {
1579
+ "type": "string"
1580
+ },
1581
+ "priority": {
1582
+ "maximum": 1,
1583
+ "minimum": 0,
1584
+ "type": "number"
1585
+ }
1586
+ },
1587
+ "type": "object"
1588
+ },
1589
+ "resourceContents": {
1590
+ "oneOf": [
1591
+ {
1592
+ "additionalProperties": false,
1593
+ "properties": {
1594
+ "_meta": {
1595
+ "$ref": "#/$defs/metaObject"
1596
+ },
1597
+ "mimeType": {
1598
+ "type": "string"
1599
+ },
1600
+ "text": {
1601
+ "type": "string"
1602
+ },
1603
+ "uri": {
1604
+ "format": "uri",
1605
+ "type": "string"
1606
+ }
1607
+ },
1608
+ "required": [
1609
+ "uri",
1610
+ "text"
1611
+ ],
1612
+ "type": "object"
1613
+ },
1614
+ {
1615
+ "additionalProperties": false,
1616
+ "properties": {
1617
+ "_meta": {
1618
+ "$ref": "#/$defs/metaObject"
1619
+ },
1620
+ "blob": {
1621
+ "type": "string"
1622
+ },
1623
+ "mimeType": {
1624
+ "type": "string"
1625
+ },
1626
+ "uri": {
1627
+ "format": "uri",
1628
+ "type": "string"
1629
+ }
1630
+ },
1631
+ "required": [
1632
+ "uri",
1633
+ "blob"
1634
+ ],
1635
+ "type": "object"
1636
+ }
1637
+ ]
1638
+ },
1639
+ "resourceExample": {
1640
+ "additionalProperties": false,
1641
+ "patternProperties": {
1642
+ "^x-": {
1643
+ "$ref": "#/$defs/specificationExtensionValue"
1644
+ }
1645
+ },
1646
+ "properties": {
1647
+ "result": {
1648
+ "$ref": "#/$defs/completedReadResourceResultExample"
1649
+ }
1650
+ },
1651
+ "required": [
1652
+ "result"
1653
+ ],
1654
+ "type": "object"
1655
+ },
1656
+ "resourceExamples": {
1657
+ "additionalProperties": {
1658
+ "oneOf": [
1659
+ {
1660
+ "$ref": "#/$defs/referenceObject"
1661
+ },
1662
+ {
1663
+ "$ref": "#/$defs/resourceExample"
1664
+ }
1665
+ ]
1666
+ },
1667
+ "minProperties": 1,
1668
+ "propertyNames": {
1669
+ "pattern": "^[A-Za-z0-9._-]+$"
1670
+ },
1671
+ "type": "object"
1672
+ },
1673
+ "resourceTemplate": {
1674
+ "additionalProperties": false,
1675
+ "patternProperties": {
1676
+ "^x-": {
1677
+ "$ref": "#/$defs/specificationExtensionValue"
1678
+ }
1679
+ },
1680
+ "properties": {
1681
+ "_meta": {
1682
+ "$ref": "#/$defs/metaObject"
1683
+ },
1684
+ "annotations": {
1685
+ "$ref": "#/$defs/resourceAnnotations"
1686
+ },
1687
+ "clientRequirements": {
1688
+ "$ref": "#/$defs/clientCapabilityRequirements"
1689
+ },
1690
+ "completionExamples": {
1691
+ "$ref": "#/$defs/completionExamples"
1692
+ },
1693
+ "deprecated": {
1694
+ "type": "boolean"
1695
+ },
1696
+ "description": {
1697
+ "type": "string"
1698
+ },
1699
+ "elicitations": {
1700
+ "items": {
1701
+ "$ref": "#/$defs/elicitationDeclaration"
1702
+ },
1703
+ "minItems": 1,
1704
+ "type": "array"
1705
+ },
1706
+ "examples": {
1707
+ "$ref": "#/$defs/resourceTemplateExamples"
1708
+ },
1709
+ "icons": {
1710
+ "$ref": "#/$defs/icons"
1711
+ },
1712
+ "mimeType": {
1713
+ "type": "string"
1714
+ },
1715
+ "name": {
1716
+ "type": "string"
1717
+ },
1718
+ "protocolVersions": {
1719
+ "$ref": "#/$defs/protocolVersionScope"
1720
+ },
1721
+ "security": {
1722
+ "$ref": "#/$defs/securityRequirementArray"
1723
+ },
1724
+ "tags": {
1725
+ "items": {
1726
+ "type": "string"
1727
+ },
1728
+ "minItems": 1,
1729
+ "type": "array",
1730
+ "uniqueItems": true
1731
+ },
1732
+ "title": {
1733
+ "type": "string"
1734
+ },
1735
+ "uriTemplate": {
1736
+ "type": "string"
1737
+ }
1738
+ },
1739
+ "required": [
1740
+ "uriTemplate",
1741
+ "name"
1742
+ ],
1743
+ "type": "object"
1744
+ },
1745
+ "resourceTemplateExample": {
1746
+ "additionalProperties": false,
1747
+ "patternProperties": {
1748
+ "^x-": {
1749
+ "$ref": "#/$defs/specificationExtensionValue"
1750
+ }
1751
+ },
1752
+ "properties": {
1753
+ "result": {
1754
+ "$ref": "#/$defs/completedReadResourceResultExample"
1755
+ },
1756
+ "uri": {
1757
+ "format": "uri",
1758
+ "type": "string"
1759
+ }
1760
+ },
1761
+ "required": [
1762
+ "uri",
1763
+ "result"
1764
+ ],
1765
+ "type": "object"
1766
+ },
1767
+ "resourceTemplateExamples": {
1768
+ "additionalProperties": {
1769
+ "oneOf": [
1770
+ {
1771
+ "$ref": "#/$defs/referenceObject"
1772
+ },
1773
+ {
1774
+ "$ref": "#/$defs/resourceTemplateExample"
1775
+ }
1776
+ ]
1777
+ },
1778
+ "minProperties": 1,
1779
+ "propertyNames": {
1780
+ "pattern": "^[A-Za-z0-9._-]+$"
1781
+ },
1782
+ "type": "object"
1783
+ },
1784
+ "rootDeclaration": {
1785
+ "additionalProperties": false,
1786
+ "properties": {
1787
+ "name": {
1788
+ "type": "string"
1789
+ },
1790
+ "uri": {
1791
+ "format": "uri",
1792
+ "type": "string"
1793
+ }
1794
+ },
1795
+ "required": [
1796
+ "uri"
1797
+ ],
1798
+ "type": "object"
1799
+ },
1800
+ "rootsListRequest": {
1801
+ "additionalProperties": false,
1802
+ "maxProperties": 0,
1803
+ "type": "object"
1804
+ },
1805
+ "rootsListResult": {
1806
+ "additionalProperties": false,
1807
+ "properties": {
1808
+ "roots": {
1809
+ "items": {
1810
+ "$ref": "#/$defs/rootDeclaration"
1811
+ },
1812
+ "type": "array"
1813
+ }
1814
+ },
1815
+ "required": [
1816
+ "roots"
1817
+ ],
1818
+ "type": "object"
1819
+ },
1820
+ "samplingContentBlock": {
1821
+ "oneOf": [
1822
+ {
1823
+ "$ref": "#/$defs/toolResultContent"
1824
+ },
1825
+ {
1826
+ "$ref": "#/$defs/samplingToolUseContent"
1827
+ },
1828
+ {
1829
+ "$ref": "#/$defs/samplingToolResultContent"
1830
+ }
1831
+ ]
1832
+ },
1833
+ "samplingCreateMessageRequest": {
1834
+ "additionalProperties": false,
1835
+ "properties": {
1836
+ "includeContext": {
1837
+ "enum": [
1838
+ "none",
1839
+ "thisServer",
1840
+ "allServers"
1841
+ ]
1842
+ },
1843
+ "maxTokens": {
1844
+ "minimum": 1,
1845
+ "type": "integer"
1846
+ },
1847
+ "messages": {
1848
+ "items": {
1849
+ "$ref": "#/$defs/samplingMessage"
1850
+ },
1851
+ "minItems": 1,
1852
+ "type": "array"
1853
+ },
1854
+ "metadata": {
1855
+ "additionalProperties": {
1856
+ "$ref": "#/$defs/jsonValue"
1857
+ },
1858
+ "type": "object"
1859
+ },
1860
+ "modelPreferences": {
1861
+ "$ref": "#/$defs/samplingModelPreferences"
1862
+ },
1863
+ "stopSequences": {
1864
+ "items": {
1865
+ "type": "string"
1866
+ },
1867
+ "type": "array"
1868
+ },
1869
+ "systemPrompt": {
1870
+ "type": "string"
1871
+ },
1872
+ "temperature": {
1873
+ "type": "number"
1874
+ },
1875
+ "toolChoice": {
1876
+ "$ref": "#/$defs/samplingToolChoice"
1877
+ },
1878
+ "tools": {
1879
+ "items": {
1880
+ "$ref": "#/$defs/samplingRequestTool"
1881
+ },
1882
+ "minItems": 1,
1883
+ "type": "array"
1884
+ }
1885
+ },
1886
+ "required": [
1887
+ "messages",
1888
+ "maxTokens"
1889
+ ],
1890
+ "type": "object"
1891
+ },
1892
+ "samplingCreateMessageResult": {
1893
+ "additionalProperties": false,
1894
+ "properties": {
1895
+ "content": {
1896
+ "$ref": "#/$defs/samplingMessageContent"
1897
+ },
1898
+ "model": {
1899
+ "type": "string"
1900
+ },
1901
+ "role": {
1902
+ "const": "assistant"
1903
+ },
1904
+ "stopReason": {
1905
+ "type": "string"
1906
+ }
1907
+ },
1908
+ "required": [
1909
+ "role",
1910
+ "content",
1911
+ "model"
1912
+ ],
1913
+ "type": "object"
1914
+ },
1915
+ "samplingMessage": {
1916
+ "additionalProperties": false,
1917
+ "properties": {
1918
+ "content": {
1919
+ "$ref": "#/$defs/samplingMessageContent"
1920
+ },
1921
+ "role": {
1922
+ "enum": [
1923
+ "user",
1924
+ "assistant"
1925
+ ]
1926
+ }
1927
+ },
1928
+ "required": [
1929
+ "role",
1930
+ "content"
1931
+ ],
1932
+ "type": "object"
1933
+ },
1934
+ "samplingMessageContent": {
1935
+ "oneOf": [
1936
+ {
1937
+ "$ref": "#/$defs/samplingContentBlock"
1938
+ },
1939
+ {
1940
+ "items": {
1941
+ "$ref": "#/$defs/samplingContentBlock"
1942
+ },
1943
+ "minItems": 1,
1944
+ "type": "array"
1945
+ }
1946
+ ]
1947
+ },
1948
+ "samplingModelHint": {
1949
+ "additionalProperties": false,
1950
+ "properties": {
1951
+ "name": {
1952
+ "minLength": 1,
1953
+ "type": "string"
1954
+ }
1955
+ },
1956
+ "required": [
1957
+ "name"
1958
+ ],
1959
+ "type": "object"
1960
+ },
1961
+ "samplingModelPreferences": {
1962
+ "additionalProperties": false,
1963
+ "properties": {
1964
+ "costPriority": {
1965
+ "maximum": 1,
1966
+ "minimum": 0,
1967
+ "type": "number"
1968
+ },
1969
+ "hints": {
1970
+ "items": {
1971
+ "$ref": "#/$defs/samplingModelHint"
1972
+ },
1973
+ "minItems": 1,
1974
+ "type": "array"
1975
+ },
1976
+ "intelligencePriority": {
1977
+ "maximum": 1,
1978
+ "minimum": 0,
1979
+ "type": "number"
1980
+ },
1981
+ "speedPriority": {
1982
+ "maximum": 1,
1983
+ "minimum": 0,
1984
+ "type": "number"
1985
+ }
1986
+ },
1987
+ "type": "object"
1988
+ },
1989
+ "samplingRequestTool": {
1990
+ "additionalProperties": false,
1991
+ "patternProperties": {
1992
+ "^x-": {
1993
+ "$ref": "#/$defs/specificationExtensionValue"
1994
+ }
1995
+ },
1996
+ "properties": {
1997
+ "annotations": {
1998
+ "$ref": "#/$defs/toolAnnotations"
1999
+ },
2000
+ "description": {
2001
+ "type": "string"
2002
+ },
2003
+ "inputSchema": {
2004
+ "allOf": [
2005
+ {
2006
+ "$ref": "#/$defs/schemaComponentValue"
2007
+ },
2008
+ {
2009
+ "properties": {
2010
+ "type": {
2011
+ "const": "object"
2012
+ }
2013
+ },
2014
+ "required": [
2015
+ "type"
2016
+ ]
2017
+ }
2018
+ ]
2019
+ },
2020
+ "name": {
2021
+ "minLength": 1,
2022
+ "type": "string"
2023
+ },
2024
+ "title": {
2025
+ "type": "string"
2026
+ }
2027
+ },
2028
+ "required": [
2029
+ "name",
2030
+ "inputSchema"
2031
+ ],
2032
+ "type": "object"
2033
+ },
2034
+ "samplingToolChoice": {
2035
+ "additionalProperties": false,
2036
+ "properties": {
2037
+ "mode": {
2038
+ "enum": [
2039
+ "auto",
2040
+ "required",
2041
+ "none"
2042
+ ]
2043
+ }
2044
+ },
2045
+ "required": [
2046
+ "mode"
2047
+ ],
2048
+ "type": "object"
2049
+ },
2050
+ "samplingToolResultContent": {
2051
+ "additionalProperties": false,
2052
+ "properties": {
2053
+ "content": {
2054
+ "oneOf": [
2055
+ {
2056
+ "$ref": "#/$defs/toolResultContent"
2057
+ },
2058
+ {
2059
+ "items": {
2060
+ "$ref": "#/$defs/toolResultContent"
2061
+ },
2062
+ "minItems": 1,
2063
+ "type": "array"
2064
+ }
2065
+ ]
2066
+ },
2067
+ "isError": {
2068
+ "type": "boolean"
2069
+ },
2070
+ "toolUseId": {
2071
+ "type": "string"
2072
+ },
2073
+ "type": {
2074
+ "const": "tool_result"
2075
+ }
2076
+ },
2077
+ "required": [
2078
+ "type",
2079
+ "toolUseId",
2080
+ "content"
2081
+ ],
2082
+ "type": "object"
2083
+ },
2084
+ "samplingToolUseContent": {
2085
+ "additionalProperties": false,
2086
+ "properties": {
2087
+ "id": {
2088
+ "type": "string"
2089
+ },
2090
+ "input": {
2091
+ "additionalProperties": {
2092
+ "$ref": "#/$defs/jsonValue"
2093
+ },
2094
+ "type": "object"
2095
+ },
2096
+ "name": {
2097
+ "type": "string"
2098
+ },
2099
+ "type": {
2100
+ "const": "tool_use"
2101
+ }
2102
+ },
2103
+ "required": [
2104
+ "type",
2105
+ "id",
2106
+ "name",
2107
+ "input"
2108
+ ],
2109
+ "type": "object"
2110
+ },
2111
+ "schemaComponentValue": {
2112
+ "oneOf": [
2113
+ {
2114
+ "$ref": "#/$defs/referenceObject"
2115
+ },
2116
+ {
2117
+ "allOf": [
2118
+ {
2119
+ "$ref": "#/$defs/jsonSchemaObject"
2120
+ },
2121
+ {
2122
+ "not": {
2123
+ "required": [
2124
+ "$componentRef"
2125
+ ]
2126
+ }
2127
+ }
2128
+ ]
2129
+ }
2130
+ ]
2131
+ },
2132
+ "securityRequirement": {
2133
+ "additionalProperties": {
2134
+ "items": {
2135
+ "type": "string"
2136
+ },
2137
+ "type": "array",
2138
+ "uniqueItems": true
2139
+ },
2140
+ "propertyNames": {
2141
+ "pattern": "^[A-Za-z0-9._-]+$"
2142
+ },
2143
+ "type": "object"
2144
+ },
2145
+ "securityRequirementArray": {
2146
+ "items": {
2147
+ "$ref": "#/$defs/securityRequirement"
2148
+ },
2149
+ "type": "array"
2150
+ },
2151
+ "securityScheme": {
2152
+ "oneOf": [
2153
+ {
2154
+ "additionalProperties": false,
2155
+ "patternProperties": {
2156
+ "^x-": {
2157
+ "$ref": "#/$defs/specificationExtensionValue"
2158
+ }
2159
+ },
2160
+ "properties": {
2161
+ "bearerFormat": {
2162
+ "type": "string"
2163
+ },
2164
+ "description": {
2165
+ "type": "string"
2166
+ },
2167
+ "scheme": {
2168
+ "type": "string"
2169
+ },
2170
+ "type": {
2171
+ "const": "http"
2172
+ }
2173
+ },
2174
+ "required": [
2175
+ "type",
2176
+ "scheme"
2177
+ ],
2178
+ "type": "object"
2179
+ },
2180
+ {
2181
+ "additionalProperties": false,
2182
+ "patternProperties": {
2183
+ "^x-": {
2184
+ "$ref": "#/$defs/specificationExtensionValue"
2185
+ }
2186
+ },
2187
+ "properties": {
2188
+ "description": {
2189
+ "type": "string"
2190
+ },
2191
+ "in": {
2192
+ "enum": [
2193
+ "header",
2194
+ "query",
2195
+ "cookie"
2196
+ ],
2197
+ "type": "string"
2198
+ },
2199
+ "name": {
2200
+ "type": "string"
2201
+ },
2202
+ "type": {
2203
+ "const": "apiKey"
2204
+ }
2205
+ },
2206
+ "required": [
2207
+ "type",
2208
+ "name",
2209
+ "in"
2210
+ ],
2211
+ "type": "object"
2212
+ },
2213
+ {
2214
+ "additionalProperties": false,
2215
+ "patternProperties": {
2216
+ "^x-": {
2217
+ "$ref": "#/$defs/specificationExtensionValue"
2218
+ }
2219
+ },
2220
+ "properties": {
2221
+ "description": {
2222
+ "type": "string"
2223
+ },
2224
+ "flows": {
2225
+ "$ref": "#/$defs/oauthFlows"
2226
+ },
2227
+ "type": {
2228
+ "const": "oauth2"
2229
+ }
2230
+ },
2231
+ "required": [
2232
+ "type",
2233
+ "flows"
2234
+ ],
2235
+ "type": "object"
2236
+ },
2237
+ {
2238
+ "additionalProperties": false,
2239
+ "patternProperties": {
2240
+ "^x-": {
2241
+ "$ref": "#/$defs/specificationExtensionValue"
2242
+ }
2243
+ },
2244
+ "properties": {
2245
+ "description": {
2246
+ "type": "string"
2247
+ },
2248
+ "openIdConnectUrl": {
2249
+ "format": "uri",
2250
+ "type": "string"
2251
+ },
2252
+ "type": {
2253
+ "const": "openIdConnect"
2254
+ }
2255
+ },
2256
+ "required": [
2257
+ "type",
2258
+ "openIdConnectUrl"
2259
+ ],
2260
+ "type": "object"
2261
+ }
2262
+ ]
2263
+ },
2264
+ "securitySchemeMap": {
2265
+ "additionalProperties": {
2266
+ "$ref": "#/$defs/securityScheme"
2267
+ },
2268
+ "minProperties": 1,
2269
+ "propertyNames": {
2270
+ "pattern": "^[A-Za-z0-9._-]+$"
2271
+ },
2272
+ "type": "object"
2273
+ },
2274
+ "specificationExtensionValue": {
2275
+ "$ref": "#/$defs/jsonValue"
2276
+ },
2277
+ "supportedProtocolVersion": {
2278
+ "enum": [
2279
+ "2024-11-05",
2280
+ "2025-03-26",
2281
+ "2025-06-18",
2282
+ "2025-11-25",
2283
+ "2026-07-28"
2284
+ ],
2285
+ "type": "string"
2286
+ },
2287
+ "tag": {
2288
+ "additionalProperties": false,
2289
+ "patternProperties": {
2290
+ "^x-": {
2291
+ "$ref": "#/$defs/specificationExtensionValue"
2292
+ }
2293
+ },
2294
+ "properties": {
2295
+ "description": {
2296
+ "type": "string"
2297
+ },
2298
+ "name": {
2299
+ "minLength": 1,
2300
+ "type": "string"
2301
+ }
2302
+ },
2303
+ "required": [
2304
+ "name"
2305
+ ],
2306
+ "type": "object"
2307
+ },
2308
+ "tool": {
2309
+ "additionalProperties": false,
2310
+ "patternProperties": {
2311
+ "^x-": {
2312
+ "$ref": "#/$defs/specificationExtensionValue"
2313
+ }
2314
+ },
2315
+ "properties": {
2316
+ "_meta": {
2317
+ "$ref": "#/$defs/metaObject"
2318
+ },
2319
+ "annotations": {
2320
+ "$ref": "#/$defs/toolAnnotations"
2321
+ },
2322
+ "clientRequirements": {
2323
+ "$ref": "#/$defs/clientCapabilityRequirements"
2324
+ },
2325
+ "deprecated": {
2326
+ "type": "boolean"
2327
+ },
2328
+ "description": {
2329
+ "type": "string"
2330
+ },
2331
+ "elicitations": {
2332
+ "items": {
2333
+ "$ref": "#/$defs/elicitationDeclaration"
2334
+ },
2335
+ "minItems": 1,
2336
+ "type": "array"
2337
+ },
2338
+ "examples": {
2339
+ "$ref": "#/$defs/toolExamples"
2340
+ },
2341
+ "execution": {
2342
+ "$ref": "#/$defs/execution"
2343
+ },
2344
+ "icons": {
2345
+ "$ref": "#/$defs/icons"
2346
+ },
2347
+ "inputSchema": {
2348
+ "oneOf": [
2349
+ {
2350
+ "$ref": "#/$defs/referenceObject"
2351
+ },
2352
+ {
2353
+ "allOf": [
2354
+ {
2355
+ "$ref": "#/$defs/schemaComponentValue"
2356
+ },
2357
+ {
2358
+ "properties": {
2359
+ "type": {
2360
+ "const": "object"
2361
+ }
2362
+ },
2363
+ "required": [
2364
+ "type"
2365
+ ]
2366
+ }
2367
+ ]
2368
+ }
2369
+ ]
2370
+ },
2371
+ "interactionExamples": {
2372
+ "$ref": "#/$defs/toolInteractionExamples"
2373
+ },
2374
+ "name": {
2375
+ "minLength": 1,
2376
+ "type": "string"
2377
+ },
2378
+ "outputSchema": {
2379
+ "$ref": "#/$defs/schemaComponentValue"
2380
+ },
2381
+ "protocolVersions": {
2382
+ "$ref": "#/$defs/protocolVersionScope"
2383
+ },
2384
+ "security": {
2385
+ "$ref": "#/$defs/securityRequirementArray"
2386
+ },
2387
+ "tags": {
2388
+ "items": {
2389
+ "type": "string"
2390
+ },
2391
+ "minItems": 1,
2392
+ "type": "array",
2393
+ "uniqueItems": true
2394
+ },
2395
+ "title": {
2396
+ "type": "string"
2397
+ }
2398
+ },
2399
+ "required": [
2400
+ "name",
2401
+ "inputSchema"
2402
+ ],
2403
+ "type": "object"
2404
+ },
2405
+ "toolAnnotations": {
2406
+ "additionalProperties": true,
2407
+ "properties": {
2408
+ "destructiveHint": {
2409
+ "type": "boolean"
2410
+ },
2411
+ "idempotentHint": {
2412
+ "type": "boolean"
2413
+ },
2414
+ "openWorldHint": {
2415
+ "type": "boolean"
2416
+ },
2417
+ "readOnlyHint": {
2418
+ "type": "boolean"
2419
+ },
2420
+ "title": {
2421
+ "type": "string"
2422
+ }
2423
+ },
2424
+ "type": "object"
2425
+ },
2426
+ "toolExample": {
2427
+ "additionalProperties": false,
2428
+ "patternProperties": {
2429
+ "^x-": {
2430
+ "$ref": "#/$defs/specificationExtensionValue"
2431
+ }
2432
+ },
2433
+ "properties": {
2434
+ "input": {
2435
+ "additionalProperties": {
2436
+ "$ref": "#/$defs/jsonValue"
2437
+ },
2438
+ "type": "object"
2439
+ },
2440
+ "result": {
2441
+ "$ref": "#/$defs/completedToolResultExample"
2442
+ }
2443
+ },
2444
+ "required": [
2445
+ "input",
2446
+ "result"
2447
+ ],
2448
+ "type": "object"
2449
+ },
2450
+ "toolExamples": {
2451
+ "additionalProperties": {
2452
+ "oneOf": [
2453
+ {
2454
+ "$ref": "#/$defs/referenceObject"
2455
+ },
2456
+ {
2457
+ "$ref": "#/$defs/toolExample"
2458
+ }
2459
+ ]
2460
+ },
2461
+ "minProperties": 1,
2462
+ "propertyNames": {
2463
+ "pattern": "^[A-Za-z0-9._-]+$"
2464
+ },
2465
+ "type": "object"
2466
+ },
2467
+ "toolInteractionElicitationStep": {
2468
+ "additionalProperties": false,
2469
+ "patternProperties": {
2470
+ "^x-": {
2471
+ "$ref": "#/$defs/specificationExtensionValue"
2472
+ }
2473
+ },
2474
+ "properties": {
2475
+ "declaration": {
2476
+ "pattern": "^[A-Za-z0-9._-]+$",
2477
+ "type": "string"
2478
+ },
2479
+ "request": {
2480
+ "$ref": "#/$defs/elicitationInteractionRequest"
2481
+ },
2482
+ "response": {
2483
+ "$ref": "#/$defs/elicitationInteractionResponse"
2484
+ },
2485
+ "type": {
2486
+ "const": "elicitation"
2487
+ }
2488
+ },
2489
+ "required": [
2490
+ "type",
2491
+ "request",
2492
+ "response"
2493
+ ],
2494
+ "type": "object"
2495
+ },
2496
+ "toolInteractionExample": {
2497
+ "additionalProperties": false,
2498
+ "patternProperties": {
2499
+ "^x-": {
2500
+ "$ref": "#/$defs/specificationExtensionValue"
2501
+ }
2502
+ },
2503
+ "properties": {
2504
+ "input": {
2505
+ "additionalProperties": {
2506
+ "$ref": "#/$defs/jsonValue"
2507
+ },
2508
+ "type": "object"
2509
+ },
2510
+ "result": {
2511
+ "$ref": "#/$defs/completedToolResultExample"
2512
+ },
2513
+ "steps": {
2514
+ "items": {
2515
+ "$ref": "#/$defs/toolInteractionStep"
2516
+ },
2517
+ "minItems": 1,
2518
+ "type": "array"
2519
+ }
2520
+ },
2521
+ "required": [
2522
+ "input",
2523
+ "steps",
2524
+ "result"
2525
+ ],
2526
+ "type": "object"
2527
+ },
2528
+ "toolInteractionExamples": {
2529
+ "additionalProperties": {
2530
+ "$ref": "#/$defs/toolInteractionExample"
2531
+ },
2532
+ "minProperties": 1,
2533
+ "propertyNames": {
2534
+ "pattern": "^[A-Za-z0-9._-]+$"
2535
+ },
2536
+ "type": "object"
2537
+ },
2538
+ "toolInteractionRootsStep": {
2539
+ "additionalProperties": false,
2540
+ "patternProperties": {
2541
+ "^x-": {
2542
+ "$ref": "#/$defs/specificationExtensionValue"
2543
+ }
2544
+ },
2545
+ "properties": {
2546
+ "request": {
2547
+ "$ref": "#/$defs/rootsListRequest"
2548
+ },
2549
+ "response": {
2550
+ "$ref": "#/$defs/rootsListResult"
2551
+ },
2552
+ "type": {
2553
+ "const": "roots"
2554
+ }
2555
+ },
2556
+ "required": [
2557
+ "type",
2558
+ "request",
2559
+ "response"
2560
+ ],
2561
+ "type": "object"
2562
+ },
2563
+ "toolInteractionSamplingStep": {
2564
+ "additionalProperties": false,
2565
+ "patternProperties": {
2566
+ "^x-": {
2567
+ "$ref": "#/$defs/specificationExtensionValue"
2568
+ }
2569
+ },
2570
+ "properties": {
2571
+ "request": {
2572
+ "$ref": "#/$defs/samplingCreateMessageRequest"
2573
+ },
2574
+ "response": {
2575
+ "$ref": "#/$defs/samplingCreateMessageResult"
2576
+ },
2577
+ "type": {
2578
+ "const": "sampling"
2579
+ }
2580
+ },
2581
+ "required": [
2582
+ "type",
2583
+ "request",
2584
+ "response"
2585
+ ],
2586
+ "type": "object"
2587
+ },
2588
+ "toolInteractionStep": {
2589
+ "oneOf": [
2590
+ {
2591
+ "$ref": "#/$defs/toolInteractionElicitationStep"
2592
+ },
2593
+ {
2594
+ "$ref": "#/$defs/toolInteractionSamplingStep"
2595
+ },
2596
+ {
2597
+ "$ref": "#/$defs/toolInteractionRootsStep"
2598
+ }
2599
+ ]
2600
+ },
2601
+ "toolResultContent": {
2602
+ "oneOf": [
2603
+ {
2604
+ "additionalProperties": false,
2605
+ "properties": {
2606
+ "_meta": {
2607
+ "$ref": "#/$defs/metaObject"
2608
+ },
2609
+ "annotations": {
2610
+ "$ref": "#/$defs/resourceAnnotations"
2611
+ },
2612
+ "text": {
2613
+ "type": "string"
2614
+ },
2615
+ "type": {
2616
+ "const": "text"
2617
+ }
2618
+ },
2619
+ "required": [
2620
+ "type",
2621
+ "text"
2622
+ ],
2623
+ "type": "object"
2624
+ },
2625
+ {
2626
+ "additionalProperties": false,
2627
+ "properties": {
2628
+ "_meta": {
2629
+ "$ref": "#/$defs/metaObject"
2630
+ },
2631
+ "annotations": {
2632
+ "$ref": "#/$defs/resourceAnnotations"
2633
+ },
2634
+ "data": {
2635
+ "type": "string"
2636
+ },
2637
+ "mimeType": {
2638
+ "type": "string"
2639
+ },
2640
+ "type": {
2641
+ "enum": [
2642
+ "image",
2643
+ "audio"
2644
+ ]
2645
+ }
2646
+ },
2647
+ "required": [
2648
+ "type",
2649
+ "data",
2650
+ "mimeType"
2651
+ ],
2652
+ "type": "object"
2653
+ },
2654
+ {
2655
+ "additionalProperties": false,
2656
+ "properties": {
2657
+ "_meta": {
2658
+ "$ref": "#/$defs/metaObject"
2659
+ },
2660
+ "annotations": {
2661
+ "$ref": "#/$defs/resourceAnnotations"
2662
+ },
2663
+ "resource": {
2664
+ "$ref": "#/$defs/resourceContents"
2665
+ },
2666
+ "type": {
2667
+ "const": "resource"
2668
+ }
2669
+ },
2670
+ "required": [
2671
+ "type",
2672
+ "resource"
2673
+ ],
2674
+ "type": "object"
2675
+ },
2676
+ {
2677
+ "additionalProperties": false,
2678
+ "properties": {
2679
+ "_meta": {
2680
+ "$ref": "#/$defs/metaObject"
2681
+ },
2682
+ "annotations": {
2683
+ "$ref": "#/$defs/resourceAnnotations"
2684
+ },
2685
+ "description": {
2686
+ "type": "string"
2687
+ },
2688
+ "icons": {
2689
+ "$ref": "#/$defs/icons"
2690
+ },
2691
+ "mimeType": {
2692
+ "type": "string"
2693
+ },
2694
+ "name": {
2695
+ "type": "string"
2696
+ },
2697
+ "size": {
2698
+ "type": "number"
2699
+ },
2700
+ "title": {
2701
+ "type": "string"
2702
+ },
2703
+ "type": {
2704
+ "const": "resource_link"
2705
+ },
2706
+ "uri": {
2707
+ "format": "uri",
2708
+ "type": "string"
2709
+ }
2710
+ },
2711
+ "required": [
2712
+ "type",
2713
+ "uri",
2714
+ "name"
2715
+ ],
2716
+ "type": "object"
2717
+ }
2718
+ ]
2719
+ },
2720
+ "transport": {
2721
+ "oneOf": [
2722
+ {
2723
+ "additionalProperties": false,
2724
+ "patternProperties": {
2725
+ "^x-": {
2726
+ "$ref": "#/$defs/specificationExtensionValue"
2727
+ }
2728
+ },
2729
+ "properties": {
2730
+ "protocolVersions": {
2731
+ "$ref": "#/$defs/protocolVersionScope"
2732
+ },
2733
+ "security": {
2734
+ "$ref": "#/$defs/securityRequirementArray"
2735
+ },
2736
+ "type": {
2737
+ "const": "streamable-http"
2738
+ },
2739
+ "url": {
2740
+ "format": "uri",
2741
+ "type": "string"
2742
+ }
2743
+ },
2744
+ "required": [
2745
+ "type",
2746
+ "url"
2747
+ ],
2748
+ "type": "object"
2749
+ },
2750
+ {
2751
+ "additionalProperties": false,
2752
+ "patternProperties": {
2753
+ "^x-": {
2754
+ "$ref": "#/$defs/specificationExtensionValue"
2755
+ }
2756
+ },
2757
+ "properties": {
2758
+ "args": {
2759
+ "items": {
2760
+ "type": "string"
2761
+ },
2762
+ "type": "array"
2763
+ },
2764
+ "command": {
2765
+ "type": "string"
2766
+ },
2767
+ "env": {
2768
+ "additionalProperties": {
2769
+ "type": "string"
2770
+ },
2771
+ "type": "object"
2772
+ },
2773
+ "protocolVersions": {
2774
+ "$ref": "#/$defs/protocolVersionScope"
2775
+ },
2776
+ "security": {
2777
+ "$ref": "#/$defs/securityRequirementArray"
2778
+ },
2779
+ "type": {
2780
+ "const": "stdio"
2781
+ }
2782
+ },
2783
+ "required": [
2784
+ "type",
2785
+ "command"
2786
+ ],
2787
+ "type": "object"
2788
+ },
2789
+ {
2790
+ "additionalProperties": false,
2791
+ "patternProperties": {
2792
+ "^x-": {
2793
+ "$ref": "#/$defs/specificationExtensionValue"
2794
+ }
2795
+ },
2796
+ "properties": {
2797
+ "protocolVersions": {
2798
+ "$ref": "#/$defs/protocolVersionScope"
2799
+ },
2800
+ "security": {
2801
+ "$ref": "#/$defs/securityRequirementArray"
2802
+ },
2803
+ "type": {
2804
+ "const": "sse"
2805
+ },
2806
+ "url": {
2807
+ "format": "uri",
2808
+ "type": "string"
2809
+ }
2810
+ },
2811
+ "required": [
2812
+ "type",
2813
+ "url"
2814
+ ],
2815
+ "type": "object"
2816
+ }
2817
+ ]
2818
+ }
2819
+ }
2820
+ }