parent
85cefc23ff
commit
c9ace236a0
1 changed files with 864 additions and 274 deletions
27
src/mcpdotnet/Protocol/Messages/NotificationMethods.cs
Normal file
27
src/mcpdotnet/Protocol/Messages/NotificationMethods.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
namespace McpDotNet.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";
|
||||
}
|
||||
Loading…
Reference in a new issue