Variable ResourceUpdatedNotificationSchemaConst
ResourceUpdatedNotificationSchema: ZodObject<
extendShape<
{
method: ZodString;
params: ZodOptional<
ZodObject<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
ZodTypeAny,
"passthrough",
>,
>,
>;
},
{
method: ZodLiteral<"notifications/resources/updated">;
params: ZodObject<
extendShape<
{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
{ uri: ZodString },
>,
"strip",
ZodTypeAny,
{ _meta?: Record<string, unknown>; uri: string },
{ _meta?: Record<string, unknown>; uri: string },
>;
},
>,
"strip",
ZodTypeAny,
{
method: "notifications/resources/updated";
params: { _meta?: Record<string, unknown>; uri: string };
},
{
method: "notifications/resources/updated";
params: { _meta?: Record<string, unknown>; uri: string };
},
> = ...
A notification from the server to the client, informing it that a resource has changed and may need to be read again. This should only be sent if the client previously sent a resources/subscribe request.