Table of Contents

Class ResourceUpdatedNotificationParams

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Represents the parameters used with a ResourceUpdatedNotification notification sent whenever a subscribed resource changes.

public class ResourceUpdatedNotificationParams
Inheritance
ResourceUpdatedNotificationParams
Inherited Members

Remarks

When a client subscribes to resource updates using SubscribeRequestParams, the server will send notifications with this payload whenever the subscribed resource is modified. These notifications allow clients to maintain synchronized state without needing to poll the server for changes.

See the schema for details.

Properties

Uri

Gets or sets the URI of the resource that was updated.

[JsonPropertyName("uri")]
public string? Uri { get; init; }

Property Value

string

Remarks

The URI can use any protocol; it is up to the server how to interpret it.