File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,15 @@ export const IconSchema = z.object({
315315 *
316316 * If not provided, the client should assume that the icon can be used at any size.
317317 */
318- sizes : z . array ( z . string ( ) ) . optional ( )
318+ sizes : z . array ( z . string ( ) ) . optional ( ) ,
319+ /**
320+ * Optional specifier for the theme this icon is designed for. `light` indicates
321+ * the icon is designed to be used with a light background, and `dark` indicates
322+ * the icon is designed to be used with a dark background.
323+ *
324+ * If not provided, the client should assume the icon can be used with any theme.
325+ */
326+ theme : z . enum ( [ 'light' , 'dark' ] ) . optional ( )
319327} ) ;
320328
321329/**
@@ -365,7 +373,16 @@ export const ImplementationSchema = BaseMetadataSchema.extend({
365373 /**
366374 * An optional URL of the website for this implementation.
367375 */
368- websiteUrl : z . string ( ) . optional ( )
376+ websiteUrl : z . string ( ) . optional ( ) ,
377+
378+ /**
379+ * An optional human-readable description of what this implementation does.
380+ *
381+ * This can be used by clients or servers to provide context about their purpose
382+ * and capabilities. For example, a server might describe the types of resources
383+ * or tools it provides, while a client might describe its intended use case.
384+ */
385+ description : z . string ( ) . optional ( )
369386} ) ;
370387
371388const FormElicitationCapabilitySchema = z . intersection (
You can’t perform that action at this time.
0 commit comments