parent
4b8df6638e
commit
e5abb4bb8e
1 changed files with 262 additions and 8 deletions
22
src/mcpdotnet/Protocol/Types/Root.cs
Normal file
22
src/mcpdotnet/Protocol/Types/Root.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
namespace McpDotNet.Protocol.Types;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a root URI and its metadata.
|
||||
/// </summary>
|
||||
public class Root
|
||||
{
|
||||
/// <summary>
|
||||
/// The URI of the root.
|
||||
/// </summary>
|
||||
public required string Uri { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// A human-readable name for the root.
|
||||
/// </summary>
|
||||
public string? Name { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Additional metadata for the root. Reserved by the protocol for future use.
|
||||
/// </summary>
|
||||
public object? Meta { get; init; }
|
||||
}
|
||||
Loading…
Reference in a new issue