forked from modelcontextprotocol/csharp-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNotificationMethods.cs
37 lines (31 loc) · 1.26 KB
/
NotificationMethods.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
namespace ModelContextProtocol.Protocol.Messages;
/// <summary>
/// A class containing constants for notification methods.
/// </summary>
public static class NotificationMethods
{
/// <summary>
/// Sent by the server when the list of tools changes.
/// </summary>
public const string ToolListChangedNotification = "notifications/tools/list_changed";
/// <summary>
/// Sent by the server when the list of prompts changes.
/// </summary>
public const string PromptsListChanged = "notifications/prompts/list_changed";
/// <summary>
/// Sent by the server when the list of resources changes.
/// </summary>
public const string ResourceListChangedNotification = "notifications/resources/list_changed";
/// <summary>
/// Sent by the server when a resource is updated.
/// </summary>
public const string ResourceUpdatedNotification = "notifications/resources/updated";
/// <summary>
/// Sent by the client when roots have been updated.
/// </summary>
public const string RootsUpdatedNotification = "notifications/roots/list_changed";
/// <summary>
/// Sent by the server when a log message is generated.
/// </summary>
public const string LoggingMessageNotification = "notifications/message";
}