Skip to content

Commit 54303b4

Browse files
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>
1 parent 9941294 commit 54303b4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/types.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,16 @@ export const ImplementationSchema = BaseMetadataSchema.extend({
329329
/**
330330
* An optional URL of the website for this implementation.
331331
*/
332-
websiteUrl: z.string().optional()
332+
websiteUrl: z.string().optional(),
333+
334+
/**
335+
* An optional human-readable description of what this implementation does.
336+
*
337+
* This can be used by clients or servers to provide context about their purpose
338+
* and capabilities. For example, a server might describe the types of resources
339+
* or tools it provides, while a client might describe its intended use case.
340+
*/
341+
description: z.string().optional()
333342
});
334343

335344
const FormElicitationCapabilitySchema = z.intersection(

0 commit comments

Comments
 (0)