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:
parent
9941294df9
commit
54303b4f8c
1 changed files with 10 additions and 1 deletions
11
src/types.ts
11
src/types.ts
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue