namespace ModelContextProtocol.Protocol.Messages;
///
/// Provides names for request methods used in the Model Context Protocol (MCP).
///
public static class RequestMethods
{
///
/// Sent from the client to request a list of tools the server has.
///
public const string ToolsList = "tools/list";
///
/// Used by the client to invoke a tool provided by the server.
///
public const string ToolsCall = "tools/call";
///
/// Sent from the client to request a list of prompts and prompt templates the server has.
///
public const string PromptsList = "prompts/list";
///
/// Used by the client to get a prompt provided by the server.
///
public const string PromptsGet = "prompts/get";
///
/// Sent from the client to request a list of resources the server has.
///
public const string ResourcesList = "resources/list";
///
/// Sent from the client to the server, to read a specific resource URI.
///
public const string ResourcesRead = "resources/read";
///
/// Sent from the client to request a list of resource templates the server has.
///
public const string ResourcesTemplatesList = "resources/templates/list";
///
/// Sent from the client to request resources/updated notifications from the server whenever a particular resource changes.
///
public const string ResourcesSubscribe = "resources/subscribe";
///
/// Sent from the client to request cancellation of resources/updated notifications from the server.
///
public const string ResourcesUnsubscribe = "resources/unsubscribe";
///
/// Sent from the server to request a list of root URIs from the client.
///
public const string RootsList = "roots/list";
///
/// A ping, issued by either the server or the client, to check that the other party is still alive.
///
public const string Ping = "ping";
///
/// A request from the client to the server, to enable or adjust logging.
///
public const string LoggingSetLevel = "logging/setLevel";
///
/// A request from the client to the server, to ask for completion options.
///
public const string CompletionComplete = "completion/complete";
///
/// A request from the server to sample an LLM via the client.
///
public const string SamplingCreateMessage = "sampling/createMessage";
///
/// This request is sent from the client to the server when it first connects, asking it to begin initialization.
///
public const string Initialize = "initialize";
}