SubscriptionFilter

The set of change-notification types a draft client opts into when opening a subscriptions/listen stream (draft basic/utilities/subscriptions). The three list-changed booleans request notifications/tools|prompts|resources/list_changed; resourceSubscriptions lists the resource URIs the client wants notifications/resources/updated for. This is serialised under params.notifications (a SubscriptionFilter) by subscriptionsListen.

Members

Variables

promptsListChanged
bool promptsListChanged;

Opt into notifications/prompts/list_changed.

resourceSubscriptions
string[] resourceSubscriptions;

Resource URIs to receive notifications/resources/updated for.

resourcesListChanged
bool resourcesListChanged;

Opt into notifications/resources/list_changed.

toolsListChanged
bool toolsListChanged;

Opt into notifications/tools/list_changed.