using System.Text.Json.Serialization;
namespace ModelContextProtocol.Protocol;
/// Provides a base interface for metadata with name (identifier) and title (display name) properties.
public interface IBaseMetadata
{
///
/// Gets or sets the unique identifier for this item.
///
[JsonPropertyName("name")]
string Name { get; set; }
///
/// Gets or sets a title.
///
///
/// This is intended for UI and end-user contexts. It is optimized to be human-readable and easily understood,
/// even by those unfamiliar with domain-specific terminology.
/// If not provided, can be used for display (except for tools, where , if present,
/// should be given precedence over using ).
///
[JsonPropertyName("title")]
string? Title { get; set; }
}