File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -435,6 +435,10 @@ export const ResourceContentsSchema = z
435
435
* The MIME type of this resource, if known.
436
436
*/
437
437
mimeType : z . optional ( z . string ( ) ) ,
438
+ /**
439
+ * Reserved by MCP for protocol-level metadata; implementations must not make assumptions about its contents.
440
+ */
441
+ _meta : z . optional ( z . object ( { } ) . passthrough ( ) ) ,
438
442
} )
439
443
. passthrough ( ) ;
440
444
@@ -637,6 +641,10 @@ export const PromptSchema = BaseMetadataSchema.extend({
637
641
* A list of arguments to use for templating the prompt.
638
642
*/
639
643
arguments : z . optional ( z . array ( PromptArgumentSchema ) ) ,
644
+ /**
645
+ * Reserved by MCP for protocol-level metadata; implementations must not make assumptions about its contents.
646
+ */
647
+ _meta : z . optional ( z . object ( { } ) . passthrough ( ) ) ,
640
648
} ) ;
641
649
642
650
/**
@@ -739,6 +747,10 @@ export const EmbeddedResourceSchema = z
739
747
. object ( {
740
748
type : z . literal ( "resource" ) ,
741
749
resource : z . union ( [ TextResourceContentsSchema , BlobResourceContentsSchema ] ) ,
750
+ /**
751
+ * Reserved by MCP for protocol-level metadata; implementations must not make assumptions about its contents.
752
+ */
753
+ _meta : z . optional ( z . object ( { } ) . passthrough ( ) ) ,
742
754
} )
743
755
. passthrough ( ) ;
744
756
You can’t perform that action at this time.
0 commit comments