Rename project and namespaces
This commit is contained in:
parent
e7fa6194f6
commit
c9ed453745
1 changed files with 426 additions and 918 deletions
|
|
@ -0,0 +1,40 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace ModelContextProtocol.Protocol.Types;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the capabilities that a server may support.
|
||||
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
|
||||
/// </summary>
|
||||
public record ServerCapabilities
|
||||
{
|
||||
/// <summary>
|
||||
/// Experimental, non-standard capabilities that the server supports.
|
||||
/// </summary>
|
||||
[JsonPropertyName("experimental")]
|
||||
public Dictionary<string, object>? Experimental { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Present if the server supports sending log messages to the client.
|
||||
/// </summary>
|
||||
[JsonPropertyName("logging")]
|
||||
public LoggingCapability? Logging { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Present if the server offers any prompt templates.
|
||||
/// </summary>
|
||||
[JsonPropertyName("prompts")]
|
||||
public PromptsCapability? Prompts { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Present if the server offers any resources to read.
|
||||
/// </summary>
|
||||
[JsonPropertyName("resources")]
|
||||
public ResourcesCapability? Resources { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Present if the server offers any tools to call.
|
||||
/// </summary>
|
||||
[JsonPropertyName("tools")]
|
||||
public ToolsCapability? Tools { get; init; }
|
||||
}
|
||||
Loading…
Reference in a new issue