@@ -242,7 +242,7 @@ export const CancelledNotificationParamsSchema = NotificationParamsSchema.extend
242242 *
243243 * @category `notifications/cancelled`
244244 */
245- export const CancelledNotificationSchema = JSONRPCNotificationSchema . extend ( {
245+ export const CancelledNotificationSchema = NotificationSchema . extend ( {
246246 method : z . literal ( 'notifications/cancelled' ) ,
247247 params : CancelledNotificationParamsSchema
248248} ) ;
@@ -504,7 +504,7 @@ export const ServerCapabilitiesSchema = z.object({
504504 *
505505 * @category `notifications/initialized`
506506 */
507- export const InitializedNotificationSchema = JSONRPCNotificationSchema . extend ( {
507+ export const InitializedNotificationSchema = NotificationSchema . extend ( {
508508 method : z . literal ( 'notifications/initialized' ) ,
509509 params : NotificationParamsSchema . optional ( )
510510} ) ;
@@ -672,7 +672,7 @@ export const ImplementationSchema = BaseMetadataSchema.extend(IconsSchema.shape)
672672 *
673673 * @category `ping`
674674 */
675- export const PingRequestSchema = JSONRPCRequestSchema . extend ( {
675+ export const PingRequestSchema = RequestSchema . extend ( {
676676 method : z . literal ( 'ping' ) ,
677677 params : RequestParamsSchema . optional ( )
678678} ) ;
@@ -719,7 +719,7 @@ export const ProgressNotificationParamsSchema = NotificationParamsSchema.extend(
719719 *
720720 * @category `notifications/progress`
721721 */
722- export const ProgressNotificationSchema = JSONRPCNotificationSchema . extend ( {
722+ export const ProgressNotificationSchema = NotificationSchema . extend ( {
723723 method : z . literal ( 'notifications/progress' ) ,
724724 params : ProgressNotificationParamsSchema
725725} ) ;
@@ -811,7 +811,7 @@ export const ReadResourceRequestParamsSchema = ResourceRequestParamsSchema;
811811 *
812812 * @category `resources/read`
813813 */
814- export const ReadResourceRequestSchema = JSONRPCRequestSchema . extend ( {
814+ export const ReadResourceRequestSchema = RequestSchema . extend ( {
815815 method : z . literal ( 'resources/read' ) ,
816816 params : ReadResourceRequestParamsSchema
817817} ) ;
@@ -822,7 +822,7 @@ export const ReadResourceRequestSchema = JSONRPCRequestSchema.extend({
822822 *
823823 * @category `notifications/resources/list_changed`
824824 */
825- export const ResourceListChangedNotificationSchema = JSONRPCNotificationSchema . extend ( {
825+ export const ResourceListChangedNotificationSchema = NotificationSchema . extend ( {
826826 method : z . literal ( 'notifications/resources/list_changed' ) ,
827827 params : NotificationParamsSchema . optional ( )
828828} ) ;
@@ -842,7 +842,7 @@ export const SubscribeRequestParamsSchema = ResourceRequestParamsSchema;
842842 *
843843 * @category `resources/subscribe`
844844 */
845- export const SubscribeRequestSchema = JSONRPCRequestSchema . extend ( {
845+ export const SubscribeRequestSchema = RequestSchema . extend ( {
846846 method : z . literal ( 'resources/subscribe' ) ,
847847 params : SubscribeRequestParamsSchema
848848} ) ;
@@ -862,7 +862,7 @@ export const UnsubscribeRequestParamsSchema = ResourceRequestParamsSchema;
862862 *
863863 * @category `resources/unsubscribe`
864864 */
865- export const UnsubscribeRequestSchema = JSONRPCRequestSchema . extend ( {
865+ export const UnsubscribeRequestSchema = RequestSchema . extend ( {
866866 method : z . literal ( 'resources/unsubscribe' ) ,
867867 params : UnsubscribeRequestParamsSchema
868868} ) ;
@@ -893,7 +893,7 @@ export const ResourceUpdatedNotificationParamsSchema = NotificationParamsSchema.
893893 *
894894 * @category `notifications/resources/updated`
895895 */
896- export const ResourceUpdatedNotificationSchema = JSONRPCNotificationSchema . extend ( {
896+ export const ResourceUpdatedNotificationSchema = NotificationSchema . extend ( {
897897 method : z . literal ( 'notifications/resources/updated' ) ,
898898 params : ResourceUpdatedNotificationParamsSchema
899899} ) ;
@@ -989,7 +989,7 @@ export const GetPromptRequestParamsSchema = RequestParamsSchema.extend({
989989 *
990990 * @category `prompts/get`
991991 */
992- export const GetPromptRequestSchema = JSONRPCRequestSchema . extend ( {
992+ export const GetPromptRequestSchema = RequestSchema . extend ( {
993993 method : z . literal ( 'prompts/get' ) ,
994994 params : GetPromptRequestParamsSchema
995995} ) ;
@@ -1085,7 +1085,7 @@ export const AnnotationsSchema = z.object({
10851085 *
10861086 * @category `notifications/prompts/list_changed`
10871087 */
1088- export const PromptListChangedNotificationSchema = JSONRPCNotificationSchema . extend ( {
1088+ export const PromptListChangedNotificationSchema = NotificationSchema . extend ( {
10891089 method : z . literal ( 'notifications/prompts/list_changed' ) ,
10901090 params : NotificationParamsSchema . optional ( )
10911091} ) ;
@@ -1147,7 +1147,7 @@ export const CallToolRequestParamsSchema = TaskAugmentedRequestParamsSchema.exte
11471147 *
11481148 * @category `notifications/tools/list_changed`
11491149 */
1150- export const ToolListChangedNotificationSchema = JSONRPCNotificationSchema . extend ( {
1150+ export const ToolListChangedNotificationSchema = NotificationSchema . extend ( {
11511151 method : z . literal ( 'notifications/tools/list_changed' ) ,
11521152 params : NotificationParamsSchema . optional ( )
11531153} ) ;
@@ -1421,7 +1421,7 @@ export const CreateTaskResultSchema = ResultSchema.extend({
14211421 *
14221422 * @category `tasks/get`
14231423 */
1424- export const GetTaskRequestSchema = JSONRPCRequestSchema . extend ( {
1424+ export const GetTaskRequestSchema = RequestSchema . extend ( {
14251425 method : z . literal ( 'tasks/get' ) ,
14261426 params : z . object ( {
14271427 /**
@@ -1446,7 +1446,7 @@ export const GetTaskResultSchema = ResultSchema.and(TaskSchema).describe('The re
14461446 *
14471447 * @category `tasks/result`
14481448 */
1449- export const GetTaskPayloadRequestSchema = JSONRPCRequestSchema . extend ( {
1449+ export const GetTaskPayloadRequestSchema = RequestSchema . extend ( {
14501450 method : z . literal ( 'tasks/result' ) ,
14511451 params : z . object ( {
14521452 /**
@@ -1473,7 +1473,7 @@ export const GetTaskPayloadResultSchema = ResultSchema.and(z.record(z.string(),
14731473 *
14741474 * @category `tasks/cancel`
14751475 */
1476- export const CancelTaskRequestSchema = JSONRPCRequestSchema . extend ( {
1476+ export const CancelTaskRequestSchema = RequestSchema . extend ( {
14771477 method : z . literal ( 'tasks/cancel' ) ,
14781478 params : z . object ( {
14791479 /**
@@ -1528,7 +1528,7 @@ export const TaskStatusNotificationParamsSchema = NotificationParamsSchema.and(T
15281528 *
15291529 * @category `notifications/tasks/status`
15301530 */
1531- export const TaskStatusNotificationSchema = JSONRPCNotificationSchema . extend ( {
1531+ export const TaskStatusNotificationSchema = NotificationSchema . extend ( {
15321532 method : z . literal ( 'notifications/tasks/status' ) ,
15331533 params : TaskStatusNotificationParamsSchema
15341534} ) ;
@@ -1604,7 +1604,7 @@ export const LoggingMessageNotificationParamsSchema = NotificationParamsSchema.e
16041604 *
16051605 * @category `notifications/message`
16061606 */
1607- export const LoggingMessageNotificationSchema = JSONRPCNotificationSchema . extend ( {
1607+ export const LoggingMessageNotificationSchema = NotificationSchema . extend ( {
16081608 method : z . literal ( 'notifications/message' ) ,
16091609 params : LoggingMessageNotificationParamsSchema
16101610} ) ;
@@ -1947,7 +1947,7 @@ export const CompleteResultSchema = ResultSchema.extend({
19471947 *
19481948 * @category `roots/list`
19491949 */
1950- export const ListRootsRequestSchema = JSONRPCRequestSchema . extend ( {
1950+ export const ListRootsRequestSchema = RequestSchema . extend ( {
19511951 method : z . literal ( 'roots/list' ) ,
19521952 params : RequestParamsSchema . optional ( )
19531953} ) ;
@@ -2002,7 +2002,7 @@ export const RootSchema = z.object({
20022002 *
20032003 * @category `notifications/roots/list_changed`
20042004 */
2005- export const RootsListChangedNotificationSchema = JSONRPCNotificationSchema . extend ( {
2005+ export const RootsListChangedNotificationSchema = NotificationSchema . extend ( {
20062006 method : z . literal ( 'notifications/roots/list_changed' ) ,
20072007 params : NotificationParamsSchema . optional ( )
20082008} ) ;
@@ -2346,7 +2346,7 @@ export const ElicitResultSchema = ResultSchema.extend({
23462346 *
23472347 * @category `notifications/elicitation/complete`
23482348 */
2349- export const ElicitationCompleteNotificationSchema = JSONRPCNotificationSchema . extend ( {
2349+ export const ElicitationCompleteNotificationSchema = NotificationSchema . extend ( {
23502350 method : z . literal ( 'notifications/elicitation/complete' ) ,
23512351 params : z . object ( {
23522352 /**
@@ -2363,7 +2363,7 @@ export const ElicitationCompleteNotificationSchema = JSONRPCNotificationSchema.e
23632363 *
23642364 * @category `completion/complete`
23652365 */
2366- export const CompleteRequestSchema = JSONRPCRequestSchema . extend ( {
2366+ export const CompleteRequestSchema = RequestSchema . extend ( {
23672367 method : z . literal ( 'completion/complete' ) ,
23682368 params : CompleteRequestParamsSchema
23692369} ) ;
@@ -2374,7 +2374,7 @@ export const CompleteRequestSchema = JSONRPCRequestSchema.extend({
23742374 *
23752375 * @category `logging/setLevel`
23762376 */
2377- export const SetLevelRequestSchema = JSONRPCRequestSchema . extend ( {
2377+ export const SetLevelRequestSchema = RequestSchema . extend ( {
23782378 method : z . literal ( 'logging/setLevel' ) ,
23792379 params : SetLevelRequestParamsSchema
23802380} ) ;
@@ -2385,7 +2385,7 @@ export const SetLevelRequestSchema = JSONRPCRequestSchema.extend({
23852385 *
23862386 * @category `tools/call`
23872387 */
2388- export const CallToolRequestSchema = JSONRPCRequestSchema . extend ( {
2388+ export const CallToolRequestSchema = RequestSchema . extend ( {
23892389 method : z . literal ( 'tools/call' ) ,
23902390 params : CallToolRequestParamsSchema
23912391} ) ;
@@ -2543,7 +2543,7 @@ export const InitializeRequestParamsSchema = RequestParamsSchema.extend({
25432543 *
25442544 * @category `initialize`
25452545 */
2546- export const InitializeRequestSchema = JSONRPCRequestSchema . extend ( {
2546+ export const InitializeRequestSchema = RequestSchema . extend ( {
25472547 method : z . literal ( 'initialize' ) ,
25482548 params : InitializeRequestParamsSchema
25492549} ) ;
@@ -2944,7 +2944,7 @@ export const ClientRequestSchema = z.union([
29442944 *
29452945 * @category `elicitation/create`
29462946 */
2947- export const ElicitRequestSchema = JSONRPCRequestSchema . extend ( {
2947+ export const ElicitRequestSchema = RequestSchema . extend ( {
29482948 method : z . literal ( 'elicitation/create' ) ,
29492949 params : ElicitRequestParamsSchema
29502950} ) ;
@@ -3214,7 +3214,7 @@ export const ClientResultSchema = z.union([
32143214 *
32153215 * @category `sampling/createMessage`
32163216 */
3217- export const CreateMessageRequestSchema = JSONRPCRequestSchema . extend ( {
3217+ export const CreateMessageRequestSchema = RequestSchema . extend ( {
32183218 method : z . literal ( 'sampling/createMessage' ) ,
32193219 params : CreateMessageRequestParamsSchema
32203220} ) ;
0 commit comments