csharp-sdk/src/mcpdotnet/Protocol/Messages/NotificationMethods.cs
Peder Holdgaard Pedersen c9ace236a0
Resource capability (#5)
Prompt capability
Pagination support
2025-01-04 19:39:22 +01:00

27 lines
No EOL
923 B
C#

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";
}