Add optional description field to Implementation schema (#1295)

Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: Konstantin Konstantinov <konstantin@mach5technology.com>
This commit is contained in:
Henry Mao 2025-12-15 23:58:03 +08:00 • committed by GitHub
commit 54303b4f8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -329,7 +329,16 @@ export const ImplementationSchema = BaseMetadataSchema.extend({
/**
* An optional URL of the website for this implementation.
*/
websiteUrl: z.string().optional()
websiteUrl: z.string().optional(),
/**
* An optional human-readable description of what this implementation does.
*
* This can be used by clients or servers to provide context about their purpose
* and capabilities. For example, a server might describe the types of resources
* or tools it provides, while a client might describe its intended use case.
*/
description: z.string().optional()
});
const FormElicitationCapabilitySchema = z.intersection(